[TYPO3] menu with fonts

Michael michael at nospamzaakinfo.net
Sat Nov 4 12:02:00 CET 2006


Hi,

I hope someone can help me.

I want to use a font for my menu's. I have searched this newsgroup for an 
answer but with no succes.

I've read all the documentation and if I'm right the code which I use should 
work but unfortunately it doens't.

Can someone help me in the right direction? Thanks in advance.

{the template code}

temp.includeLibs.gmenu_layers =
typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php
temp.menu_1 = COBJ_ARRAY
temp.menu_1 {
  10 = HTML
  10.value = <table border=5 cellpadding=5 cellspacing=5>

  20 = HMENU
  20.entryLevel = 0
  20.1.includeLibs.gmenu_layers =
typo3/sysext/cms/tslib/media/scripts/gmenu_layers.php
  20.1 = GMENU
  20.1.NO {
    wrap = <tr><td> | </td></tr>
    XY = {$menuXY}
    backColor = {$bgCol}
    20  = TEXT
    20 {
 text.field = nav_title // title
 align = left
 offset = 0,8
 niceText = 1
 fontFile = fileadmin/fonts/tt0987m_.TTF
 spacing = 2
 fontColor = #5E262F
 fontSize = 12
    }
  }

  30 = HTML
  30.value = </table>
} 





More information about the TYPO3-english mailing list