[TYPO3-templavoila] conditional templavolia section content

oneilch oneilch at yahoo.com
Mon Apr 17 02:05:39 CEST 2006


I tried you suggestion below - but that did nto work:
> You can use constants, like so:
>     select.pidInList = {$variable.for.pid}
>     select.uidInList = {$variable.for.uid}
> 
> Set the constants on the pages that start your
> sections:
> variable.for {
>     uid = 78
>     pid = 52
> }

In the template setup of my rootlevel page, I have:
Constants:
constants.dws.topcontent.pid= 130
constants.dws.topcontent.uid= 158

Setup:
lib.topcontent {
..........
 select.pidInList = {$constants.dws.topcontent.pid}
 select.uidInList = {$constants.dws.topcontent.uid}
}
The above works for the template when associated with
the roor level page.

On one of my section pages - under "Tsconfig" - under
"edit page properties" 
I have:
constants.dws.topcontent.pid= 47
constants.dws.topcontent.uid= 15
The above - DOES NOT work for the section page in
question by changing the contents of the
lib.topcontent  block from what it was at the
rootlevel of the website.

I also had a look at: Changing Section Pictures
http://www.mcuniverse.com/05/Changing_Section_Pictures.193.0.html
but I am not sure if this tip can help or is related
to this issue.

Pleae Help

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



More information about the TYPO3-project-templavoila mailing list