Bug #19967
closedtypolink: title tag generation not correctly working, if in the title-tag string is an occurance of whitespaces
0%
Description
If you want to have a title-tag, you can do this with the linkwizard very nice and easy.
But if you need whitespaces, you have to wrap the whole title-string manually with quotes. Otherwise only the first single word will be used for the title.
With and without quotes, the functionality of the linkwizard is handicapped, as on the second call only the first word of the title-string will be remembered.
(issue imported from #M10349)
Files
Updated by Frank Roeske over 15 years ago
We had the same Problem and I think, I found the Issues in the files class.browse_links.php and class.tslib_content.php
The Image-Definition is exploded at whitespaces and then it is combined again in the following way (class.browse_links.php):
$initialCurUrlArray = array (
'href' => $currentLinkParts0,
'target' => $currentLinkParts1,
'class' => $currentLinkParts2,
'title' => $currentLinkParts3,
);
Problem here is, in $currentLinkParts3 there is only the first Part of the desired title. In class.tslib_content.php there is a similar Problem.
If you use 'title' => ,implode(' ', array_slice($currentLinkParts, 3)) everything works fine.
I appended a Patch fixing this issue in class.browse_links.php and class.tslib_content.php.
Kind regards,
Frank Röske
I appended a patch
Updated by Stanislas Rolland over 15 years ago
Please test patch attached to issue #20142 (applicable to current SVN trunk)
Updated by Frank Roeske over 15 years ago
the patch from issue 0010629 seems also applyable to typo3_src-4.2.6 and it seems, it solves this problem.
As 0010629 is for TYPO3 4.3, will it included in the next 4.2 release too?
And sorry for the patch I appended, i recognized too late, that it was not really complete ...