Actions
Bug #16843
closedH/TMENU crop is hardcoded in tslib_menu.php
Start date:
2007-01-09
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
5
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
When making anH/TMENU all link descriptions are cropped after 32 chars. This is not understandable and very annoying, because it is hardcoded in tslib/class.tslib_menu.php Line 1441 function writeMenu()
I think it would be better to make this variable (+++) configurable by Typoscript, name it s.th. like: 'maxLinkDescrChars' and everybody would be happy.
=)
// Erdal Demirtas - begin
$linkDesc = $this->menuArr[$key]['title'];
if (strlen($linkDesc) > 32) {
$linkDesc = substr($this->menuArr[$key]['title'], 0, +++ );
}
(issue imported from #M4757)
Actions