[TYPO3] Getting localized page title

Francois Suter fsuter at cobweb.ch
Fri Aug 18 18:55:11 CEST 2006


> I can use different objects depending on whether we are using the
> default language or not, but I was wondering if anyone had a better
> idea?

In the meantime, I found a solution. I used a HMENU cObj because it  
gets the pages localized. With a "special" menu I can get a single  
page and with the very nice "includeNotInMenu" feature I can override  
the fact that this is not supposed to be in a menu. Here's the result:

lib.left_pages.stdWrap {
     prepend = HMENU
     prepend {
         special = list
         special.value = {$CW_LEFT_PAGES}
         includeNotInMenu = 1
         1 = TMENU
         1 {
             wrap = <p class="entete">|</p>
             NO.allWrap = |
             NO.stdWrap.case = upper
             ACT < NO
         }
     }
}

But I am still interested in knowing whether there are alternatives.  
I'm sure there are, TYPO3 being what it is :-)

Cheers

François Suter
Directeur technique
-----------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
-----------------------------------------------------




More information about the TYPO3-english mailing list