Hallo Zusammen
Da sich der Entwickler leider nicht zurückgemeldet hat, und es eher dringlich wäre, versuche ich es bei Euch.
http://typo3.org/extensions/repository/search/pk_limitmenutolang/hat den Effekt wenn man mehrsprachenseiten mit one-tree-konzept erstellt, das Seiten die keine übersetzung haben, nicht angezeigt werden. Standartmässig tut typo3 einfach die Standartsprache anzeigen. Das möchte ich nicht.
Da die Ext keine Dokumentation hat und ich wirklich nicht der progger bin. Stehe ich ein bisschen doof auf dem Dampfer da 😃
Die Extension funktioniert, bis auf die Tatsache, dass ein hässlicher SQL Error kommt, und zwar für jede Subseite die es darunter gibt:
Warning: Supplied argument is not a valid MySQL result resource in /home/devsite_01/www/typo3conf/ext/pk_limitmenutolang/pi1/class.ux_t3lib_page.php on line 62
Lustigerweise nur beim ersten Seitenaufruf, bei einem Reload funktionierts einwandfrei.
Ich kann die Ursache nicht genau lokalisieren, ich habe ein solches Menukonstrukt:
temp.SUBNAVIGATION = HMENU
temp.SUBNAVIGATION.entryLevel = 1
temp.SUBNAVIGATION.1 = GMENU
temp.SUBNAVIGATION.1 {
expAll = 1
NO{
wrap = |<br><br>
backColor = {$palegrey}
XY =166,18
5 = BOX
5 {
dimensions = 162,0,1,18
color = black
}
6 = BOX
6 {
dimensions = 163,0,3,18
color = white
}
10 = TEXT
10.text.field = title
10.text.case = LOWER
10.align = right
10.offset = -15,12
10.fontFile = verdana.ttf
10.fontSize = 11
10.fontColor = {$normalred}
10.niceText = 0
10.antiAlias= 1
}
IFSUB < .NO
IFSUB = 1
IFSUB.wrap =|<br>
ACTIFSUB < .NO
ACTIFSUB.wrap =|<br>
ACTIFSUB = 1
RO < .NO
RO = 1
RO{
backColor = white
5 = BOX
5 {
dimensions = 162,0,1,18
color = black
}
6 = BOX
6 {
dimensions = 163,0,2,18
color = {$highlightred}
}
10.fontColor = {$highlightred}
10.fontFile = verdana.ttf
10.text.wrap = <br>|
10.offset = -15,12
}
ACT < .RO
}
temp.SUBNAVIGATION.2 < temp.SUBNAVIGATION.1
temp.SUBNAVIGATION.2 {
IFSUB >
ACTIFSUB >
NO {
wrap=|<br>
10.fontColor = black
10.fontFile = verdana.ttf
}
RO{
backColor = white
5 = BOX
5 {
dimensions = 162,0,1,18
color = black
}
6 = BOX
6 {
dimensions = 163,0,2,18
color = black
}
10.fontColor = black
10.fontFile = verdana.ttf
10.text.wrap = >|
10.offset = -15,12
}
ACT < .RO
ACT.wrap=|<br>
}
Also, cool wäre es wenn jemand sich der Extension annehmen würde. Ich bin auch bereit ne Paypal transaktion zu machen 😃
Kann mir jemand helfen?