[TYPO3-UG Dutch] Language menu

Lotte van Breugel lottevanbreugel at gmail.com
Thu Dec 29 09:30:33 CET 2011


Hallo,

Ik ben op het moment bezig in een introductie pakket van TYPO3, met het
language menu.
Nu heb ik twee talen ingesteld, en worden deze weergeven als "tekst" op
mijn pagina.

Wat ik nu probeer is deze in een select menu te krijgen.
Zou iemand mij kunnen helpen met mijn typoscript?

menu.language = HMENU

menu.language {
  special = language
  special.value = 1,0
  1 = TMENU
  1 {
    wrap = <ul>|</ul>

    # Remove the (old) default behaviour which adds
onfocus="blurLink(this);" to all links
    noBlur = 1

    NO = 1
    NO {
      # Override the standard menu item value (which is the page title)
with our own cObject
      stdWrap.cObject = TEXT

      # Use the TypoScript option split function to display different
values for the first and second item
      stdWrap.cObject.value = {$contentpage.language1} ||
{$contentpage.language2}
      allWrap = <li>|</li>
    }

    ACT < .NO
    ACT {
      ATagParams = class="active"
    }
  }
}

[global]



Met vriendelijke groet en een fijne jaarwisseling,

-- 

Lotte van Breugel


More information about the TYPO3-UG-Dutch mailing list