[TYPO3] GMENU and wrapping text

LaPointe, Matthew MLaPointe at venterinstitute.org
Mon Feb 13 22:37:30 CET 2006

Thank you. This works.

Rather than manually specifying the break point, is there a way to say
if the characters run out of the box, back up to the first space and
break there?


-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Peter
Sent: Monday, February 13, 2006 3:25 PM
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] GMENU and wrapping text

Hi Matthew. Try searching for "gmenu splitchar" on Google (Searching the

mailarchive directly, usually doesn't give as good results as Google)
That should give you some clues, or look at this example..


Peter Klein / Umloud Untd

"LaPointe, Matthew" <MLaPointe at venterinstitute.org> wrote in message 
news:mailman.15311.1139803769.6406.typo3-english at lists.netfielders.de...

I have created a vertical GMENU. It works as expected, though I can't
figure out how to add a condition where if the text is longer than the
fixed width image, it wraps to the next line and grows the vertical
height of the image to allow for the wrapping.

Here's a visual of the graphical menu buttons:

This is fine:
| Menu Text      |

Here's where I am having a problem:
| Some Menu Text Goes Here |

This is what I would like to be able to do:
| Some Menu Text |
| Goes Here      |

Here's the typoscript I am working with:

lib.menu_left = HMENU
lib.menu_left.entryLevel = 1
lib.menu_left.1 = GMENU
lib.menu_left.1 {
  special = list
  special.value.field = uid
  NO {
    wrap = <div>|</div>
    backColor =  {$sectioncolors.color3}
    XY = 163, 34
    10 = TEXT
    10.text.field = title
    10.fontFile = fileadmin/fonts/MAIAN.TTF
    10.fontColor=  {$sectioncolors.color5}
    10.align = right
  RO < .NO
  RO.10.fontColor =  {$sectioncolors.color5}
  ACT < .RO

Thank you for any help.


TYPO3-english mailing list
TYPO3-english at lists.netfielders.de

More information about the TYPO3-english mailing list