Where to add code?

Discussion in 'Programming' started by yousellstuff1, Feb 12, 2009.

  1. #1
    I have just set up my first proxy that uses phproxy. I am trying to add ads on the proxified pages. Where do i look?
     
    yousellstuff1, Feb 12, 2009 IP
  2. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #2
    You need to edit your template files ( stored in /templates/ or similar directory ). Add the code wherever you want and it will show up on your site.
     
    ActiveFrost, Feb 12, 2009 IP
  3. yousellstuff1

    yousellstuff1 Active Member

    Messages:
    1,195
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    75
    #3
    ok that didnt really help. Which file effects the proxified pages or what does it look like
     
    yousellstuff1, Feb 12, 2009 IP
  4. ActiveFrost

    ActiveFrost Notable Member

    Messages:
    2,072
    Likes Received:
    63
    Best Answers:
    3
    Trophy Points:
    245
    #4
    If it does not help - forget about adding something to your script .. I said enough to figure out at least where you need to look ! I can't say you exactly what/where/how as I don't see your files .. before asking help, you need to know what you want ;)
     
    ActiveFrost, Feb 12, 2009 IP