[TYPO3-english] Adding html to multiple content elements

Matthew Colton mat at colton.de
Thu Oct 8 11:26:05 CEST 2009


Hi,
have you ever had a look at TemplaVoila? TV is nice for site specific content 
elements. A content template in TV constists of any number of elements (e.g. 
link, rte, img) which you can wrap in many ways including what you want to do. 
With TV you could either
a) offer the user one template with a dropdown list of allowed containers
b) make a template for each container type

But as I see your using IDs for your divs, so if there's only one element per 
page it might be nicer to make a page template for that case.

HTH

Cheers
M@


Am Donnerstag, 8. Oktober 2009 09:42:10 schrieb christian vaneigem:
> Hello everybody,
> 
> Beginners question, but i'm unfortunatelyI'm unable to come up with a
> solution so far.
> 
> In a webpage i want to include multiple content elements , each of these
> elements should be placed within different <div> elements
> Like so:
> <div id="box1">
> Content element 1
> </div>
> <div id="2">
> Content element 2
> </div>
> 
> I know how to place a similar (for instance<div id="foo">) around all  the
> content elements, but  varying divs is not clear to me at this moment...
> 
> Hope this is clear enough and would be greatly appreciated if someone could
> point me in the right direction!
> 
> Regards,
> Christian
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> 
> 


More information about the TYPO3-english mailing list