Project

General

Profile

Actions

Bug #19967

closed

typolink: title tag generation not correctly working, if in the title-tag string is an occurance of whitespaces

Added by Clemens Riccabona almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-02-04
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

0010349.patch (515 Bytes) 0010349.patch Administrator Admin, 2009-03-06 12:24

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #20142: class and title parameters of typolinks get brokenClosedStanislas Rolland2009-03-06

Actions
Actions #1

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

Actions #2

Updated by Stanislas Rolland over 15 years ago

Please test patch attached to issue #20142 (applicable to current SVN trunk)

Actions #3

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 ...

Actions #4

Updated by Stanislas Rolland over 14 years ago

See #20142.

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF