[TYPO3-english] tt_news - the complete wrap

Marc marc at mindbomb.de
Mon Feb 28 23:21:33 CET 2011


Hey Robert!

Thank You for the hint! The marker NEWS_UID holds the current id of the news entry.

But for my case I would like to enumerate the list independent from the news id. 

I need that id to manipulate the DOM from javascript. 

That script is limited to the first 5 news entries so the enumeration should be always like

<div id="news_1">
	<h1>Title</h1>
	<p>Content</p>
</div>

<div id="news_2">
	<h1>Title</h1>
	<p>Content</p>
</div>

<div id="news_3">
	<h1>Title</h1>
	<p>Content</p>
</div>

<div id="news_4">
	<h1>Title</h1>
	<p>Content</p>
</div>

<div id="news_5">
	<h1>Title</h1>
	<p>Content</p>
</div>

Regards!
Marc





On Feb 28, 2011, at 10:55 PM, Rob De Vries wrote:

> There is a marker called : NEWS_UID
> 
> 
> <div id="###NEWS_UID
> ###">
> you content
> </div>
> 
> would add the news id.
> 
> Rob 
> -- 
> --------------------------
> Rob De Vries
> www.rob-ot.be
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list