[TYPO3-formidable] How to add custom renderlets
Jérôme Schneider
j.schneider at ameos.com
Fri May 27 10:10:00 CEST 2011
Hi Felix,
I created a dummy extension implementing a custom rdt. You can download
it here:
http://formidable.typo3.ug/fileadmin/formidable/extensions/T3X_mycustomrdt.t3x
The magic lies in files ext_localconf.php and api/class.tx_mycustomrdt.php
To use this custom rdt in your XML, you may use something like this:
<renderlet:MYCUSTOMRDT name="myrdt" label="I'm shouthing !" />
Note:
* each rdt has to be packaged in it's own extension
* names are important; so the "key" property you define in
ext_localconf.php imposes the extension key (has to be the same), the
rdt php file (api/class.tx_[...].php) and the rdt classname (tx_[...])
I hope this will help.
Regards,
Jerome Schneider
Le 25/05/11 14:57, Felix Nagel a écrit :
> Hey,
>
> Im trying to add my own renderlets for use with seminars. I found this:
> http://forumdev.typo3.org/mv/msg/197727/676362/
> but it seems to be outdated as declareRenderlet is not defined anymore.
>
> Please give me some help how to make my own renderlet usable in seminars.
>
> Thanks!
>
More information about the TYPO3-project-formidable
mailing list