View Single Post
  #1  
Old 01-13-2004, 04:44 AM
 
RobbeUSA RobbeUSA is offline
 

Member
  
Join Date: May 2003
Posts: 13
 

Default 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
Reply With Quote