Home Forums AFP548 Community Open Mike Advertisments

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #368269
    trampoline
    Participant

    Hello,
    You use Geeklog here I am wondering what you are using for your advertising ?? any plugins etc ??
    Or is it just using static pages and blocks ???
    Just wondering,
    Thanks… 😀

    #368272
    trampoline
    Participant

    Can you share that custom code ?

    #368366
    filipp
    Participant

    Hi trampoline,
    You basically just have to edit the correspoding thml file in GL. For example, if you want an add after each article, you add something like this at the end of
    layouts/mylayout/article/article.thtml:
    [code]

    [/code]
    In our case, I wrote a JS function that randomly picks a banner from an array. Here’s the source:
    https://www.afp548.com/javascript/banners.js

    #368367
    trampoline
    Participant

    Thanks I’ll try this…. !

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.

Comments are closed