X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Menu and Cart tpl (https://forum.x-cart.com/showthread.php?t=2886)

ETInteractive.com 05-27-2003 04:13 AM

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

shan 05-27-2003 04:23 AM

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

ETInteractive.com 05-27-2003 04:26 AM

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

ETInteractive.com 05-27-2003 04:55 AM

:cry: :cry:

Anybody?

shan 05-27-2003 04:57 AM

menu.tpl is where you want to start.

as of v3.4.0 this works more like the dialog.tpl does

ETInteractive.com 05-27-2003 05:07 AM

Shan

THANKS!!!!!!!!!! a ton! :wink:


All times are GMT -8. The time now is 10:47 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.