全新做一个自己的模板步骤是?应参考那些文档?

http://www.zen-cart.cn/forum/topic432-20.html#p26340

 

http://www.zen-cart.cn/forum/topic6914.html

 

文件路径 注释
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 所有页面的页脚

偶已经看过了,好像目前为止,这个相对详细一些了。。

posted @ 2013-03-15 17:41  awinlei  阅读(221)  评论(0编辑  收藏  举报