[TYPO3-english] TMENU and page_languages_overlay

Gorosito Gonzalo xgonzalo at gmail.com
Thu Nov 17 08:42:18 CET 2011


Hi again folks!

I'm trying to access the pages_language_overlay data for a given page in
the TMENU object, like this:

    2 = TMENU
    2 {
      expAll = 1
      wrap = <ul>|</ul>
      NO.allWrap.cObject = COA
      NO.allWrap.cObject.wrap = <li>|</li>
      NO.allWrap.cObject {
        10 = HTML
        10.value = <div>|</div>
20 = TEXT
20.field = uid
 20.dataWrap = <span>{field:title} <input type="hidden"
value="{field:sys_language_uid}" /></span>

Well, obviously I cannot that field(sys_language_uid) because it does not
exists in the pages table, but since I'm accessing the pages table already
to get the title field, I imagine I should have a way to get the fields for
this page UID in the pages_language_overlay table, but so far no luck, any
input will be appreciated.

Thanks in advance
#######################################
#  Gonzalo Gorosito
#  Programador && sysadmin
#
#  http://www.tutorialesdebian.com - Tutoriales para debianeros, scripts,
info, notícias y mucho mas.
#  http://www.ggorosito.com.ar - Website personal
#######################################


More information about the TYPO3-english mailing list