1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

JavaScript Includng adverts on a template

Discussion in 'Web Development' started by djwilson, May 4, 2009.

  1. djwilson

    djwilson New Member

    I have downloaded the movie stroree template and want to add ads on the site but having no luck, im using php ads off of blondish.net

    using: [FONT=Verdana, Helvetica]
    <script language="javascript" type="text/javascript" src="/ads/js.php"></script> on: http://www.youtubedjchannel.com/TESTZONE/review/ I tryed putting it in the footer area but no luck the ads dont show. Any help please!? Also there a way to have vertical ads on the left and/or right of the template? Thanks[/FONT]
     
  2. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    this must go into the head section as you are referencing an external file js.php
    then you need some code it the body which calls the file.
     
  3. djwilson

    djwilson New Member

    Thats only line of code i recieve from it
     
  4. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    I can not find where you even got that script from.
    So in the mean time I cleaned up your code some what and included a search script you'll have to install.
    You will have to fix the images as I used different directories so mine point to different ones. Hope this helps.
    PS Every page must look like this - not the multiples you copy and paste. !!!!!! :confused:
     

    Attached Files:

  5. djwilson

    djwilson New Member

  6. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

  7. djwilson

    djwilson New Member

    How would i get the ads to appear on the sides?
     
  8. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Ok I was wrong tha code goes into the body where you want to display your ads.
    Just blend it in with your web.
    I take it you followed the instructions 1-4 particulaly #3
    Login - then you have to goto "add banner" so there is links in the flat file to reference.
     
  9. djwilson

    djwilson New Member

    Ok, ill re-install the phpads etc but how can I get them on either side of the page?
     
  10. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    could you put the page link up so I can look at the code.
     
  11. djwilson

    djwilson New Member

  12. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    What do you mean by either side of the page?
    like you are showing in the link.
    or like this
     

    Attached Files:

  13. djwilson

    djwilson New Member

    No its ok now vareside sorted it for me, thankd anyway
     
  14. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Ok - just keep us all in the dark...
     
  15. djwilson

    djwilson New Member

    It was only just sorted after the printscreen post
     
  16. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Where did you insert your code at?
     
  17. djwilson

    djwilson New Member

    A small bit of stylehseet in the head and the adverts code in the body