[TYPO3-english] Templavoila: Adding code via Selectorbox in an FCE

Dmitry Dulepov dmitry.dulepov at gmail.com
Wed Feb 20 10:54:45 CET 2013


Hi!

Emiliano Kamppeter wrote:
> so, I created a new FCE, mapped root and created an "Not mapped" Element
> and named it field_selector.
> In the form I entered 6 options, and in "Data Processing" in "TypoSCript
> Code" I entered something like this:

<skip>

> Oh, and here's the content of the XML file (Data Structure) which was
> created:

This helps actually :) You see no js because of:

> <field_selector type="array">
> <type>no_map</type>

Your selector is not mapped to anything, therefore it produces no content 
(=no JS). You need to map it to some element to see its output.

-- 
Dmitry Dulepov
TYPO3 CMS core & security teams member

<strike>Simplicity</strike> Crocodiles will save the world.



More information about the TYPO3-english mailing list