[TYPO3] Typoscript to wrap FCE -Element?
Tolleiv Nietsch
info at tolleiv.de
Wed Aug 29 12:32:22 CEST 2007
Hi -
I'm not sure what you mean with "passthrough field"
normally i would say that this is a field with Editing Type [NONE] which
is mapped to some HTML part - but i have a Script-Area and without any
other container around it and therefore i think i can not use such a
solution...
Regards
Tolleiv
^^ I don't want to shift this thread to the TV-List but next time I'll
post things in the correct place..
Dmitry Dulepov [typo3] schrieb:
> Hi!
>
> Better discuss TemplaVoila-related things in its own list.
>
> Tolleiv Nietsch wrote:
>> <div id="xxx"><h3>Headline</h3><p>Text...</p></div>
>>
>> mapped as FCE in TemplaVoila.
>> I also have a checkbox-field (field_checkme) within the FCE fields if
>> this field is checked i need to prepend a Javascript Block to the end
>> of the FCE -
>> How can this be done i found no solution to use TypoScript for that
>> case...any ideas?
>
> Make a passthrough field, add <TypoScript> there, analyze value of
> field_checkme with "if" and output script if you need.
>
>> The resulting output could look like this:
>> <div id="fce001"><h3>Headline</h3><p>Text...</p></div><script
>> type="text/javascript"> fadeIn('fce001'); </script>
>
More information about the TYPO3-english
mailing list