[TYPO3-english] formhandler on every page

jaco graaff jaco at spacexplorer.co.za
Mon Nov 4 00:40:46 CET 2013


Does anyone have experiencing putting formhandler on every page?

I have build a contact form using formhandler but cannot include it using 
typoscript..


-----------------------------------------------------------------------------------------------------------------------
in main setup.ts
-----------------------------------------------------------------------------------------------------------------------

<INCLUDE_TYPOSCRIPT:source="FILE:fileadmin/path/to/contactFormSetup.ts">

-----------------------------------------------------------------------------------------------------------------------
in contactFormSetup.ts
-----------------------------------------------------------------------------------------------------------------------

plugin.Tx_Formhandler.settings.predef.formhandler-basic-ajax-submit {
#works if I include it as a plugin in the backend on a single page
}

-----------------------------------------------------------------------------------------------------------------------
in main setup.ts
-----------------------------------------------------------------------------------------------------------------------

lib.testForm < 
plugin.Tx_Formhandler.settings.predef.formhandler-basic-ajax-submit

-----------------------------------------------------------------------------------------------------------------------
in main flow template
-----------------------------------------------------------------------------------------------------------------------
<div><f:cObject typoscriptObjectPath="lib.testForm" /></div>



-----------------------------------------------------------------------------------------------------------------------


Thanks

Jaco 



More information about the TYPO3-english mailing list