[TYPO3-ttnews] New News-Extension: class-Attribute for detail-view-link

Georg Ringer typo3 at ringerge.org
Mon Mar 26 12:56:40 CEST 2012


Hi,

Am 26.03.2012 12:25, schrieb Frank Gerards:
> if we add a "class=<sample_css_class" attribute to the n.link VH, we get a fluid "Attribute class is not registered" error.
> Is there a way to set a css-class to the detail-link in the ViewHelper ?

sure there is, the attribute configuration can be used for everything as
done in typolink.

so this should look like
<n:link newsItem="{newsItem}" settings="{settings}"
configuration="{ATagParams:'class=\"fo\" id=\"bar\"'}">
	{newsItem.title}
</n:link>

> [27 empty/signature lines skipped]

Really needed? SCNR

Georg


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