View Single Post
  #1 (permalink)  
Old 03-13-2006, 12:45 PM
garg garg is offline
New Pligger
 
Join Date: Mar 2006
Posts: 12
Thanks: 0
Thanked 1 Time in 1 Post
Increment a value for each link

Hi

I want a value to increment for each item on a page.

example.

<div id="1"> LINK </div>

<div id="2"> LINK2 </div>

<div id="3"> LINK3 </div>

I know how to make a counter but I can't seem to find the loop that outputs all the links. When I put a counter inside link_summary.tpl it just does:
<div id="1"> LINK </div>
<div id="1"> LINK </div>
<div id="1"> LINK </div>

Please help.

edit: oops I thought I posted this in PHP help.

Last edited by garg; 03-13-2006 at 01:10 PM..
Reply With Quote