[TYPO3-english] Language HMENU problem
christian oettinger
christian.oettinger at gmx.de
Thu Oct 16 18:58:37 CEST 2008
First a question:
Maybe your Content does not include the restriction to language? It
should look like this.
page.100 = CONTENT
page.100 {
table = tt_content
select {
pidInList.field = uid
orderBy = sorting
where = colPos = 0 #restricts to one column
languageField = sys_language_uid #restricts to actual language
}
}
Second, usually the menu des only show up if there is a trnslation for
the page. Do you have one?
Sorry, maybe these are silly thoughts, but who knows...
greetings from munich
christian (oe)
> I have a problem with displaying menu (HMENU) in another language.
> Menu, and the content displayed in the default language. It's OK.
>
> In alternative language menu does not appear, but the content is displayed.
> What's wrong?
>
> TS Setup:
> #default language -SI
> config.linkVars = L
> config.sys_language_uid = 0
> config.language = si
> config.locale_all = sl_SI
>
> #other language - EN
> [globalVar = GP:L = 1]
> config.sys_language_uid = 1
> config.language = en
> config.locale_all = en_EN
> [global]
>
> Menu:
> temp.bar= HMENU
> temp.bar {
> 1 = TMENU_LAYERS
> 1 {
> wrap = <table><tr>|</tr></table>
> layerStyle = position:absolute;VISIBILITY:hidden;border: 1px solid
> #CCCCCC; background: #FFFFFF;
> lockPosition = 0
> hideMenuWhenNotOver = 1
> hideMenuTimer = 250
> expAll = 1
> leftOffset = 0
> topOffset = 22
> relativeToTriggerItem = 1
> leftOffset = -5
>
> NO {
> allWrap = <td class="test" style="padding-left: 5px; padding-right:
> 5px;">|</td>
> }
> }
> 2 = TMENU
> 2.NO {
> allWrap = <div class="second_menu" style="padding: 4px;">|</div>
> }
> }
More information about the TYPO3-english
mailing list