Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    222
    Plugin Contributions
    1

    Default Re: I want some footer code not to show up on the https pages

    Thanks

    Its going in the footer before the </body>


    It looks like this so do i do

    <php>
    if ($request_type != 'SSL') {



    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = xxxxxxxxxx;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "xxxxxxxxxx";
    var google_conversion_value = 0;
    /* ]]> */
    </script>

    }

    </php>


    Sorry im not familair with putting in php tag

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: I want some footer code not to show up on the https pages

    Not exactly like that. You'll need to close php tags before adding other scripts. This is how it should look like:

    Code:
    <?php
    if ($request_type != 'SSL') {
    ?>
    
    <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = xxxxxxxxxx;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "xxxxxxxxxx";
    var google_conversion_value = 0;
    /* ]]> */
    </script>
    
    <?php
    }
    ?>
    I tried to point out what you were missing in red.

 

 

Similar Threads

  1. Some pages do not show up...
    By yellowaircraft in forum Customization from the Admin
    Replies: 2
    Last Post: 26 Sep 2012, 09:41 PM
  2. v138a Some category pages do not show products
    By riky in forum General Questions
    Replies: 12
    Last Post: 26 Apr 2012, 02:58 PM
  3. Dont want to show IP Address status in the footer...
    By Kruna in forum General Questions
    Replies: 1
    Last Post: 11 Aug 2007, 10:33 PM
  4. moving site - want the WHOLE thing https not http
    By humbll in forum General Questions
    Replies: 5
    Last Post: 2 Jun 2007, 01:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg