[TYPO3] inserting attributes into <a>

Christopher Torgalson bedlamhotel at gmail.com
Tue May 6 20:57:13 CEST 2008


Hi,

On Tue, May 6, 2008 at 8:51 PM, sergio <sergio at village-buzz.com> wrote:
>
>  On May 6, 2008, at 2:07 PM, lee perry wrote:
>
>  > maybe try the CUR-status.
>  > add following text after your ACT-section:
>  > CUR < .ACT


This is pointless advice. CUR and ACT have slightly different
functions, but they're similar enough that if one doesn't work, just
invoking the other won't automatically fix anything. Far better to try
to figure out an error or omission in the code than to offer random
solutions.


>  i tried this, but it didn't work:
>
>                         ACT
>
>                         {
>                                 ATagParams = class="current"
>                                 linkWrap =  |
>                                 wrapItemAndSub = <li> | </li>
>                         }
>                         CUR < .ACT
>
>  and
>
>                         ACT
>                         CUR < .ACT
>                         {
>                                 ATagParams = class="current"
>                                 linkWrap =  |
>                                 wrapItemAndSub = <li> | </li>
>                         }


Revert to your prior code and add the line

ACT = 1

...then it will probably work.



-- 
Christopher Torgalson
http://www.typo3apprentice.com/


More information about the TYPO3-english mailing list