Help putting AdSense ads in directory

Discussion in 'Directories' started by CannabisSEO, Oct 2, 2007.

  1. #1
    Hello, I am needing help putting adsense ads into my directory. Can anyone advise where I need to insert the code to have the ads displayed on the homepage? I have tried inserting the code in several spots, but can't get the ads displayed. Any help would be greatly appreciated! ;)
     
    CannabisSEO, Oct 2, 2007 IP
  2. SasaVtec

    SasaVtec Notable Member

    Messages:
    1,588
    Likes Received:
    150
    Best Answers:
    0
    Trophy Points:
    275
    #2
    If you are serious about your directory you will think twice before adding adsense to it, because a lot of directory submitters will not submit because you have them, and adsense on a directory is very very very low paying, unless you have the crazy traffic and a lot of unique content. But depending on your template, its usually sidebar.tpl, main.tpl, index.tpl
     
    SasaVtec, Oct 2, 2007 IP
  3. EveryQuery

    EveryQuery Well-Known Member

    Messages:
    2,039
    Likes Received:
    366
    Best Answers:
    0
    Trophy Points:
    180
    #3
    Make sure that you use the {literal}{/literal} tags around the adsense code or it will not work.
     
    EveryQuery, Oct 2, 2007 IP
  4. mopguy

    mopguy Active Member

    Messages:
    733
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    70
    #4
    Yeap just insert the code into any .tpl you like with a wrapping {literal}{/literal} like what EveryQuery said. :)
     
    mopguy, Oct 2, 2007 IP
  5. WatchOut

    WatchOut Guest

    Messages:
    1,359
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #5
    As far as I'm concerned - that only applies to phpLD, correct?
     
    WatchOut, Oct 2, 2007 IP
  6. EveryQuery

    EveryQuery Well-Known Member

    Messages:
    2,039
    Likes Received:
    366
    Best Answers:
    0
    Trophy Points:
    180
    #6
    The literal tags could be used for anything that uses the Smarty engine. Literal tags allow a block of data to be taken literally where there maybe curly braces and such (like in javascript) that would confuse the template parser.
     
    EveryQuery, Oct 2, 2007 IP
    WatchOut likes this.
  7. werewe12

    werewe12 Well-Known Member

    Messages:
    1,034
    Likes Received:
    66
    Best Answers:
    0
    Trophy Points:
    140
    #7
    If blended properly, adsense could look good with the directory.
     
    werewe12, Oct 2, 2007 IP
  8. CannabisSEO

    CannabisSEO Well-Known Member

    Messages:
    3,259
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    175
    Digital Goods:
    2
    #8
    thank you sooo much for all the responses:. This helps greatly!! :D
     
    CannabisSEO, Oct 2, 2007 IP
  9. WatchOut

    WatchOut Guest

    Messages:
    1,359
    Likes Received:
    65
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Glad we could help you out here - if you need any further information let us know :)
     
    WatchOut, Oct 3, 2007 IP
  10. msolution

    msolution Well-Known Member

    Messages:
    1,182
    Likes Received:
    123
    Best Answers:
    0
    Trophy Points:
    175
    #10
    msolution, Oct 3, 2007 IP