Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

New Side Box

   X-Cart forums > X-Cart 4 > Changing design
Thread Tools Search this Thread
Old 12-13-2010, 07:29 AM
digiemp digiemp is offline

Senior Member
Join Date: Aug 2007
Posts: 192

Default Re: New Side Box

Originally Posted by shirtshop
how can you do this under 4.4.1 pro version?

To add a box on the right side, look here: /common_files/customer/right_bar.tpl

For the left it would be left_bar.tpl. Just create a new .tpl file and add the {include} code talked about above where ever you want.
version 4.4.2
Reply With Quote
Old 12-19-2010, 06:15 AM
ScrapbookSupplies ScrapbookSupplies is offline

Join Date: Oct 2009
Location: Texas
Posts: 325

Default Re: New Side Box

Hi there,
I am trying to piggy back on this post but am using 4.4.1.

I opened up and used my right_bar.tpl (inside skin/common_files) rather than the home.tpl. The code didn't match with the new new version so the righ_bar.tpl seemed to make the most sense (I'm a newb).

Anyway, in right_bar.tpl I added:

{include file="customer/support.tpl"}

Then I created a file called support.tpl and uploaded it to the skin/common_templates/customer/. In it I added:

{capture name=menu}
<!-- Chat Button Link Code --><a href="javascript:void('','','width=590,height=580,left=0,top=0,re sizable=yes,menubar=no,location=no,status=yes,scro llbars=yes'))"><img src="" width="141" height="81" border="0" alt="Live Site and Product Support"></a><noscript><div><a href="" target="_blank">Start Live Help Chat</a></div></noscript><!-- Chat Button Link Code --><!-- Tracking Code --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">
var script = document.createElement("script");script.type="text /javascript";var src = ""+Math.r andom();setTimeout("script.src=src;document.getEle mentById('livezilla_tracking').appendChild(script) ",1);</script><!-- Tracking Code -->
{include file="customer/menu_dialog.tpl" title="Links" content=$}

Thought it would work but nothin happened. Any ideas?

I grayed out what I was trying to put as content in the box (it's a live help, chat link).

Thank you!

PS. Using "Smart Template" on 4.4.1, no mods.
(1) xCart
(1) xPayments

2-12-14 FOR SALE
Reply With Quote
Old 05-10-2011, 08:36 PM
graffix graffix is offline

Advanced Member
Join Date: Jan 2011
Posts: 39

Default Re: New Side Box

Originally Posted by
Hi there,

It's pretty easy - open up skin1/customer/home.tpl and find the line:

<div id="right-bar">

And place the following code below it - work out exactly where e.g. below the minicart but above the news section for instance.

{include file="modules/links.tpl"}

Now save home.tpl.

Now, in your skin1/modules folder, create a new file called links.tpl and place the following code inside:

{capture name=menu} <ul> <li>LINK 1</li> <li>LINK 2</li> <li>LINK 3</li> ... </ul> {/capture} {include file="customer/menu_dialog.tpl" title="Links" content=$}

Change the links to whatever you would like and save.

My Implementation for 4.4.2

in /skin1/customer/left_bar.tpl below

{include file="customer/links.tpl"}
to the section where I wanted it displayed. Keep in mind that the div id is set from content.tpl.

saved and uploaded

in skin1/customer folder create a file called links.tpl and put this in it.

{capture name=menu}

<li>LINK 1</li>
<li>LINK 2</li>
<li>LINK 3</li>

{include file="customer/menu_dialog.tpl" title="Links" content=$}

worked well, thanks.
version 4.4.3
sales and stats
Reply With Quote

The following user thanks graffix for this useful post:
sligo (10-13-2011)
Old 10-13-2011, 08:29 AM
sligo sligo is offline

Join Date: Jun 2011
Posts: 14

Default Re: New Side Box

And be sure to tick off

"Do not check if templates are changed (Smarty compile_check)."

in admin area. Otherwise all Your changes will be not seen in Your store
X-Cart version 4.4.2
Preorder / Backorder
Reply With Quote
Old 07-18-2012, 12:29 PM is offline

Join Date: Jun 2012
Location: Belize
Posts: 14

Default Re: New Side Box

Hi how can i add side box on 4.5.0 gold version i use books and magazine template
i tried the above method and it doesn't show up any thing on the page.
i created a new tpl and added in home.tpl
Please help
Thanks in advance
X-Cart 4.5.2 Gold
Drop Shipping
Smart Template
Gahela Support
Reply With Quote
Old 04-25-2014, 10:35 AM
  frusciante's Avatar 
frusciante frusciante is offline

Join Date: Dec 2005
Location: United States
Posts: 2

Default Re: New Side Box

I trying to add a box with adsense google code.

1-.I'm using X-cart version 4.0.18 and I added the links.tpl in the skin1/modules and
2-.I added the code:
{include file="modules/links.tpl"}
to the skin1/customer/home.tpl after the
<!-- /central space -->

and nothing happen.Can anybody tell me exactly where to put the code.Thanks!!
Mauricio Frusciante
Reply With Quote
   X-Cart forums > X-Cart 4 > Changing design

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT -8. The time now is 11:48 PM.


X-Cart forums © 2001-2020