[TYPO3-dev] typolink improvments (link to records)
Daniel Pötzinger
operation-lan at gmx.de
Tue Sep 18 18:34:32 CEST 2007
Attached you find first version.
this is how it works:
* an ux class for tx_rtehtmlarea_browse_links adds hooks to
tx_rtehtmlarea_browse_links -> hopefully this can be added to rtehtmlarea ??
* the rest is done by hook:
You can define new tabs in the TSConfig. This is default:
RTE.default.tx_linkhandler {
record {
label=Records
listTables=*
}
tt_news {
label=News
listTables=tt_news
onlyPids=5
}
}
so you can add as much tabs you want :-)
* in the frontend the linkhandler is configured with typoscript. This is
default setting:
plugin.tx_linkhandler {
tt_news {
parameter={$linkhandler.newsSinglePid}
additionalParams=&tx_ttnews[tt_news]={field:uid}
additionalParams.insertData=1
}
}
Please let me know what you think.
Greetings
Daniel
More information about the TYPO3-dev
mailing list