How to add Adsense Code to JOOMLA Article?

Discussion in 'AdSense' started by skidline, Aug 20, 2009.

  1. #1
    Hey All im having a great deal of trouble finding a good way to add the Adsense code within an Article in Joomla

    I have tried numerous module plugins for adsense, though these only allow you to place them as a module around the content, not within the content itself.

    Then there are ones that allow you to place the code to the top and bottom of everypage.

    Is there no way i can just add the code to the editor from within an article for flexibility???

    Thanks in reply
     
    skidline, Aug 20, 2009 IP
  2. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #2
    I found this at joomla.org :


    LINK


    It says it is an; " Open Source Joomla plugin which is able to automatically insert google adsense ads or yahoo publisher network (YPN) ads in to your joomla articles and contents on the fly. "


    Is that what you were looking for ?

    »
     
    Blue Star Ent., Aug 20, 2009 IP
  3. remshad

    remshad Active Member

    Messages:
    324
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Edit the source code exactly. Or edit templates
     
    remshad, Aug 20, 2009 IP
  4. skidline

    skidline Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks thePlugin does not work very well im afraid.,

    The way i have to do it now is chance joomla from tinymce editor to no editor, add the code, and NEVER touch the article again

    As soon as i make a change to the article in mce editor my ads are gone!
     
    skidline, Aug 20, 2009 IP
  5. AvidBiometrics

    AvidBiometrics Peon

    Messages:
    147
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I use the Joomla template for articles and I have to insert an ad and then edit the code every time. Once you create the first template, you can copy it and then rewrite additional articles around it.
     
    AvidBiometrics, Aug 20, 2009 IP
  6. skidline

    skidline Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks

    How are you writing the Article? using the Default TinyMCE editor, or do you always script?

    If you are using the default editor(user - friendly one) i would like to know how you are creating a aerticle template,

    Are you able to align the adsense ads to center also?

    More info would be much appreciated :)
     
    skidline, Aug 20, 2009 IP
  7. asanka000

    asanka000 Peon

    Messages:
    782
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    asanka000, Aug 20, 2009 IP
  8. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #8
    I think this will work : LINK

    You said add adsense and it is javascript...

     
    Blue Star Ent., Aug 21, 2009 IP
  9. skidline

    skidline Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I CANNOT THANK YOU ENOUGH!!!! :DDD

    Exactly what i needed!

    How easy is it to wrap a link banner around text, this is my next goal....currently in joomla articles i can easily set the code to the top or bottom of content, i don't know how easy it is to wrap the content around textads or banner ads...is this more complicated.

    PS: You dont know how much time this is going to save me!!!
     
    skidline, Aug 21, 2009 IP
  10. DES-29

    DES-29 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    you can find all extensions of joomla that help u to add adsense.

    or create a new module and add adsense code in the html file after u place it in any posotion
     
    DES-29, Aug 21, 2009 IP
  11. yousefgreat

    yousefgreat Banned

    Messages:
    285
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #11
    You can either use the Advertisment module if you want left/right/top/bottom ad placements. Or you can simply insert your adsense code in the html of your article. That is how I do that. I am sure there it can be automated though
     
    yousefgreat, Aug 22, 2009 IP
  12. Blue Star Ent.

    Blue Star Ent. Well-Known Member

    Messages:
    1,989
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #12
    Glad to help ! :)

    To make the text wrap around images, use the "align text tools"
    in tinymce (joomla) that look like the "align text tools" here in this forum.

    In this forum, when you are writing these posts, on the second row you have :

    B I U


    and next to that are the "align text tools".

    You want to use the "align text tools" that look
    the same in the joomla tinymce editor.

    Good luck.






     
    Blue Star Ent., Aug 22, 2009 IP