[TYPO3-english] TemplaVoila Sections/Containers

Graham Solomon gsolomonuk at googlemail.com
Wed Jun 29 18:32:29 CEST 2011


Hi,

Can someone please give me some advice on this please.

I have been trying to replicate this kind of structure in my template:
http://wiki.typo3.org/wiki/TemplaVoila#2_level_FCEs

I have the following markup in my template:

<div id="buttons">
	<a href="#"><img src="images/button.gif" width="100px" height="22px" /></a>
</div>	

Basically I want the editor to be able to add X amount of buttons to 
this div on the page level. See the link below for a screenshot of my 
TemplaVoila datastructure, what I have done is this...

http://dl.dropbox.com/u/867132/templavoila.tiff

1. div#buttons is mapped as a section with mapping mode INNER
2. The <a> tag is mapped as a container with mapping mode OUTER
3. The href for the <a> is mapped as an attribute (ATTR:href), preset 
to a Link field
4. The <img> is mapped as an element with mapping mode OUTER and preset 
to an Image field.

All this makes sense to me, I maybe wrong but this seems logical! It 
all looks great in the page header, exactly what I was expecting to 
see, sets of image/link fields, however when I populate the fields 
nothing changes in the FE, I get this:

<div id="buttons"></div>


Any help is greatly appreciated.


Graham Solomon


More information about the TYPO3-english mailing list