| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Add New Block in Side Menu - Color Help | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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:
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 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Try this revised 'comodo_ssl.tpl' :
Code:
__________________
Darren Kierman Carlisle Glass (http://www.carlisleglass.co.uk/) ... running X-Cart Gold 4.4.5 [unix] |
|||||||||
#3
|
|||||||
|
|||||||
![]() 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. |
|||||||
#4
|
|||||||||
|
|||||||||
![]()
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Shan,
Rock on buddy!!! ![]() ![]() Mucho THANKS!!! Jeff G |
|||||||
|
|||
X-Cart forums © 2001-2020
|