Issue Bug Closed

#16843H/TMENU crop is hardcoded in tslib_menu.php

Christian Schnetter 01/09/07, 15:20 updated 03/13/07, 15:26

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.