[Typo3] templavoila sub template

Kraft Bernhard kraftb at gmx.net
Tue Jun 21 10:32:57 CEST 2005


Christoph Koehler wrote:
> Hello,
> 
> sorry for this really obvious question, but the FTB doc is kinda old, 
> and  I am not too smart. Maybe one of you guys can point me in the 
> right  direction:
> I would like to have some pages of my site have a different template. 
> What  do I do? Add a new TO, or a DS, or both, and how do I do this? I 
> played  around with it and got the template to show on the sites that I 
> wanted,  but I didn't find any place to edit the TypoScript for that 
> template to  add a submenu or content or anything.

I read the FTB doc and had TV going in 2 days ... No sense of "outdated" in my opinion ?

When you already did the mapping for one Template (one complete DS/TO) then you should
know how to add content.

You must have read how to create an field_ for "Content Elemets" ... whatever you insert
into the TV columns will be shown in the mapped html-element.


To have different templates you should notice the difference between MTB and FTB where in MTB
you selected a "Main-Template" which defined the "surroundings" of your site (where the menu
and the news are where the content will go to etc.) and a "Sub-Template" which mostly defined
how your Content-Area looks like (2 Columns, 3 Columns, etc.)

But now with TV you select the DS which mostly defined how many and what kind of fields you have
in this Template ... If you have a 2 and a 3 column layout for example you could either create
2 complete DS/TO sets for both designs or create one DS with 3 fields for the Content Areas ... But
then when you map the fields_ to the respective HTML elements in the template (this gets stored in
the TO) you will not map the 3rd field ... just leave it unmapped ...

Currently TV also displays "non-mapped" Content Areas and let's you insert Content Elements. This is
a little bit misleading for Users and should get modified in such a way that just mapped Columns get
shown.


greets,
Bernhard
-- 
Kraft Bernhard
MOKKA Medienagentur <http://www.mokka.at>
T: +43 - 1 - 895 33 33 - 50



More information about the TYPO3-english mailing list