Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:45 pm EST
Geeklog Forums
Need hack for centerblock staticpage
Status: offline
orfilms
Forum User
Regular Poster
Registered: 08/02/05
Posts: 70
I'm looking for a hack which would allow me to put an advertisement after 3 or 4 articles. It doesn't need to be a static page centerblock but I was thinking that would be the easiest.
Anyone know how to do this?
Anyone know how to do this?
7
8
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Near the end of the file, there are 2 calls to STORY_renderArticle(). The first one is for the featured story, the second one is in a while loop and displays the other stories. You would have to add a counter there and inject your code after the 3rd story (or something like that).
HTH
bye, Dirk
HTH
bye, Dirk
7
12
Quote
Status: offline
beewee
Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Would it be OK if the add would be placed between the first and second article?
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
8
8
Quote
All times are EST. The time is now 01:45 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content