[TYPO3-dev] typolink improvments (link to records)
Daniel Pötzinger
operation-lan at gmx.de
Mon Sep 17 14:56:34 CEST 2007
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.
A suggestion on this:
add metasyntax to typolink e.g. <link record:tt_news:5>link</link>
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
}
}
Currently there is a extension ch_rterecords which does similar things
but with the disadvantage that it is not typolink compatible (used
external url and is not aware of real_url etc..)
What do you think? Or is there allready a possibility for that feature?
More information about the TYPO3-dev
mailing list