[TYPO3] Typoscript to wrap FCE -Element?
Dmitry Dulepov [typo3]
dmitry at typo3.org
Wed Aug 29 11:08:16 CEST 2007
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>
--
Dmitry Dulepov
TYPO3 freelancer / TYPO3 core team member
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
More information about the TYPO3-english
mailing list