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

how to movie login menu to left column on top

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 01-13-2009, 01:57 AM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: how to movie login menu to left column on top

Sorry still having probs:

I created a new freeship.tpl and loaded this to customer folder where the home.tpl sits, it reads

{* $Id: authbox.tpl,v 1.25.2.1 2007/09/03 06:15:21 max Exp $ *}
{capture name=menu}
Spend over $180 in one order to receive free shipping! <br> <br> Simply enter the coupon code <br><br><strong>bulkbuy</strong> <br> <br> when you check out.
{/capture}
{ include file="menu.tpl" dingbats="dingbats_shipping.gif" menu_title="Bulk Buy" menu_content=$smarty.capture.menu }

I found where the dingbats live and uploaded dingbats_shipping.gif

I then changed the home template to read as follows:

<td class="VertMenuRightColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y' &&
$sns_collector_path_url ne ''}
{include file="modules/SnS_connector/button.tpl"}
<br />
{/if}
{if $active_modules.Feature_Comparison ne "" && $comparison_products ne ''}
{include file="modules/Feature_Comparison/product_list.tpl" }
{/if}
<br />
{include file="news.tpl" }
<br />
{if $login eq "" }
{include file="auth.tpl" }
{else}
{include file="authbox.tpl" }
{/if}
<br />
{include file="customer/menu_cart.tpl" }
<br />
{if $active_modules.XAffiliate ne ""}
<br />
{include file="partner/menu_affiliate.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
<br />
{include file="modules/Interneka/menu_interneka.tpl" }
{/if}
<br />
{include file="freeship.tpl"}
<br />
{include file="poweredby.tpl" }
<br />
</tr>
</table>
{include file="rectangle_bottom.tpl" }
{if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""}
{include file="modules/Google_Analytics/ga_code.tpl"}
{/if}
</body>
</html>
{/if}

and the results were not good I got

Warning: Smarty error: unable to read resource: "freeship.tpl" in /home/makeu/public_html/Smarty-2.6.12/Smarty.class.php on line 1095

does this mean I have to edit the smarty.class.php file as well - any suggestions?
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #12  
Old 01-13-2009, 07:02 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: how to movie login menu to left column on top

home.tpl is customer/home.tpl so it sould be

{include file="customer/freeship.tpl"}
__________________
xcart 5.1.2
Reply With Quote
  #13  
Old 01-13-2009, 07:04 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: how to movie login menu to left column on top

news.tpl should already be in a box.


Quote:
Originally Posted by ladybird
HI ashley,

thanks for all your help. Just a couple of little things...

1) where do I save the image for the dingbat to?

2) If I want to put the news.tpl in a box too,

do I just go:

{* $Id: authbox.tpl,v 1.25.2.1 2007/09/03 06:15:21 max Exp $ *}
{include file="news.tpl" }
{ include file="menu.tpl" dingbats="dingbats_news.gif" menu_title=$lng.lbl_news menu_content=$smarty.capture.menu }
__________________
xcart 5.1.2
Reply With Quote
  #14  
Old 01-13-2009, 03:29 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: how to movie login menu to left column on top

Quote:
Originally Posted by Ashley
news.tpl should already be in a box.

in my version it isn't will my mod work.
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #15  
Old 01-13-2009, 03:38 PM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: how to movie login menu to left column on top

Update:

its OK I fgured it out

instead of

{ include file="menu.tpl" ...

I needed to have

{ include file="menu_border.tpl" ...

so simple really - just have to learn to read what is actually written.

Thanks again for your help.
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #16  
Old 01-13-2009, 07:12 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: how to movie login menu to left column on top

so you got it working.
__________________
xcart 5.1.2
Reply With Quote
  #17  
Old 01-14-2009, 02:04 AM
 
ladybird ladybird is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 93
 

Default Re: how to movie login menu to left column on top

Yes thanks, interestingly the dingbats icons are not appearing - any suggestions?
__________________
x-cart gold 4.1.9
x-cart gold 4.1.5
www.makeuwell.com.au
www.amberbebe.com
Sydney Australia
Reply With Quote
  #18  
Old 01-14-2009, 06:39 AM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: how to movie login menu to left column on top

check file location and make sure spelling is exact, same case and file extension.
__________________
xcart 5.1.2
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 09:54 AM.

   

 
X-Cart forums © 2001-2020