[TYPO3] use typenum in a conditional... how

Tyler Kraft headhunterxiii at yahoo.ca
Mon Sep 10 21:47:52 CEST 2007


what do you mean by typenum? the page type number from the BE template?

If its a get variable (therefore passes in the url) or a post variable 
then you use [globalVar = GP:typenum=1]



Andrew Davis wrote:
> I want to use the typenum passed in a url to be in a conditional, 
> somehting like
> 
> 
> [globalVar = TSFE:page|typenum = 1]
> do something
> [GLOBAL]
> 
> is this correct? Am I close? Hints ;-)  I have read thru the 
> conditionals section of tsref and see no mention of typenum...
> 
> any help much appreciated!
> Andrew


More information about the TYPO3-english mailing list