![]() |
zencart的文件结构
网络上搜集了一个zencart的文件结构图
文件路径 注释 index.php 主文件 includes/templates/[custom template folder]/common/html_header.php 页面的head部分 includes/templates/[custom template folder]/common/tpl_main_page.php 页面的body部分 includes/templates/[custom template folder]/common/tpl_header.php 所有页面的页眉 (column left) includes/templates/[custom template folder]/common/main_template_vars.php 决定页面的内容部分,缺省为 ‘tmp_index_default.php’ 首页 – 缺省 includes/templates/[custom template folder]/templates/tmp_index_default.php 首页模板文件 首页 – 显示分类 includes/templates/[custom template folder]/templates/tpl_index_categories.php 首页上显示分类时的模板文件 includes/modules/[custom template folder]/pages/index/category_row.php 选择要显示的分类 includes/templates/[custom template folder]/templates/tpl_index_category_row.php 显示分类 首页 – 显示指定分类 includes/templates/[custom template folder]/templates/tpl_index_product_list.php 首页上显示指定的分类时采用的模板文件 includes/modules/[custom template folder]/product_listing.php 将商品数据添加到数组 includes/templates/[custom template folder]/templates/tpl_modules_product_listing.php 显示商品数量和商品导航菜单 includes/templates/[custom template folder]/common/tpl_list_box_content.php 显示商品数组 商品信息页面 includes/templates/[custom template folder]/templates/tpl_product_info_display.php 显示单件商品信息 购物车页面 includes/templates/[custom template folder]/templates/tpl_shopping_cart_default.php 购物车页面 (column right) includes/templates/[custom template folder]/common/tpl_footer.php 所有页面的页脚 |
| All times are GMT +8. The time now is 04:51 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.