[TYPO3-dev] typolink improvments (link to records)

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Mon Sep 17 15:28:16 CEST 2007


Daniel Pötzinger schrieb:
> Hello
> 
> I ask myself whats the best approach to link to records.
> Intention should be that an editor can easy select a record like tt_news 
> as linktarget - and this is translated to the correct link.
> 
> On pages whith much extensions (like tt_news etc) it becomes more and 
> more necessary to link to certain newsrecords.

Oh yes, we need that.

> A suggestion on this:
> 
> add metasyntax to typolink e.g. <link record:tt_news:5>link</link>

Interesting.

> This is translated in the frontend to a correct typolink.
> therefore a typoscript configuration tells how to build the link, e.g. 
> just by defining a typolink.
> 
> config.typolinkToRecords {
>   tt_news {
>     parameter={$ttnews.SinglePid}
>     additionalParams=&tt_news[uid]={field:uid}
>     additionalParams.insertData=1
>   }
> }

This doesn't work with the current config naming scheme which doesn't allow 
for recursive options.

Masi




More information about the TYPO3-dev mailing list