[Typo3] TMENU wrapping problem
Adrien Driver
Adrien.Driver at infotech.monash.edu.au
Tue Feb 8 02:05:51 CET 2005
Hi
Many pages on the website I am building has a main menu down the left
hand side (see image). This is required as part of the uni's new
branding requirements so I'm stuck with the layout. Most pages listed
in the menu display fine until the page name is wider than the space
available for it on the line, and than it wraps the rest of the text to
the next line (see image again). Modifying the length of the name is
not possible. While you can still read it I would like the wrapped
words to appear indented, either under the > or the first letter of the
preceding text. Part of my Typo3 template code is below and the section
in question is temp.left_nav.5. Is it possible to modify the NO.allWarp
line to allow this? I have tried but with no luck. Maybe I should be
trying something else?
temp.left_nav = HMENU
temp.left_nav {
special = rootline
special = list
special.value = 4
stdWarp.wrap = <table>|</table>
}
temp.left_nav.1 = TMENU
temp.left_nav.1.NO {
allWrap= <tr><td valign=top><strong><br> >|</td></tr>
}
temp.left_nav.2 = TMENU
temp.left_nav.2 {
NO.allWrap = <tr><td> >|</td></tr>
}
temp.left_nav.3 = TMENU
temp.left_nav.3 {
NO.allWrap = <tr><td valign=top><strong><br> >|</td></tr>
expAll=1
}
temp.left_nav.4 = TMENU
temp.left_nav.4 {
NO.allWrap = <tr><td> >|</td></tr>
expAll=0
}
temp.left_nav.5= TMENU
temp.left_nav.5{
NO.allWrap =
<tr><td> >|</td></tr>
expAll=1
}
Sorry about posting an image but it shows the problem better than I
could explain it.
So basically I am after something that can control the position of the
individual words in a page name (and format it) in a text menu.
Cheers
Adrien
--
Adrien Driver
Lecturer, Monash University
Gippsland School of Computing & Information Technology
Northways Rd, Churchill, Victoria, Australia 3842
Tel: +61 51 226 856
Fax: +61 51 226 842
Email: Adrien.Driver at infotech.monash.edu.au
GSCIT Home Page: www.gscit.monash.edu.au
Monash Provider No. 00008C
More information about the TYPO3-english
mailing list