Results 1 to 7 of 7

Threaded View

  1. #4
    Join Date
    Jul 2006
    Location
    Johannesburg
    Posts
    447
    Plugin Contributions
    1

    Default Re: Suppress page element on ssl encrypted page

    This is working for me.

    Code:
    <?php // If page is SSL then use Secure Code 
    if($_SERVER['HTTPS']=='on'){ 
    ?> 
    
    <?php // Else use Non-Secure Code 
    } else { 
    ?>
    <div style="float:right;"><embed src="http://www.wanders.us/gallery2/minislideshow.swf" width="120" height="80" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="minislide" wmode="transparent" allowFullscreen="true" allowScriptAccess="always" quality="high" flashvars="xmlUrl=http://www.wanders.us/gallery2/mediaRss.php?g2_itemId=4953&shuffle=true&showDropShadow=true&roundedMask=true&limit=40&noLink=true&showControls=false"></embed> 
    </div>
    <?php }
    ?>
    Last edited by Louis; 10 Jan 2010 at 11:37 PM.

 

 

Similar Threads

  1. v150 Adding new element to main or other page
    By dream_mike in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 15 Oct 2012, 09:55 PM
  2. Encrypted Page warning during checkout process
    By EraD in forum General Questions
    Replies: 2
    Last Post: 23 Jan 2010, 02:07 AM
  3. suppress boxes on main index page.FAQ changed?
    By pilot in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jan 2009, 04:37 PM
  4. SSL partial encrypted problem
    By maxus in forum General Questions
    Replies: 12
    Last Post: 5 Feb 2008, 08:10 AM
  5. Adding flash element to product page
    By wcjmproducer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Nov 2006, 10:53 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR