[TYPO3] Same fe plugins in same Page but different TSConfig

Andre Dittmar typo3 at hotbytes.de
Thu Jun 26 15:40:13 CEST 2008


Hi Sancar,

> I'm trying to put 2 instance of same frontend plugin in same page  
> and I want
> to setup different page TSConfig each for them.
>
> I put following config into template setup
>
> plugin.tx_evodotinjector_needle {
> 	process_page = 14
> 	evo_root = /usr/local/evodot/
> 	evo_module = shopsystem
> 	evo_plugin = search
> 	language = en
> }
>
> plugin.tx_evodotinjector_needle {
> 	process_page = 14
> 	evo_root = /usr/local/evodot/
> 	evo_module = shopsystem
> 	evo_plugin = response
> 	language = en
> }

Your second setup will override the first one. In Typoscript you're be  
able to copy whole objects. For example in a COA (Content Object Array):


---- Typoscript ----

# Default setting
plugin.tx_evodotinjector_needle {
   process_page = 14
   evo_root = /usr/local/evodot/
   evo_module = shopsystem
   evo_plugin = search
   language = en
}

lib.rightContent = COA
lib.rightContent {
   # This object use the default setting
   10 < plugin.tx_evodotinjector_needle

   # This object use some own settings
   20 < plugin.tx_evodotinjector_needle
   20 {
     evo_plugin = response
   }
}


Hope this example will help?

Best regards,
Andre



More information about the TYPO3-english mailing list