1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Adsense Block in Article

Discussion in 'Placement / Reviews / Examples' started by Rik, May 1, 2006.

  1. #1
    Hello there,

    I want to put Google Adsense in the article of my website.

    What I actually want is, the Google Adsense Block will be inside the article, so the site will get more clicks from users. Here is a site example what I'm talking about. Please check the following image,


    [​IMG]

    I think all I have to do is edit is the .tpl file that shows the full article.
    In my website, its article_Full.tpl

    Can anyone do the diting and help me. I tried to put adsense the way it is on the image i showed above. but I failed.

    I have added the article_Full.tpl as zip format.
    I'll be gald if anyone help me out.

    Thanks.
    Rik
     

    Attached Files:

    Rik, May 1, 2006 IP
  2. donteatchicken

    donteatchicken Well-Known Member

    Messages:
    432
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    118
    #2
    Find:

        <div class="article"> <img src="{ROOT}files/{ARTICLE_IMAGE}" align=left border=0 style="padding-right: 5px;"> 
                  <div class="plainTxt" id="article_body"> {ARTICLE_BODY} </div>
                </div>
    Code (markup):
    If you want it right before article replace with:

        <div class="article"> <img src="{ROOT}files/{ARTICLE_IMAGE}" align=left border=0 style="padding-right: 5px;"> 
                  <div class="plainTxt" id="article_body">GOOOOOOOOGIESGOHERE {ARTICLE_BODY} </div>
                </div>
    Code (markup):

    If you want it right after article replace with:

        <div class="article"> <img src="{ROOT}files/{ARTICLE_IMAGE}" align=left border=0 style="padding-right: 5px;"> 
                  <div class="plainTxt" id="article_body">{ARTICLE_BODY}GOOOOOOOOGIESGOHERE </div>
                </div>
    Code (markup):

    To make it on right side find:

    <td valign="top" width="150" rowspan="5" class="tblSmallBodyRgt"> <div class="trHeadline_right">{LNG_RELATED_NEWS}</div>
          <div class="tabele">{ARTICLE_RELATED_NEWS}</div></td>
    Code (markup):
    Replace with


    <td valign="top" width="150" rowspan="5" class="tblSmallBodyRgt"> <div class="trHeadline_right">{LNG_RELATED_NEWS}<br>GOOOOOOOOGIESGOHERE<br></div>
          <div class="tabele">{ARTICLE_RELATED_NEWS}</div></td>
    Code (markup):
     
    donteatchicken, May 1, 2006 IP
  3. fusionmanx

    fusionmanx Peon

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    wow thanks iw as looking for a way to do taht also.
     
    fusionmanx, May 1, 2006 IP