Site of the Day

Aviva Strongest Directories

IndexU Tips & MODs

What's Up

Blog Calendar
May 2008
M T W T F S S
« Apr    
 1234
567891011
12131415161718
19202122232425
262728293031  

Blog Archives

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
4 site(s)
PR 5
   
34 site(s)
PR 4
   
87 site(s)
PR 3
   
153 site(s)
PR 2
   
87 site(s)
PR 1
   
40 site(s)
PR 0
   
115 site(s)

Insert Ads in Middle

 Sunday, March 16th, 2008

In IndexU, we usually put advertisement in the top or bottom of browse listing page. But one of our member member asked on how to put advertisement in the middle of the listings. A simple but interesting stuff, so here is how to do it.

Edit your rows.html template and add the following in the bottom :

Content visible to member only. Please register and login first.

You can put your google adsense or any other advertisement type you have there.
The above code assume that you have 10 listing per page, so if you use different number then you'll need to adjust it a little bit.

Leave a Reply