+ Reply to Thread
Results 1 to 2 of 2

Thread: SSL works fine ---- without Google custom site search

  1. #1
    Client
    Join Date
    Nov 2007
    Posts
    56
    Squirrelcart version
    v3.0.0

    SSL works fine ---- without Google custom site search

    My SSL works fine if I comment out the Google Custom Search Engine from my template.

    I only need the SSL on the checkout pages.

    Is there anyway to add php in my template to query:


    Is this a checkout page? if NO,

    insert Google Custom Search Engine code,

    else,

    proceed without GCSE.

    This should take care of my current problem, but I don't know how to write that in PHP, or if there are "handles" to indicate a checkout page.

    Help anyone?

  2. #2
    Squirrelcart Staff Jamie's Avatar
    Join Date
    May 2002
    Posts
    6,719
    Squirrelcart version
    v3.3.7
    PHP Code:
    <?php if (!strstr(SC_STORE_DIR_DYN,'https:')): ?>
    GOOGLE CODE HERE
    <?php endif; ?>

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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