[TYPO3-english] Page template selection TV-style without TV

Jan Bednarik info at bednarik.org
Tue Jun 18 20:36:02 CEST 2013


Hi,

so by refereing to the BE layout property in TypoScript I can change 
template for FE. That's not very clean approach but I can work. I was 
hoping for something bit better though :)

Thanks, I'll keep that in mind when I start to use 6.x (for now I still 
stick with 4.5 because of TV mainly).

Jan

Dne 18.6.2013 20:28, JoH asenau napsal(a):
> Am 18.06.2013 20:11, schrieb Jan Bednarik:
>> Hi all,
>>
>> reading that TV is about to retire, which is truly sad news, I started
>> to remember old days when I did websites without TV and it made me
>> realize that I will miss quite a lot. Another thread provides clues how
>> to deal with missing FCEs (GridElements), but what I don't know is how
>> to give user selection of page templates.
>>
>> Let's say I have a few page templates (one for homepage, different for
>> subpages, some without menu, whatever) and I'd like to give users option
>> to choose whichever template they want.
>
> Usually this can be done with a combination of backend and frontend
> layouts.
> While backend layouts resemble the basic structure of a page in the
> first place, they can still be connected to a frontend layout as well.
> You can set a particular layout for a page or just use "backend layout
> on next level" to set it for a whole branch.
>
> Together with the "layout" switch, that existed long before backend
> layouts came up, you can setup quite a lot of different variants so
> people can select different views on top of a backend layout.
>
> The output can be done with a few lines of TypoScript making use of
> levelfield, override and CASE. This will typically set some classes to
> the body tag and/or major containers, while the rest is done with the
> usual CSS.
>
> HTH
>
> Joey
>



More information about the TYPO3-english mailing list