[TYPO3] TMENU_LAYER

Bas van der Togt b.vandertogt at profinit.com
Thu Jan 25 16:59:48 CET 2007


Ok,

I just find out that the cObject below is showing the default language 
text at all languages. Do you know why?

NO {
   before.cObject = COA |*| 0 |*|
   before.cObject {
     wrap = <cobject wrap>|</>
     10 = RECORDS
     10 {
       source.field = pid
       tables = pages
       conf.pages = TEXT
       conf.pages {
         field = title
       }
     }
   }
   ATagParams = class="menu"
   allWrap = <my wrap>|</>
}

cheers,
Bas

JoH asenau schreef:
>> In the wrap around the whole menu is a image which is different in
>> every language (overlay-o.gif). Is it possible to put an different
>> image there for every language? So fo German overlay-o-de.gif and for
>> Dutch overlay-o-nl.gif for example?
> 
> You can do that with a condition.
> 
> First setup the whole menu.
> 
> Then change the part that should be different like this (assuming you are
> using the L parameter):
> 
> [globalVar = GP:L = 1]
> blah.whatever.10.2.wrap = <this>|</this>
> [globalVar = GP:L = 2]
> blah.whatever.10.2.wrap = <that>|</that>
> [global]
> 
> Joey
> 


More information about the TYPO3-english mailing list