View Single Post
  #47  
Old 03-09-2007, 10:38 PM
  newattraction's Avatar 
newattraction newattraction is offline
 

Member
  
Join Date: Oct 2006
Posts: 17
 

Thumbs up Re: Improved minicart display

Hi pdheady:

Here's the programming logic flow chat for php files:

home.php ----- contains ----- require ".auth.php";
auth.php ----- contains ----- include $xcart_dir.DIR_CUSTOMER."/minicart.php";
So, minicart.php is included in home.php

Output from home.php is displayed through home.tpl. Connections between home.php and home.tpl can be found here:
func_display("customer/home.tpl",$smarty); (last line in home.php)

Here's the programming logic flow chat for tpl files:

/skin1/customer/home.tpl ----- contains ----- {include file="customer/menu_cart.tpl" }
/skin1/customer/menu_cart.tpl ----- contains ----- {include file="customer/main/minicart.tpl" }
So, minicart.tpl is included in home.tpl, which of course will show up as part of home.tpl output.

I hope this is helpful.

Guosheng
__________________
www.vonbell.com
xcart v4.1.6
Reply With Quote