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

Adding to the side columns

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-08-2009, 04:58 AM
 
chris128 chris128 is offline
 

Advanced Member
  
Join Date: Oct 2008
Posts: 94
 

Default Adding to the side columns

Which folders / files do I need to access to add information to the side columns so that the details appear on every page please?
__________________
X-Cart Gold
Version 4.5.2
on windows
UK based
Reply With Quote
  #2  
Old 06-08-2009, 05:18 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Adding to the side columns

skin1/customer/home.tpl

FYI: http://forum.x-cart.com/showthread.php?t=21529

Moving to template editing
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 08-01-2009, 08:08 AM
  SCUBA1609's Avatar 
SCUBA1609 SCUBA1609 is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 48
 

Question Re: Adding to the side columns

Ryan

I have an overlapping problem (?) on my right side bar.

[skin1/customer/home.tpl] When I created my ⌠guarantee■ & ⌠security■ menu boxes I placed them above the authentication box and news box. Unfortunately, the latter two disappeared and a three inch tall white space appeared at the bottom. When I placed the guarantee and security menu boxes below the authentication box the authentication appeared.

Will you kindly help me? Where am I making a mistake? Is this a CSS problem; if so, what code do I modify?

Chris
__________________
4.4.3
Xmail Chimp
www.eHandCrankRadio.com/radiostore

4.2.1
AOM
Magnifier
Special offers

www.KeySleepAids.com
Reply With Quote
  #4  
Old 08-01-2009, 08:15 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Adding to the side columns

can you try making some basic boxes, with jut some text in for now, to see if it's the script(s) inside them or the boxes themselves
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #5  
Old 08-04-2009, 07:46 AM
  SCUBA1609's Avatar 
SCUBA1609 SCUBA1609 is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 48
 

Default Re: Adding to the side columns

Amy

Your suggestion was interesting. I made four menu boxes with text and my authentication menu appeared. The news menu remained hidden. Accordingly, I must deduce the problem is with the scripts within the boxes not in the menu boxes themselves. I would have never guessed this outcome.

Unfortunately, now I▓m lost. The script I used comes directly from my SSL source and from the rating business bureau. I have no idea what to try next. Any ideas?

Chris
__________________
4.4.3
Xmail Chimp
www.eHandCrankRadio.com/radiostore

4.2.1
AOM
Magnifier
Special offers

www.KeySleepAids.com
Reply With Quote
  #6  
Old 08-04-2009, 08:02 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Adding to the side columns

so you had:

news, authentication, text only box, text only box, text only box, text only box,

and news was still hidden?

that sounds like maybe you've moved it inside an if statement that is hiding it.

can you post just this bit of your home.tpl, just the section with all the text only boxes,

first step is to get all the boxes appearing, then you can look at the code, ask your ssl source and the business bureau if they have anything else not a script maybe, just image and text you can use?
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #7  
Old 08-04-2009, 10:33 AM
  SCUBA1609's Avatar 
SCUBA1609 SCUBA1609 is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 48
 

Default Re: Adding to the side columns

skin1/customer/home.tpl

<div id="right-bar">
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/button.tpl"}
{/if}


{if $active_modules.Feature_Comparison && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}


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

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

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

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

{if $login eq "" }
{include file="customer/auth.tpl" }
{else}
{include file="customer/authbox.tpl" }
{/if}


Chris
__________________
4.4.3
Xmail Chimp
www.eHandCrankRadio.com/radiostore

4.2.1
AOM
Magnifier
Special offers

www.KeySleepAids.com
Reply With Quote
  #8  
Old 08-04-2009, 11:07 AM
  amy2203's Avatar 
amy2203 amy2203 is offline
 

X-Wizard
  
Join Date: Jul 2004
Location: Watford, UK
Posts: 1,509
 

Default Re: Adding to the side columns

I take it your news file is definatly in
customer/news.tpl
__________________
X-Cart version 5 (Previously 3.5-4)

Previous Versions included
BCSE Reward Points Mod
Altered Cart On Sale Mod
Wordpress Plugin

Please don't PM me for support. I help where I can on the forum and your question will more likely be answered there.

Shout me a Coffee!
Reply With Quote
  #9  
Old 08-04-2009, 04:18 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Adding to the side columns

If you are trying to insert javascript - be aware that some of the javascript syntax will be interpreted by smarty - so you have to tell the smarty to ignore your javascript by surrounding it with {literal} and {/literal}
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #10  
Old 08-05-2009, 08:39 AM
  SCUBA1609's Avatar 
SCUBA1609 SCUBA1609 is offline
 

Advanced Member
  
Join Date: May 2009
Posts: 48
 

Default Re: Adding to the side columns

I removed an extra </div> from skin1/modules /yoursecurity.tpl.

At the same time I inserted the {literal} immediately after {capture name=menu}
And {/literal} just prior to {/capture}

The authentication menu is now visible but not News Menu

Next I eliminated all menus except for News. News did not appear. Accordingly, either there is an on/off switch inside X-Cart or there is a problem with news.tpl. (I hope) I have never modified the news.tpl file, it should work.

if $active_modules.News_Management}
{insert name="gate" func="news_exist" assign="is_news_exist" lngcode=$shop_language}

{if $is_news_exist}

{capture name=menu}

<div class="news item">
{include file="today_news.tpl"}
</div>

{insert name="gate" func="news_subscription_allowed" assign="is_subscription_allowed" lngcode=$shop_language}

{if $is_subscription_allowed}
<div class="subscribe item">

<form action="news.php" name="subscribeform" method="post">
<input type="hidden" name="subscribe_lng" value="{$store_language|escape}" />

{$lng.lbl_your_email}<br />
<input type="text" name="newsemail" size="16" /><br />

{if $active_modules.Image_Verification && $show_antibot.on_news_panel eq 'Y'}
{include file="modules/Image_Verification/spambot_arrest.tpl" mode="simple_column" id=$antibot_sections.on_news_panel}
{/if}

<div class="button-row center">
{include file="customer/buttons/subscribe_menu.tpl" style="button" type="input" additional_button_class="menu-button"}
</div>

</form>
</div>
{/if}

{/capture}
{include file="customer/menu_dialog.tpl" title=$lng.lbl_news content=$smarty.capture.menu additional_class="menu-news"}

{/if}
{/if}

Chris
__________________
4.4.3
Xmail Chimp
www.eHandCrankRadio.com/radiostore

4.2.1
AOM
Magnifier
Special offers

www.KeySleepAids.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 05:32 AM.

   

 
X-Cart forums © 2001-2020