[TYPO3-english] Automaketemplate and wrapping

Frenck Lutke frenck at innologi.nl
Thu May 16 17:03:14 CEST 2013


Hi Pero,

On 16-5-2013 16:09, Pero Peric wrote:
> Hi,
>
> One simple question. I have this in html template:
>
> <div id="foo">
>
> </div>
>
> and in TS i have something like:
>
> plugin.tx_automaketemplate_pi1 {
>    elements.DIV.id.foo = 1
> }
>
> Is it possible to make TYPO3 to overwrite that DIV with inserted content
> rather then to have something like:
>
> <div id="foo">
>    ...inserted content...
> </div>
>
> I need only
>
>    ...inserted content...
>
> without div. THX!
>
> Regards.

plugin.tx_automaketemplate_pi1 {
   elements.DIV.id.foo = 1
   elements.DIV.id.foo.includeWrappingTag = 1
}

IncludeWrappingTag nests the div inside the contentmarkers, instead of 
the other way around. Take a look at the extension manual [1] for all 
the options at your disposal. (also included with the extension itself)

HTH,
Frenck

[1] 
http://docs.typo3.org/typo3cms/extensions/automaketemplate/0.1.3/manual.html



More information about the TYPO3-english mailing list