| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
how to add custom side blocks? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
how to add custom side blocks?
Hello, this question has probberbly been asked b4,
is there a way i can add credit card logos and my digicert ssl logo to my shop front in a block on the left hand side? i am new to x-cart so please excuse my n00b'nes.
__________________
x-cart-4.0.9gold |
|||||||
#2
|
|||||||
|
|||||||
Look at mine
look at my site..you will see mine..if that is how you wanna do it can tell you how..
__________________
Al Wapiticboy \"When all else fails...PUNT! X-Cart 4.0.18 & 4.1.2 Pro versions installed on various websites FreeBSD 4.8-RELEASE MySQL 4.0.27 PERL v5.008008 PHP 4.4.2 Net::SSLeay 1.30 libCURL libcurl/7.15.3 OpenSSL/0.9.7e zlib/1.2.2 |
|||||||
#3
|
|||||||
|
|||||||
Yeah thats what i want to do! :P hows it done???
__________________
x-cart-4.0.9gold |
|||||||
#4
|
|||||||
|
|||||||
How I did it
you can build a .tpl for each logo/etc. you want in that box area or you can build one with all the logos/etc in one tpl.
I would recommend you put one logo/etc. in an individual tpl for each..that way it is easily changed/added/deleted etc. my tpl named "authorizenet_logo.tpl in the store's root in my case located at ecomm/authorizenet_logo.tpl here is the code I used.. <table width="100%" border="0" cellspacing="1" cellpadding="2"> <tr> <td align="center" valign="top"> [img]{$ImagesDir}/anetpow.gif[/img] </tr> </table> once you build the tpl you want then go to ..customer/home.tpl open home.tpl and then add the link to your new tpl under the last menu file call which is usually help.tpl my home.tpl currently reads as follows: {* include file="help.tpl" *} (note that I have this disabled in my design {include file="secure_cert.tpl"} {include file="bbbonline.tpl"} {include file="scanalert.tpl"} {include file="cspringsonline_link.tpl"} {include file="authorizenet_logo.tpl"} the new one you would add with your named file the beauty of making one logo per tpl is that you can move them wherever you want in your design.. OBTW: here is my code for my credit card image string: file name: ccards_accepted.tpl <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td align="center" valign="top"> [img]{$ImagesDir}/payments_accepted.gif[/img] </tr> </table>[/img]
__________________
Al Wapiticboy \"When all else fails...PUNT! X-Cart 4.0.18 & 4.1.2 Pro versions installed on various websites FreeBSD 4.8-RELEASE MySQL 4.0.27 PERL v5.008008 PHP 4.4.2 Net::SSLeay 1.30 libCURL libcurl/7.15.3 OpenSSL/0.9.7e zlib/1.2.2 |
|||||||
#5
|
|||||||
|
|||||||
Thanks i am giving it a go now :P
~Edit to avoid double posting~ Wow thanks the code works great!!!! :P
__________________
x-cart-4.0.9gold |
|||||||
#6
|
|||||||
|
|||||||
YW
YW
__________________
Al Wapiticboy \"When all else fails...PUNT! X-Cart 4.0.18 & 4.1.2 Pro versions installed on various websites FreeBSD 4.8-RELEASE MySQL 4.0.27 PERL v5.008008 PHP 4.4.2 Net::SSLeay 1.30 libCURL libcurl/7.15.3 OpenSSL/0.9.7e zlib/1.2.2 |
|||||||
#7
|
|||||||
|
|||||||
I've got a similar one on my website www.sarversystems.com
__________________
4.1.7 X-Cart Gold Product Configurator Module Advanced Order Management Module RMA Module Feature Compare Module Blue Dream theme by 7Dana.com |
|||||||
|
|||
X-Cart forums © 2001-2020
|