[TYPO3-dev] How to link to singleview from one ext to another

Steffen Kamper steffen at dislabs.de
Fri Dec 8 09:49:57 CET 2006


Hi,

"Zorik" <zorik2005 at zorik.net> schrieb im Newsbeitrag 
news:mailman.1.1165542531.28196.typo3-dev at lists.netfielders.de...
> 1. you can open tslib/class.tslib_pibase.php and lookup a method called
> "pi_list_linkSingle". This way you can spot the problem.
>
> 2. Your problem is, that while extending pi_base in your FE plugin, the
> $this->prefixId = tx_recipes_pi1;
> because "pi_list_linkSingle()" uses $this->prefixId to set a query string
> ($this->prefixId.[showUid]=2)
> you get the wrong query string.
> You either have to change $this->prefixId (which is bad), or
> create the query string with other method.
>
> -- 
> Zorik

or you can use pi_linkToPage where you can set own prefix.
vg  Steffen 






More information about the TYPO3-dev mailing list