[TYPO3-german] Funtzt "ATagTitle" nicht im GMENU?

Axel Jindra a.jindra at gmx.de
Thu Mar 30 09:09:53 CEST 2006


Michael Meurer schrieb:
> 
>>
>>     ATagTitle.field = subtitle
>>     ATagTitle.ifEmpty.field = title
>>
>> sagt, dass er die Infos aus dem subtitle-Feld holen soll, wenn das 
>> title-Feld leer ist. Kommentiere mal die if..-Zeile aus, dann siehst 
>> du, dass es geht.
> 
> Nicht ganz...
> Es sollen die Informationen aus dem Feld "subtitle" geholt werden. Wenn 
> dieses leer ist, sollen die Daten aus dem Feld "title" genommen werden, 
> genau, wie dein Vorschlag.

Daher mein Vorschlag, weil er aus deinen TS-Zeilen nur den Subtitle 
anzeigt, wenn Title leer ist, aber sonst nichts erhält.
Komischerweise funktioniert das auf meiner Website:

temp.topMenu = HMENU
temp.topMenu {
#  entryLevel = 0
   wrap = <div id="topMenu">|</div>
   1 = GMENU
   1 {
     NO{
       XY = 260,29
       backColor = {$menu1-norm-bg}
       wrap = |<img src="/clear.gif" width="1" height="29" alt="">
       ATagTitle.field = subtitle // title
       10 = TEXT
       10 {
         text.field = nav_title // title
         fontFile = {$menu1-norm-font}
         fontSize = 12
         fontColor = {$menu1-norm-fg}
         offset = 7,18
         align = left
         niceText = 1
         emboss.offset = 0,0
         emboss.blur = 70
         emboss.opacity = 40
         emboss.intensity = 40
         emboss.highColor = {$menu1-norm-blur}
         emboss.lowColor = {$menu1-norm-blur}
       }
       20 = TEXT
       20 {
         text.field = nav_title // title
         fontFile = {$menu1-norm-font}
         fontSize = 12
         fontColor = {$menu1-norm-fg}
         offset = 7,18
         align = left
         niceText = 1
       }
     }
     RO < temp.topMenu.1.NO
     RO = 1
     RO.backColor = {$menu1-hover-bg}
     RO.10.fontColor = {$menu1-hover-fg}
     RO.20.fontColor = {$menu1-hover-fg}
     RO.10.emboss.highColor = {$menu1-hover-blur}
     RO.10.emboss.lowColor = {$menu1-hover-blur}
     ACT < temp.topMenu.1.NO
     ACT = 1
     ACT.backColor = {$menu1-active-bg}
     ACT.10.fontColor = {$menu1-active-fg}
     ACT.20.fontColor = {$menu1-active-fg}
     RO.10.emboss.highColor = {$menu1-active-blur}
     RO.10.emboss.lowColor = {$menu1-active-blur}
   }
}



More information about the TYPO3-german mailing list