Help me Please..

Discussion in 'HTML & Website Design' started by Abhik, Oct 30, 2006.

  1. #1
    Hello all,
    I have a free web directiory HERE. All I want to add another large rectangle adsense ad on the right side of the categories..
    I know this is possible as I saw another directory using the same templet did this.
    Please help me out, I have no knowledge in coading :D
    regards
    Abhik
     
    Abhik, Oct 30, 2006 IP
  2. sabian1982

    sabian1982 Notable Member

    Messages:
    2,028
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    210
    #2
    Quite simple really - in the template folder of the phpLD installation there are two files - one is called footer.tpl and the other (i think from memory) is header.tpl. All you need to do is stick the adsense code in those files (somewhere). Obviously if you want to position the elements accurately you'll need to (preferably) stick the adsense code in between some <div> tags with perhaps a center attribute etc.
     
    sabian1982, Oct 30, 2006 IP
  3. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #3
    I tried putting te adcode in both of the files.. no one worked.
    may be i have put the adcode in wrong place.
    anymore suggestion?? please.
     
    Abhik, Oct 30, 2006 IP
  4. sabian1982

    sabian1982 Notable Member

    Messages:
    2,028
    Likes Received:
    161
    Best Answers:
    0
    Trophy Points:
    210
    #4
    Ahh sorry i know what you mean - i miss read your post some what. What you want to do is slightly harder... i believe you need to create a new div in the main.tpl file with float attributes. You can therefore position the div and its content to the right as required and all other content will flow around it...
     
    sabian1982, Oct 30, 2006 IP
  5. JEET

    JEET Notable Member

    Messages:
    3,832
    Likes Received:
    502
    Best Answers:
    19
    Trophy Points:
    265
    #5
    PHPLD uses tables, so what you need to do is create another <td> with width dimensions of your choice. Then paste your google code in this <td> and close the table tags.
    This needs to be done in "main.tpl".
    Bye :)
     
    JEET, Oct 30, 2006 IP
  6. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #6
    hello jeet,
    can you please elaborate a bit more..
    I mean can you please provide the exat code starting from <td> to </td>?
    It will be really helpfull to me.
    Thanks in advance.
    Abhik
     
    Abhik, Oct 31, 2006 IP