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

Søren Vedel sv at workhouse.dk
Sat Dec 9 22:48:21 CET 2006


Hi Zoric and Steffen,

Your help is very appreciated. Zorics answer made me understand the 
problem better and Steffens answer is the one I use. Actually I use 
pi_linkTP but it is more ore less the same, isn't it?

It works great. I never used this one before, but now I know.

Thanks :-)

Med venlig hilsen/Kind regards
Søren Vedel
Workhouse Media

Steffen Kamper wrote:
> 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