[TYPO3-templavoila] how to use "One huge redundant DS - Many different TOs"?

Christian Wolff Chris at connye.com
Wed Aug 20 11:09:55 CEST 2008


Hi MaaBoo

you can create many DS/TO out ouf the same template file.
you usualie dont use One Big DS to do everything.

the DS/TS konzept is more for different displays of the same data.

so you could have an "info-box" element whitch kontains of an headline.
text and image. but comes in different "layouts" like full width.
and an other just in 50% width.

if you for both elements the same DS you are able to switch the layout
and all data are kept Correctly.

a more visual explanation is kaspers christmas tutorial were he shows
how to use templaVoila in action.
her are all podcasts
http://typo3.org/podcasts/

here is the one that might bee intersting for you:
Christmas Special: Build a Website, Bob! Mon 18. Dec 2006, 21:00
http://castor.t3o.punkt.de/files/podkast_julestue3-build-website.m4v

greets chris


On Tue, 19 Aug 2008 16:53:46 +0200, maaboo <maaboo at gmail.com> wrote:

> Hi!
>
> I'm new to TYPO3 and just creating my first site. I learned Futuristic
> Template Building about DS/TO creation, but i don't understand how i can
> apply one huge html template with huge number of fields to many TO with
> different mapped fields. For ex.:
>
> <div id ="wcont">
>     <div id="top"><h1>Top.</h1></div>
>     <div id="mmnu">
>     <ul class="mnu">
>         <li class="tmnu"><a href="#">Menu L1
>         </a>
>                             <ul>
>                                 <li><a href="#">Menu L2</a></li>
>                             </ul>
>             </a>
>             </li>
>         </ul>
>     <div id="cont">Text.</div>
>     <div id="foot">Footer.</div>
> </div>
>
> And what if i modify this template adding to it next 2 divs?:
>
> <div id="brmnu">Breadcrumb</div>
> <div id="totop"><a href="#top">To top</a></div>
>
> If i add them to main template, but don't map - they show their content
> "Breadcrumb" and "To top". But i want to add them to main DS and make  
> two TO
> - as shown first above and other - with new added fields mapped to divs.  
> How
> i can hide these divs from first TO and show them only in second (third  
> etc)
> TOs? Or... How i can manage my templates/DS/TO to minimize number of
> files/operations/etc?



-- 
Christian Wolff // Berlin
http://www.connye.com

Latest Projects:
http://www.bizim-tur.de/ | http://www.flycall.de | http://www.atr24.de


More information about the TYPO3-project-templavoila mailing list