zencart二次开发必备
主样式表
includes\templates\classic\css\stylesheet.css
整个页面组织
D:\WEB\zen-cart\includes\templates\template_default\common\tpl_main_page.php
网页左右栏width源代码:
动态调用width: ”>,
在后台-configuration-layout里可以更改Column Width/Column Width – Left Boxes
商品分类名称Categories更改:BOX_HEADING_CATEGORIES,
“D:\WEB\zen-cart\includes\languages\english.php”(78,11): define(’BOX_HEADING_CATEGORIES’, ‘Categories’);
spooer名称更改:define(’BOX_HEADING_BANNER_BOX’,’Sponsors’)
默认模板,左spooner对应’BOX_HEADING_BANNER_BOX’ 右上spooer对’BOX_HEADING_BANNER_BOX_ALL’
右下spooer对应BOX_HEADING_BANNER_BOX2
左边栏处理:只保留includes\templates\template_default\sideboxes\tpl_categories.php,在里面增加
图片链接
右边栏的处理:
1.后台设置为保留who’s onlie(sideboxes/whos_online.php),
与之对应的 tpl_box_default_right.php,查找进行替换
2.添加左边栏目内容,对tpl_box_default_right.php更改:
中部修改:
=================
\includes\templates\template_default\templates\tpl_index_default.php
去掉顶部说明:
去掉欢迎信息:
去掉顶部导航:
\includes\templates\template_default\common\tpl_main_page.php
模板顶部修改:
================
\zen-cart\includes\templates\template_default\common\tpl_header.php
内可增加链接
/**
* prepares and displays header output
*
*/
if (CUSTOMERS_APPROVAL_AUTHORIZATION == 1 && CUSTOMERS_AUTHORIZATION_HEADER_OFF == ‘true’ and ($_SESSION['customers_authorization'] != 0 or $_SESSION['customer_id'] == ”)) {
$flag_disable_header = true;
}
require($template->get_template_dir(’tpl_header.php’,DIR_WS_TEMPLATE, $current_page_base,’common’). ‘/tpl_header.php’);?>
上段从
顶部搜索按钮修改:
\includes\templates\template_default\common\tpl_header.php :
自动生成导航栏:
\includes\templates\template_default\templates\tpl_modules_categories_tabs.php
将其代码掏空,重新添加导航代码:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/**
* Module Template – categories_tabs
*
* Template stub used to display categories-tabs output*
* @package templateSystem
* @copyright Copyright 2003-2005 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: tpl_modules_categories_tabs.php 3395 2006-04-08 21:13:00Z ajeh $
*/
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
?>
= 1) { ?>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
清除多余的log背景:
\zen-cart\includes\templates\template_default\common\tpl_header.php
底部导航修改:
\includes\templates\template_default\common\tpl_main_page.php
I’ll gear this review to 2 types of people: current Zune owners who are considering an upgrade, and people trying to decide between a Zune and an iPod. (There are other players worth considering out there, like the Sony Walkman X, but I hope this gives you enough info to make an informed decision of the Zune vs players other than the iPod line as well.)
If you’re still on the fence: grab your favorite earphones, head down to a Best Buy and ask to plug them into a Zune then an iPod and see which one sounds better to you, and which interface makes you smile more. Then you’ll know which is right for you.
The Zune concentrates on being a Portable Media Player. Not a web browser. Not a game machine. Maybe in the future it’ll do even better in those areas, but for now it’s a fantastic way to organize and listen to your music and videos, and is without peer in that regard. The iPod’s strengths are its web browsing and apps. If those sound more compelling, perhaps it is your best choice.
Do you care if I research part of this upon my web site if I submit a mention of this web site?
Neat blog. I enjoyed reading and I’ll be back later
Eight years later — which have a couple of hot seats too 25-interception season providing speed bumps while doing the mission — they are two-time Super Bowl champions, arguably an unheralded coach-quarterback combination.
seemingly always on the same page.And Coughlin and Manning seem secure in knowing they couldn’t did it without the.On the night in case the Giants received their Super Bowl XLVI rings, Manning. 31.
said he additionally the 65-year-old Coughlin “talk all the time.”"Our friendship has gotten stronger!” Manning said,”(They are) just a great man while a great football coach,I know I feel young.I’m certain he feels young!And hopefully we’re able to continue to have a few of good seasons earlier than us.”Coughlin and Manning consist of a comfortable fit. especially even on a balmy Wednesday night in Los angeles, when the Giants gathered at Tiffany & Co.for your ring ceremony.Coughlin and Manning were always going to succeed or fail together! and mainly due to each other,From the 10th game of his rookie season. Manning became the Giants’ starter.Way before that, he previously been tested by his head coach.”Well! I know the way important coach Coughlin has been to me,” Manning said in just a moment of reflection,”Our relationship (took shape) my rookie year but was not playing the fact and he made me stay late every night and draft every blitz that this opposing team tried and how we’re protected.”Just doing that, I came to be prepared, even so the I wasn’t playing!I came to be prepared (for) what was going to be required of me traditional casino quarterback!(Coughlin) taught me to grind one another!” Manning said.”We had memories and some difficult times along the way! but our relationship always has been strong!We have great respect for him amazing work ethic that they puts towards football,I’m sure he has a for me.”