Welcome to Geeklog, Anonymous Thursday, December 01 2022 @ 08:00 am EST

Geeklog Forums

Banner between stories


Anonymous

Anonymous
Just wondering if there is anyway i could add a banner between stories on my website?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That would require hacking index.php but shouldn't be too hard. Look for the call to COM_article() - it is called for every story, so only need to add your banner before or after that call. bye, Dirk
 Quote

Anonymous

Anonymous
thankyou! i will look into that now Surprised!)
 Quote

Anonymous

Anonymous
i can only see one COM_article($A,'y'); is there a reason for this?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yes, there is a reason - it's called in a loop ... You've heard about for loops before, didn't you? ;-) bye, Dirk
 Quote

Status: offline

jimphelps

Forum User
Junior
Registered: 10/10/02
Posts: 20
Repeat. You've heard about loops before haven't you? ;-)
 Quote

All times are EST. The time is now 08:00 am.

  • 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