[TYPO3] How to add a class to anchors?
Tyler Kraft
headhunterxiii at yahoo.ca
Mon Jun 18 11:50:25 CEST 2007
It goes in your template setup.
you'll possibly need to clear the FE cache afterwards
Andreas Balzer wrote:
> Tyler Kraft schrieb:
>> If you just want to add a class to those anchors then they can be
>> found in the tt_content.stdWrap setup somwhere - just use the TS
>> object browser and add your class there.
> So tt_content.stdWrap.dataWrap.value = <a id="c{field:uid}"
> class="anchortag"></a> | should do it. But where to set it? I tried
> setup and constants field but none of them worked. Does CSS Styled
> Content really takes this value from tt_content or does it store those
> information somewhere else?
>
> Andreas
More information about the TYPO3-english
mailing list