[Typo3-dev] Option split works problematic

tapio tapio.markula at dnainternet.net
Wed Jun 1 18:45:07 CEST 2005


> I setup a small example on www.4any1.de/index.php?id=87
> You will see a menu with the following setup:
> 
> NO.ATagParams = class="blue" |*| class="blue2" |*| class="blue3"
> ACT = 1
> ACT.ATagParams = class="green" |*| class="green2" |*| class="green3"
> CUR = 1
> CUR.ATagParams = class="red" |*| class="red2" |*| class="red3"
> 
> For all items in NO state there are 3 different tones of blue.
> First is a lighter one, second is darker and rotating, third is darkest.
> Same thing for ACT but with green tones and CUR with red tones.
> 
> Have a look at it and see it working on TYPO3 3.7.0

Maybe the error related with that I tried to use
CUR < .NO

When I set individually

CUR=1
   CUR.allWrap = <td class="menu1-level1-act"> | </td>
   CUR.linkWrap = <span class="cur">|&nbsp;&#124;&nbsp;</span>  |*| 
<span class="cur">&nbsp;|&nbsp;&#124;&nbsp;</span> |*| <span 
class="cur">&nbsp;|&nbsp;</span>
   CUR.ATagBeforeWrap = 1
   CUR.stdWrap.htmlSpecialChars = 1

it seems to work

> 
> The problem you might have is that you are not really understanding how TS
> and especially optionSplit works.
> Instead of trying to understand it you start patching some core files and
> file it as a bug.
> This is a behaviour I have been noticing since your first postings on the
> lists, despite the fact that you always post english answers to the german
> list.
> 
> Keep cool ;-)
> 
> Joey
> 




More information about the TYPO3-dev mailing list