[TYPO3-project-formidable] Create some custom renderlets, actionlets, …

Jérémy Lecour jeremy.lecour at gmail.com
Mon Jun 19 15:28:11 CEST 2006


Simple and easy

I'll package my v0.4-compatible extensions in v0.5-compatible versions
and upload them in the TER (with a notice in this list).

Thanks.

PS : Jerôme, je ne sais pas si tu avais eu mon message perso. Je t'y
donnais un tout premier avis sur la richesse/complexité de la v0.5
ainsi que proposition pour mes extensions perso. Merci encore pour
votre super boulot là dessus.
Je vais attaquer un dev de job-plateforme à base de FORMidable, je
pense que ça va m'aider à avancer assez vite.

2006/6/19, Jerome Schneider <typo3dev at ameos.com>:
> Hello Jeremy :)
>
> The procedure to create new elements is :
>
> 1 - Create a new extension using the kickstarter.
>             -> Category : misc.
>             -> Dependency : ameos_formidable
>
> 2 - Create a directory "api" inside the ext folder ( for instance,
> EXT:/my_custom_element/api/ )
>
> 3 - Place a php class file named "class.tx_mycustomelement.php" ( replace
> mycustomelement name by your extension key, of course ) into the "api "
> directory
>
> 4 - Code your php class ( should extend formidable_mainrenderlet for a
> RENDERLET, formidable_maindatahandler for a datahandler, ... )
>
> 5 - Include these lines in the "ext_localconf.php" file of your extension
> ( create it if not exists ), where MYCUSTOMELEM is the key that you will use
> in your XML config to instanciate your custom element.
>
>
>
>          if (!defined ("TYPO3_MODE"))  die ("Access denied.");
>
>          // FORMidable declaration
>          require_once(t3lib_extMgm::extPath("ameos_formidable").'api/class.tx_ameosformidable.php');
>
>          tx_ameosformidable::declareRenderlet($_EXTKEY, "MYCUSTOMELEM");
> // for datahandler, use declareDatahandler, and so on
>
> 6 - Clear typo3conf cache
>
>
> Hope you'll be able to share your elements this way :)
>
> Kind regards,
> Jerome Schneider
>
> "Jérémy Lecour" <jeremy.lecour at gmail.com> a écrit dans le message de news:
> mailman.7911.1150707187.17090.typo3-project-formidable at lists.netfielders.de...
> Hi
>
> I didn't find (maybe didn't search enough) how to add custom renderlets, …
>
> I've made some with the v0.4 framework, but here I'm lost ;-)
>
> Once I've found the way, I could post here some potentially useful
> validator/actionlet/…
> --
> Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
> webdesigner, webmaster et développeur web
> Trésorier du PLUG : Provence Linux User Group
> http://www.plugfr.org/
>
>
>
>
> _______________________________________________
> TYPO3-project-formidable mailing list
> TYPO3-project-formidable at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-formidable
>
>


-- 
Jérémy Lecour : <mailto:jeremy.lecour at gmail.com>
webdesigner, webmaster et développeur web
Trésorier du PLUG : Provence Linux User Group
http://www.plugfr.org/



More information about the TYPO3-project-formidable mailing list