[TYPO3-english] Tzposcript and if

Michael Miousse mmiousse at infoglobe.ca
Mon Aug 3 14:58:05 CEST 2009


Le Sat, 01 Aug 2009 12:18:59 +0200, Aneta Jaroslava a écrit :

> Hi all,
> 
> I have the following typoscript:
> 
> 	10 = IMAGE
> 	10.file = GIFBUILDER
> 	10.file {
> 		XY = 128, 128
> 		10 = IMAGE
> 		10.file.import = uploads/tx_templavoila/ 
10.file.import.current = 1
> 		10.file.import.listNum = 0
> 		10.file.maxW = 128
> 		10.file.minW = 128
> 		10.file.maxH = 128
> 		10.file.minH = 128
> 		10.file.if = 1
> 		10.negate = 1
> 	}
> 
> My problem is, if there is_no_ image I want not to display anything.
> 
> How can I achiecve this?
> 
> I read TSref with if, but it does not work for me.
> 
> Anyone help please?
> 
> Thanks :-)

Hi Aneta

i think that to be able to give you a hand, we would need the context

i mean your typoscript could not work unless its used in a particular context.

Does this typoscript in a stdWrap that you made in an extension or is it else where


Regards

Miousse


More information about the TYPO3-english mailing list