[TYPO3-ttnews] <!--###LINK_ITEM###--> attribute

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Sep 1 10:56:12 CEST 2008


Hi!

Antonio Willybiro wrote:
> is it possible to set by TS an attribute (other than 'title') to the 
> <!--###LINK_ITEM###-->
> something like a style or color for instance.
> so intead of having the final link as <a href="#"> i wouldhave <a href="#" 
> style="color:#ee0000"> ?

I hit this too several times. I resolved it this way:

<span class="whatever"><!--###LINK_ITEM###-->...<!--###LINK_ITEM###--></span>

Since designers put classes directly to links, I also modified CSS:

span.whatever a, a.whatever {
	...
}

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/


More information about the TYPO3-project-tt-news mailing list