[TYPO3] TS gurus wanted

media.res | alex widschwendter a.widschwendter at mediares.at
Tue Nov 7 13:12:17 CET 2006


hi joH,

> Well - I guess the only thing you really need is a different file for the
> IMAGE, since the rest (XY and 10.offset) can be calculated based on the
> width of that image.
> 
> Since file is of the type "imgResource" you can use import.
> import has got stdWrap properties, so you can use a cObject.
> 
> 4.file {
>     import = fileadmin/template/images/
>     import.cObject = COA
>     import.cObject {
>         10 = TEXT
>         10.value = submenu_bg_off.gif
>         10.if {
>             value = 6
>             equals.field = pid
>         }
>         20 = TEXT
>         20.value = submenu_another_bg_off.gif
>         20.if {
>             value = 6
>             equals.field = pid
>             negate = 1
>         }
>     }
> }
> 
> Something like this should be working.

thx very much - you made my day - i should go and buy your book..

alex



More information about the TYPO3-english mailing list