[TYPO3-core] RFC: #11006: Bug: Tooltip for page path in Page/List module is missing

Martin Kutschker masi-no at spam-typo3.org
Thu Apr 30 18:15:08 CEST 2009


Steffen Gebert schrieb:
> Hi all,
> 
> this is a SVN patch request.
> 
> Type: Bugfix
> 
> BT Reference: http://bugs.typo3.org/view.php?id=11006
> 
> Branches: 4_2, trunk
> 
> Problem:
> If a page has a very long path, the path string in the docHeader is cropped 
> (only last 50 chars of the title are displayed).
> Furthermore every single page title of the path is cropped after don't know 
> how many chars.
> This is annoying if you want to know the whole path of the current page and 
> have a very long path (e.g. if you access a page deep in the tree directly 
> by ID and have no idea, where you are).
> 
> Solution:
> Add an <abbr> tag with the full path. 

If $title equals $fullPath it will be cropped at 50 chars without a
tooltip. Perhaps the tooltip feature can be moved to the cropping
function to handle the situation more easily. Either in t3lib_div or
perhaps directly into t3lib_cs.

Masi


More information about the TYPO3-team-core mailing list