[TYPO3-english] Wrap tt_news content class
Sergio
naguib.mahfuz at gmail.com
Mon Jul 9 13:30:34 CEST 2012
I've defined the next template for latest tt_news items:
<!-- ###TEMPLATE_LATEST### begin
This is the template for the latest news, typically displayed on a frontpage
-->
<div class="row">
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<!-- ###NEWS### begin
Template for a single item
-->
<div class="four columns MY_OWN_CLASS">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
<h4><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h4>
###NEWS_SUBHEADER###
</div>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
</div>
<!-- ###TEMPLATE_LATEST### end -->
And I would like to add MY_OWN_CLASS with optionSplit to every div that
wraps the main news content.
How could I do this by TS?
Thanks in advance,
Sergio
More information about the TYPO3-english
mailing list