X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Add New Block in Side Menu - Color Help (https://forum.x-cart.com/showthread.php?t=6002)

RobbeUSA 01-13-2004 04:44 AM

Add New Block in Side Menu - Color Help
 
Hi,

Need a little help here...... What I need to accomplish is to add a new "block" area at the bottom right of the screen, located under the NEWS block area, displaying the Comodo SSL Certificate Seal, with the correct background color.....

IБ─≥ve almost got it, except for the background color on the customer side of xcart, thatБ─≥s my problemБ─╕Б─╕

Here is what I did:

1 I created a new template: "/skin1/comodo_ssl.tpl"

2 Copied the contents of the "news.tpl" over to my new template "comodo_ssl.tpl".

3 Added the needed code/script to the "comodo_ssl.tpl" to display my SSL Seal.

4 Then deleted almost all of the old news code within the "comodo_ssl.tpl" file.

5 Now the "comodo_ssl.tpl" file is displaying the text and seal properly, time to add it to the bottom of the right hand menu.

Below is the "comodo_ssl.tpl" file.

Code:

{ include file="menu.tpl" dingbats="dingbats_secure.gif" menu_title=$lng.txt_128ssl }


Point or click below to verify.


<!--
TrustLogo Html Builder Code:
Shows the logo at URL http://robbeusa.com/images/secure_site.gif
Logo type is Secure Site Seal - For SSL Certificate holders ("SC")
Not Floating
//-->
<center><script type="text/javascript">TrustLogo("http://robbeusa.com/images/secure_site.gif", "SC", "none");</script></center>



6 Within the template: "skin1/customer/home.tpl" I added { include file="comodo_ssl.tpl" } at the bottom of the file in order to display this new "block" at the bottom right.

7 Within the template: "single/home.tpl" I added { include file="comodo_ssl.tpl" } just under the "poweredby.tpl".

8 The new "comodo_ssl.tpl" is displayed properly (location) in both the customer side of xcart, and the admin side. But notice on the customer side, the background of the "comodo_ssl.tpl" is white, and on the admin side of xcart it's grey, like it should be....

-------- CUSTOMER SIDE --------

http://www.robbeusa.com/misc/xcart_customer_ssl.gif

-------- ADMIN SIDE --------

http://www.robbeusa.com/misc/xcart_admin_ssl.gif

What do I need to change in order to get the background of this new "comodo_ssl.tpl" to be grey on the customer side, instead of white?

Thanks,

Jeff Galford

carlisleglass 01-13-2004 04:49 AM

Try this revised 'comodo_ssl.tpl' :

Code:

{capture name=menu}

 
Point or click below to verify.

 
<!--
TrustLogo Html Builder Code:
Shows the logo at URL http://robbeusa.com/images/secure_site.gif
Logo type is Secure Site Seal - For SSL Certificate holders ("SC")
Not Floating
//-->
<center>
<script type="text/javascript">
TrustLogo("http://robbeusa.com/images/secure_site.gif", "SC", "none");
</script>
</center>
{/capture}
{ include file="menu.tpl" dingbats="dingbats_secure.gif" menu_title=$lng.txt_128ssl }


RobbeUSA 01-13-2004 05:25 AM

Hi,

THanks for the code update, but still have some problems. I cut and pasted your code from above, into the "comodo_ssl.tpl" file I have.

-------- Customer Side --------

http://www.robbeusa.com/misc/xcart_revised_1.gif

Now the only thing there is the title of the new block.

ANy ideas?

THx,
Jeff

BTW: I don't know if it means anything, but I also have code within the head.tpl which goes along with this "ssl site seal". The code in both places are needed to display the graphic, and get a popup / new window.

shan 01-13-2004 07:17 AM

this should help

http://forum.x-cart.com/viewtopic.php?t=8138&highlight=

RobbeUSA 01-13-2004 09:18 AM

Shan,

Rock on buddy!!! :D That thread you linked nailed it....... dead nutz!!! 8O

Mucho THANKS!!!

Jeff G


All times are GMT -8. The time now is 04:41 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.