[TYPO3] Multiple Templates on One Site

Tyler Kraft headhunterxiii at yahoo.ca
Wed Jul 26 21:39:52 CEST 2006


well if you create each of your different templates in html/css and get 
them using the same marks then there is an easy way that I quite like.

you show the user three columns in the BE to edit and let them decided 
which layout they want, and let them add content into the right and main 
column for that type of layout and into all three columns for that type 
of layout, etc. Then if they go to edit the page header, and change the 
page type from standard to advanced they will find a layout selector box.

You can also add more options (and of course rename options there if you 
want) for the layout if you need more than four.

then in your typoscript template just put a few simple conditions in to 
check this selector and use a different html template depending on this 
selector box.

done, and all the ts work should atkea bout 30min.

handling the navigation can be done using the same selector box check - 
simple really. Now if you co this route you will need to look at tsref 
on conditionals and the globalVar section, and also tsconfig to 
add/rename these options if you want to do that.




Lee M. Childress wrote:
> Greetings:
> I'm slowly getting the hang of Typo3 and liking it more and more. I have spent some time reading tutorials and google-ing, but haven't found a good answer to my question.
>  
> My site tree looks like this:
>  
> HOME PAGE    |    --- TOPIC ONE    |       |    |       |__ SUB TOPIC1    |       |    |       |__ SUB TOPIC2    |    --- TOPIC TWO... 
>  
> My home page will have three columns, my Topic pages will have two columns, and some of my sub-topic pages will only have one column. Otherwise, the template will be the same throughout (except that the main navigation I want to show only topics on the Home page, and then sub-topics on the topic pages, and sub-sub topics on the sub-pages ... 
>  
> What is the best method for developing and recycling several different templates in Typo3 for the same site? Can someone point me to a really good tutorial or show me an example? I learn best from seeing something in print.
>  
> Thanks in advance for your assistance.



More information about the TYPO3-english mailing list