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

Different headers in pages..

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-15-2005, 10:36 AM
 
plamen plamen is offline
 

Newbie
  
Join Date: Jul 2005
Posts: 4
 

Default Different headers in pages..

Hello,
I have a problem, I want when the user visits his shopping cart(cart.php), the page to have a different header from the home.php,
In this way I want to change the top_menu.tpl design.... so I made a top_menu_cart.tpl and uploaded it on the server, and I wanted to change the included top_menu.tpl in the cart.php with the new one that I`ve made, but... I cannot find where...
I want to make a kind of a tab menu, so the active tab is different in any page, cart.php, home.php, help.php.....
The images and the code are ready, but where to change the included menu in every page?

How to do this?
__________________
X-Cart Version 4.0.14
Reply With Quote
  #2  
Old 07-15-2005, 11:22 AM
 
plamen plamen is offline
 

Newbie
  
Join Date: Jul 2005
Posts: 4
 

Default

Sorry for the second post... but I find something and want to ask.
I looked through the source of cart.php and I discovered in the end that

func_display("customer/home.tpl",$smarty);


So, if i change this to:

func_display("customer/home_cart.tpl",$smarty);

and I make home_cart.tpl the same as home.tpl but with different top_menu
Does this solve my problem? Will be everything all right?
__________________
X-Cart Version 4.0.14
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:18 PM.

   

 
X-Cart forums © 2001-2020