Project

General

Profile

Actions

Bug #20549

closed

none of parameters are working with php when having a linkhandler link

Added by Bas van der Togt over 15 years ago. Updated over 11 years ago.

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

0%

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

Description

When making a link of a record with linkhandler none of the typolink parameters are working when making the link with php. With typoscript all the parameters are working right with linkhandler.

example:
-----
$conf = array();
$conf['parameter'] = 'record:tx_myplugin:450';
$conf['ATagParams'] = 'class="readmore"';
$conf['target'] = '_blank';
$linktext = 'Read more';

return $this->cObj->typoLink($linktext,$conf);
-----

returns: <a href="index.php?id=3&tx_myplugin_pi1[showUid]=450">Read more</a>

Should return: <a href="index.php?id=3&tx_myplugin_pi1[showUid]=450" class="readmore" target="_blank">Read more</a>

(issue imported from #M11246)

Actions

Also available in: Atom PDF