#15268Display nav_title in navigation tree
Description
This issue applied to all versions of Typo3. To summurize the problem: When creating a new page of type “Advanced”, we are proposed to create a title and a nav_title. This is great for search engine optimisation, and we often end up with large title which are not comprehensible when displayed in the navigation tree of the backend. The correct behavior would be to display the nav_title by default, and if not defined, the title. This is fixed in t3lib_treeview by replacing 2 lines:
line 173:
var $fieldArray = Array(‘uid’,‘nav_title’,‘title’);
line 675:
$title = (strcmp(trim($row[‘nav_title’]),’‘)) ? htmlspecialchars(t3lib_div::fixed_lgd_cs($row[‘nav_title’],$titleLen)) : ( (strcmp(trim($row[‘title’]),’‘)) ? htmlspecialchars(t3lib_div::fixed_lgd_cs($row[‘title’],$titleLen)) : ‘[‘.$GLOBALS[‘LANG’]->sL(‘LLL:EXT:lang/locallang_core.php:labels.no_title’,1).’]‘ );
(issue imported from #M2017)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.