Project

General

Profile

Actions

Bug #15268

closed

Display nav_title in navigation tree

Added by David Worms over 18 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2005-12-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
3.9-dev
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)) : '<em>['.$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.no_title',1).']</em>' );

(issue imported from #M2017)


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Feature #16477: Navigation title in tree viewClosedThomas Hempel2006-08-18

Actions
Actions

Also available in: Atom PDF