separator character in TMENU

View: New views
4 Messages — Rating Filter:   Alert me  

separator character in TMENU

by Matyi Gábor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!

I have this simple TMENU

lib.navigation = HMENU
lib.navigation {
   1 = TMENU
   1 {
      NO {
         allWrap =  | *
      }
      ACT < .NO
      ACT = 1
   }
}

This generates the following.

Item1 * Item2 * Item3 * Item4 * Item5 *

My question is how could I generate this:

Item1 * Item2 * Item3 * Item4 * Item5

(I don't like the separator character after the last menu item.

Thanks

Gabor Matyi
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: separator character in TMENU

by Georg Ringer-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Matyi Gábor schrieb:
> (I don't like the separator character after the last menu item.

search for optionsplit

georg
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Re: separator character in TMENU

by StephenBungert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I do the same with option split, but using vertical bars instead of stars.
This should work:

|*| sperates the allWrap in to 3 parts. The first item uses the wrap before
the first |*|, the last item in the menu uses the wrap after the second |*|,
and all the middle items use the middle wrap.

lib.navigation = HMENU
lib.navigation {
   1 = TMENU
   1 {
      NO {
         allWrap =  | * |*| | * |*| |
      }
      ACT < .NO
      ACT = 1
   }
}

-----
--
Stephen Bungert
--
View this message in context: http://www.nabble.com/separator-character-in-TMENU-tp19623056p19624252.html
Sent from the TYPO3 English mailing list archive at Nabble.com.

_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
--
Stephen Bungert

Re: separator character in TMENU

by StephenBungert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I do the same with option split, but using vertical bars instead of stars. This should work:

|*| sperates the allWrap in to 3 parts. The first item uses the wrap before the first |*|, the last item in the menu uses the wrap after the second |*|, and all the middle items use the middle wrap.

lib.navigation = HMENU
lib.navigation {
   1 = TMENU
   1 {
      NO {
         allWrap =  | * |*| | * |*| |
      }
      ACT < .NO
      ACT = 1
   }
}
--
Stephen Bungert