Announcement

Collapse
No announcement yet.

SSL seal code not displaying on home page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    SSL seal code not displaying on home page

    Hello,
    Something strange is happening with some recent code I've pasted in to Actinic.

    My customer has a SSL certificate and I have pasted the in the code which pulls in a seal graphic and contains a link to their certificate. I've gone to the design tab and pasted in the code which has replicated throughout the template.

    The code is working perfectly on all the inner pages and the graphic shows with a built in link no problem - but it wont display on the home page??? the only thing that is different on the home page is that I have a fragment with some flash embeded in to it.

    would anybody mind haing a look at the following site to see if you can spot anything why it might not be working - i think it is something to do with the javascript.

    http://www.lingerieofdesire.co.uk/

    it should be showing down the left hand menu - if you click an inner page you will see how it should look.

    here is the code;
    <!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=130 border=0 cellspacing=0 cellpadding=0 title="CLICK TO VERIFY: This site uses a GlobalSign SSL Certificate to secure your personal information." ><tr><td><span id="ss_img_wrapper_130-65_image_en"><a href="http://www.globalsign.co.uk/ssl/" target=_blank title="SSL Certificates"><img alt="Buy SSL" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_130-65_en.gif"></a></span><script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gs_image_130-65_en.js"></script><br /><a href="http://www.globalsign.co.uk/ssl-information-center/" target=_blank style="color:#000000; text-decoration:none; font:bold 8px arial; margin:0px; padding:0px;">SSL CERTIFICATES - Get Info</a></td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->

    many thanks for your help
    Cheers
    Rob

    #2
    This will be tricky to fix. You have two lines containing:

    src="//seal.globalsign.com/SiteSea......."

    And Actinic doesn't see these as being remote resources because there's no http: or similar. Thus it assumes they're in your acatalog directory and puts acatalog/ in front of them when on the home page.

    It may be easiest to omit these from your home page as any other fix will require some tricky JavaScript obfuscation of the src="//seal.globalsign.com..." stuff to keep Actinic from munging it.

    If you put your code within this BlockIf then it will not display on the home page.
    Code:
    <actinic:block if="%21%20%3cactinic%3avariable%20name%3d%22IsBrochureHomePage%22%20%2f%3e" >
    	YOUR CODE HERE
    </actinic:block>
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Trust-Pilot ... same issue

      We have the exact same issue with some javascript from trust pilot ... a different type of third party verification / feedback.

      The thing is, the most important place for this type of thing is on the home page.

      Could there be some tags we can use to tell Actinic "don't mess with this bit just use as is". I thought of using php tags and settings so Actinic doesn't parse it but then it wouldn't work in cgi-bin pages.

      Ideas welcome. We're also awaiting a support response so will keep you posted.
      Steve Indigo

      Indigo Herbs of Glastonbury

      Indigo Herbs Blog

      Comment


        #4
        Using a JavaScript document.write might do the job. Make sure you break up any src= and .js by concatenation so they don't look like filenames.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Originally posted by NormanRouxel View Post
          Using a JavaScript document.write might do the job. Make sure you break up any src= and .js by concatenation so they don't look like filenames.
          Norman,
          Could you do this for us if we pay you?
          Steve Indigo

          Indigo Herbs of Glastonbury

          Indigo Herbs Blog

          Comment


            #6
            Try this first.
            Replace:
            Code:
            <img alt="Buy SSL" border=0 id="ss_img" src="//seal.globalsign.com/SiteSeal/images/gs_noscript_130-65_en.gif">
            With:
            Code:
            <script type="text/javascript">
            	document.write('<img alt="Buy SSL" border=0 id="ss_img" src' + '="//seal.globalsign.com/SiteSeal/images/gs_noscript_130-65_en.' + 'gif">');
            </script>
            And replace:
            Code:
            <script type="text/javascript" src="//seal.globalsign.com/SiteSeal/gs_image_130-65_en.js"></script>
            With:
            Code:
            <script type="text/javascript">
            	document.write('<script type="text/javascript" src' + '="//seal.globalsign.com/SiteSeal/gs_image_130-65_en.' + 'js"></sc' + 'ript>');
            </script>
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Seems a bit of a catch 22 to place the image (gs_noscript_130-65_en.gif) that will show if js is not enabled in a js doc write though.

              Can you perhaps just change the two instances of //seal... with http://seal... or even https://seal... Both do call up the image and the js.

              Comment


                #8
                I guess the point of the code as written is that it has to work on both SSL and non SSL pages without the browser issuing the dreaded "This site contains secure and insecure...." warning.

                If the browser doesn't have JavaScript enabled, then the default image simply won't show but it won't stop the site working.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  If you really want to show that image when JavaScript is disable, then why not get a copy from http://seal.globalsign.com/SiteSeal/..._130-65_en.gif, save it in your Site folder and put
                  Code:
                  <noscript><img src="gs_noscript_130-65_en.gif" /></noscript>
                  After the </script> on my first bit of replacement code.
                  Norman - www.drillpine.biz
                  Edinburgh, U K / Bitez, Turkey

                  Comment


                    #10
                    This works great in that there is a clickable link on our home page www.gibsondoyle.co.uk, however the image is not displaying.

                    This is the code I am using if anyone can shed some light on this I would be grateful.

                    <!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT ---><table width=125 border=0 cellspacing=0 cellpadding=0 title="CLICK TO VERIFY: This site uses a GlobalSign SSL Certificate to secure your personal information." ><tr><td><span id="ss_img_wrapper_gmogs_image_125-50_en_white"><a href="https://www.globalsign.co.uk/" target=_blank title="GlobalSign Site Seal" rel="nofollow"> <script type="text/javascript">document.write('<img alt="Buy SSL" border=0 id="ss_img" src' + '="//seal.globalsign.com/SiteSeal/images/gmogs_image_125-50_en_white.' + 'png">');</script> </a></span> <script type="text/javascript">document.write('<script type="text/javascript" src' + '="//seal.globalsign.com/SiteSeal/gmogs_image_125-50_en_white.' + 'js"></sc' + 'ript>');
                    </script> </td></tr></table><!--- DO NOT EDIT - GlobalSign SSL Site Seal Code - DO NOT EDIT --->

                    Comment


                      #11
                      Another issue is that it slows the sellerdeck software to a crawl?

                      Comment


                        #12
                        Put a BlockIf containing IsNotPreviewMode around such code. Numerous posts regarding this if you need further clarification.
                        Norman - www.drillpine.biz
                        Edinburgh, U K / Bitez, Turkey

                        Comment


                          #13
                          Originally posted by NormanRouxel View Post
                          Put a BlockIf containing IsNotPreviewMode around such code. Numerous posts regarding this if you need further clarification.
                          That has certainly speeded things up Norman, thank you.

                          The only problem I've got now is the site seal image not showing on our home page under the basket, although you can click where it should be and this will open a verification window to view?

                          Comment

                          Working...
                          X