Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Geotrust Dynamic Site Seal doesn't show on the page.

Geotrust Dynamic Site Seal doesn't show on the page.

Locked

Views: 2,309

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Sep 2009, 11:52 PM
#1
linda408 avatar

linda408

New Zenner

Join Date:
Sep 2009
Posts:
41
Plugin Contributions:
0

Geotrust Dynamic Site Seal doesn't show on the page.

Hello.

Our Geotrust Dynamic Site Seal doesn't show on the page. The space for the image/link is clickable and it does open up the Geo Trust verify page. Have no idea what is wrong...

here is the CODE:

$content .= '<!-- Start Trustico VDOM Smart Seal -->';
$content .= '<div style="margin: 0 0 10px 0; padding-left: 18px;"><script language="JavaScript" type="text/javascript" src="https://smarticon.geotrust.com/vdom.js"></script></div>';
$content .= '<!-- End Trustico VDOM Smart Seal -->';

Right below it we have our Authorize.net Certificate and it works (shows on the page) just fine.

Any ideas on what is going on??
Thanks.

28 Sep 2009, 12:13 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Geotrust Dynamic Site Seal doesn't show on the page.

Link to your site

28 Sep 2009, 8:37 AM
#3
linda408 avatar

linda408

New Zenner

Join Date:
Sep 2009
Posts:
41
Plugin Contributions:
0

Re: Geotrust Dynamic Site Seal doesn't show on the page.

Thank you for your reply.
We figured out what the problem was.

Is the a way to only display our side box with a Certificate in it on selected pages (not all of them)??

28 Sep 2009, 11:16 AM
#4
linda408 avatar

linda408

New Zenner

Join Date:
Sep 2009
Posts:
41
Plugin Contributions:
0

Re: Geotrust Dynamic Site Seal doesn't show on the page.

This thread explains it: http://www.zen-cart.com/forum/showthread.php?t=88597

But I am not sure how to put restrictions on multiple pages for the same sidebox...

28 Sep 2009, 11:35 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Geotrust Dynamic Site Seal doesn't show on the page.

Let's say you want to control the shopping_cart sidebox and did not want to see it on the shopping_cart or the privacy page ...

If the variable you are setting is:
$show_shopping_cart_box

then you could use something like this:

      if ( $_GET['main_page'] != FILENAME_SHOPPING_CART && $_GET['main_page'] != FILENAME_PRIVACY ) {
        $show_shopping_cart_box = true;
      } else {
        $show_shopping_cart_box = false;
      }
1 Oct 2009, 10:42 AM
#6
linda408 avatar

linda408

New Zenner

Join Date:
Sep 2009
Posts:
41
Plugin Contributions:
0

Re: Geotrust Dynamic Site Seal doesn't show on the page.

Thank you Linda, I'll try it.

2 Oct 2009, 9:36 AM
#7
linda408 avatar

linda408

New Zenner

Join Date:
Sep 2009
Posts:
41
Plugin Contributions:
0

Re: Geotrust Dynamic Site Seal doesn't show on the page.

OK, I tried this and it did not work...

<?php // test if box should display $show_authorizedotnet_sidebox = false; if ( $_GET['main_page'] != FILENAME_PRODUCTS_ID && $_GET['main_page'] != FILENAME_FAQ ) { $show_authorizedotnet_sidebox = true; } else { $show_authorizedotnet_sidebox = false; } if ($show_authorizedotnet_sidebox == true) { require($template->get_template_dir('tpl_authorizedotnet_sidebox.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_authorizedotnet_sidebox.php'); $title = BOX_HEADING_AUTHORIZEDOTNET_SIDEBOX; $title_link = false; require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/tpl_box_no_head.php'); } ?>

It just shows on every page... What did I write wrong??