[edit]: Sorry, für den doppelten Post. Hab gerade einen identischen Beitrag gefunden. Leider ohne Lösung. Wer also trotzdem was weiß...
Hallo zusammen,
ich hab mal wieder ein Problemchen... Ich möchte bei tt_news im Listview immer um drei Newsbeiträge einen DIV mit der Klasse "slide" wrappen.
Bisher hab ich das so aufgebaut:
<!-- ###TEMPLATE_LIST### begin
This is the template for the list of news in the archive or news page or search
-->
<div class="news-list-container">
<!-- ###CONTENT### begin
This is the part of the template substituted with the list of news:
-->
<div class="slide">
<!-- ###NEWS### begin
Template for a single item
-->
<div class="news-list-item">
<div class="news-latest-item-left">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
</div>
<div class="news-latest-item-right">
<span class="news-list-date">###NEWS_DATE###</span>
<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>
###NEWS_SUBHEADER###
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
</div>
<div class="clear"></div>
</div>
<!-- ###NEWS### end-->
<!-- ###NEWS_1### begin
Template for a single item
-->
<div class="news-list-item">
<div class="news-latest-item-left">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
</div>
<div class="news-latest-item-right">
<span class="news-list-date">###NEWS_DATE###</span>
<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>
###NEWS_SUBHEADER###
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
</div>
<div class="clear"></div>
</div>
<!-- ###NEWS_1### end-->
<!-- ###NEWS_2### begin
Template for a single item
-->
<div class="news-list-item">
<div class="news-latest-item-left">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
</div>
<div class="news-latest-item-right">
<span class="news-list-date">###NEWS_DATE###</span>
<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>
###NEWS_SUBHEADER###
###CATWRAP_B### ###TEXT_CAT### ###NEWS_CATEGORY### ###NEWS_CATEGORY_IMAGE### ###CATWRAP_E###
</div>
<div class="clear"></div>
</div>
<!-- ###NEWS_2### end-->
</div>
<!-- ###CONTENT### end -->
###BROWSE_LINKS###
</div>
<!-- ###TEMPLATE_LIST### end -->
Leider funktioniert das nicht. Hat jemand ne Idee wie ich um jeweils drei Elemente diesen Wrap bekomme?