[Typo3] Conditional templates possible?
SwiftLizard (Chris Wittmann)
chris at swift-lizard.com
Sat Feb 5 03:05:15 CET 2005
Hi,
try this it should work the way you want it .. I think
Constants Filed in Templte:
Setup field of Template:
[globalVar = GP:preview=1]
#Your TypoScript in here for the new Design.
#e.g. :
pagePreview = PAGE
pagePreview{
typeNum = 0
10 = TEXT
10.value = Preview of New Design
}
[global]
Janno Schouwenburg schrieb:
> Hi list
>
> Is there a way to make my main root template conditionally choosen? I am working on a new design for a site and would like to see the new template if i am logged in or for a certain ip address so i can look at the site with the same content as the old design. Conditions in the setup field are not enough because I the fields like include static templates etc. The only condition i can find is in the template record itself with the start and end date.
>
> - Janno Schouwenburg (janno)
>
> -----------------------
> The mailing list archive is found here:
> http://typo3.org/documentation/mailing-lists/english-main-list-archive/
>
More information about the TYPO3-english
mailing list