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

Menu and Cart tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-27-2003, 04:13 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default Menu and Cart tpl

Ok, i need some help.

Im trying to edit the menus and complete change the dingbat and the label. I want to replace all that with an image.

it seems that the cart tpl calls "menu" and passes in a var for dingbat. how can i get around this? but still keep the functionality that is being used, to verify it your logged in, etc (the "if" statements)

TIA,
Tony
Reply With Quote
  #2  
Old 05-27-2003, 04:23 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

just edit the top part of the menu files and leave the if statements as they are.

What version are you using anyway as things changed as of v3.4.0
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 05-27-2003, 04:26 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

yea, im using 3.4.0

Code:
{* $Id: menu_cart.tpl,v 1.20 2003/04/07 06:03:16 svowl Exp $ *} {capture name=menu} {include file="customer/main/minicart.tpl"} {$lng.lbl_view_cart} {$lng.lbl_checkout} {if $active_modules.Wishlist ne "" and $wlid ne ""} {$lng.lbl_friends_wish_list} {/if} {if $login ne ""} {if $active_modules.Wishlist ne ""} {$lng.lbl_wish_list} {/if} {$lng.lbl_modify} {$lng.lbl_profile} {$lng.lbl_delete} {$lng.lbl_profile} {$lng.lbl_orders_history} {if $user_subscription ne ""} {include file="modules/Subscriptions/subscriptions_menu.tpl"}</a> {/if} {/if} {/capture} { include file="menu.tpl" dingbats="dingbats_orders.gif" menu_title=$lng.lbl_your_cart menu_content=$smarty.capture.menu }

this is the menu_cart.tpl, which i assume is passing in the variable for dingbat and such...i want to use a full image, instead
Reply With Quote
  #4  
Old 05-27-2003, 04:55 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default



Anybody?
Reply With Quote
  #5  
Old 05-27-2003, 04:57 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

menu.tpl is where you want to start.

as of v3.4.0 this works more like the dialog.tpl does
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #6  
Old 05-27-2003, 05:07 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

Shan

THANKS!!!!!!!!!! a ton!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > 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:55 AM.

   

 
X-Cart forums © 2001-2020