[TYPO3] optionSplit in menu

Miguel Angel Calleja Lázaro mangelcl at yahoo.es
Wed Feb 1 18:55:35 CET 2006


Some days ago i asked by a menu type:

Date | Equipment | Structure

Somebody told me that solution:
lib.menudown = HMENU
lib.menudown.special = list
lib.menudown.special.value = 10, 6, 2
lib.menudown.1 = TMENU
lib.menudown.1 {
  wrap = <table border="0" cellspacing="0" 
cellpadding="0"><tr>|</tr></table>
  NO.allWrap =<td class="txtMenuBar"> | </td><td>&#124;</td> |*||*| |
  ACT = 1
  ACT.allWrap =<td class="txtMenuBar_act"> | </td><td>&#124;</td>|*||*| |
}

That it works, but i have a problem, the last item neither opens nor 
closes <td> and I need open and close it to use "txtMenuBar_act" to be 
able to change color when this item is active..

<table border="0" cellspacing="0" cellpadding="0">
    <tr><td class="txtMenuBar"><a href="index.php?id=5" onfocus="blurLink(this);">Quiénes Somos</a></td><td>&#124;</td>
        <td class="txtMenuBar_act"><a href="index.php?id=134" onfocus="blurLink(this);">Grupo Rodman</a></td><td>&#124;</td>
             <a href="index.php?id=3&amp;no_cache=1" onfocus="blurLink(this);">Distribuidores</a>
    </tr>
</table>

I think that its by |*||*| |, but I need it so that last pipe is not 
repeated. Any suggestion?



More information about the TYPO3-english mailing list