[TYPO3-english] tt_news template problem
heg
george.hategan at gmail.com
Thu Jun 23 00:18:48 CEST 2011
Hi everyone,
although tt_news it is probably the most used extension, I didn't manage to
overcome the following issue and didn't found the answer elsewhere:
I've configured the extension in LIST view with the template below:
<!-- ###TEMPLATE_LIST### begin -->
<div id="resource-container">
<!-- ###CONTENT### begin -->
<!-- ###NEWS### begin -->
<div class="resource-item-left">
<!--###LINK_ITEM###-->###NEWS_IMAGE###<!--###LINK_ITEM###-->
<h2><!--###LINK_ITEM###-->###NEWS_TITLE###<!--###LINK_ITEM###--></h2>
###NEWS_SUBHEADER###
</div>
<!-- ###NEWS### end-->
<!-- ###CONTENT### end -->
<span class="previous">###LINK_PREV###</span>
###BROWSE_LINKS###
<span class="next">###LINK_NEXT###</span>
</div>
<!-- ###TEMPLATE_LIST### end -->
and it looks almost perfect but I didn't manage to wrap the "next" and
"prev" links so that I can afterwards control the layout through css. I have
easily configured the active and inactive links as shown below but there is
no typoscript parameter that would only wrap the next/prev links
plugin.tt_news {
# Selecting the list view
code >
code = LIST
...
# Pagebrowser settings
pageBrowser {
...
activeLinkWrap = <span class="active">|</span>
inactiveLinkWrap = <span class="inactive">|</span>
}
}
As you can see in the template I've also tried using ###LINK_PREV### and
###LINK_NEXT### markers but no content is rendered.
Please advise.
--
View this message in context: http://old.nabble.com/tt_news-template-problem-tp31907275p31907275.html
Sent from the TYPO3 English mailing list archive at Nabble.com.
More information about the TYPO3-english
mailing list