[TYPO3-templavoila] conditions in DS

Klaus Fumy klaus.fumy at uni-ulm.de
Tue Jan 22 11:20:05 CET 2008

Hello List,

am I allowed to use a condition in the typoscript part of my DS.

I am asking, because I want to show / hide Content Elements depending on 
  the IP.

I tried the following, but didn´t succeed:

<field_content type="array">
				<tx_templavoila type="array">
					<sample_data type="array">
						<numIndex index="0"></numIndex>
	[IP = 134.60.*.*] && [globalVar = TSFE:id = 134]
	10.tables = tt_content
	10.wrap = <!--TYPO3SEARCH_begin--> | <!--TYPO3SEARCH_end-->
	10 = TEXT
	10.value = You are not allowed to view the content
					<oldStyleColumnNumber type="integer">2</oldStyleColumnNumber>
				<TCEforms type="array">
					<config type="array">

2. Question:

May I use in a typoscript condition the != operator? (Could´nt find it 
in the reference)

Thank you for answers.

More information about the TYPO3-project-templavoila mailing list