1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

CPA Lead - Gateway on posts NOT homepage

Discussion in 'CPA' started by pandajam, Sep 1, 2009.

  1. pandajam

    pandajam Newbie

    Joined:
    Jun 2, 2009
    Messages:
    45
    Likes Received:
    3
    Hey there, I use a blogger site and want the gateway to show on the individual posts but not the homepage, where abouts would I put the script to get this to work?

    Thanks so much in advance,
    Panda
     
  2. rizzmond

    rizzmond Junior Member

    Joined:
    Dec 15, 2008
    Messages:
    171
    Likes Received:
    134
    I think if you can edit the html on the post you would just call the java script for the gateway in the post??
     
    • Thanks Thanks x 1
  3. wowhaxor

    wowhaxor Executive VIP Premium Member

    Joined:
    Apr 28, 2007
    Messages:
    2,021
    Likes Received:
    3,353
    Location:
    ?¿?
    Home Page:
    Dunno for blogger but on WP what I did was just copy the header file then rename it header2.php, add the gateway code to this, and upload it. Then in the singlepost.php file I call header2.php instead of header.php and that's it. Not a big blogger user though so who knows.
     
    • Thanks Thanks x 1
  4. pandajam

    pandajam Newbie

    Joined:
    Jun 2, 2009
    Messages:
    45
    Likes Received:
    3
    Thanks, however I will be updating the site a lot (manually) and so if there is a way for it to just be called on with the individual posts, and not the homepage, search results etc then this would help a lot.

    That sounds like a great way to do it, unfortunately blogger doesn't allow you total control of the directories and main files, but you can however edit the HTML. The problem is, there is so much there I wouldn't know where to put it.
     
  5. portugalkix

    portugalkix BANNED BANNED

    Joined:
    Dec 22, 2008
    Messages:
    449
    Likes Received:
    206
    Hei there.
    Start using Wordpress and here is the plugin that you're looking for http://wordpress.org/extend/plugins/**************-wordpress-plugin/
     
    • Thanks Thanks x 1
  6. pandajam

    pandajam Newbie

    Joined:
    Jun 2, 2009
    Messages:
    45
    Likes Received:
    3
    Thanks guys, I have found out that if I do what I originally wanted then it would not work with the template that I am using, for the purpose that i want...

    It works perfectly by just pasting it in each post, so that looks like what I am going to have to do.

    Cheers everyone, the thread can be locked.