[TYPO3] condition on TemplaVoila [DS] and/or [TO]

Christopher Torgalson bedlamhotel at gmail.com
Mon Jun 2 23:54:56 CEST 2008


Hi,

On Mon, Jun 2, 2008 at 11:44 PM, G.Unger <skyfreak1 at gmx.net> wrote:
> hello list
>
> I have the following TS in my main template:
> lib.stdheader.10.1.fontTag = <h1>&laquo;&nbsp;|&nbsp;&raquo;</h1>
>
> the aim is to modify this depending on which templavoila [DS] and/or
> [TO] is chosen in the page configuration (obeying TV inheritence
> settings -> template for subpages), to e.g. this:
> lib.stdheader.10.1.fontTag = <h1>|</h1>


You'll probably need to use a CASE cObject for this. The code I posted
in this thread shows how to base the options of a CASE on the
Templavoila template settings:

http://lists.netfielders.de/pipermail/typo3-english/2008-May/049817.html


-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list