更改标题发生错误

Zen Cart模板模版教程、设计、使用交流,欢迎大家把自创的模版 show 出来

版主: radnows

版面规则
严禁盗版、侵权的模板下载、讨论,违者封ID、IP。

更改标题发生错误

帖子andyth0411 » 2011-12-30 16:53

为什么我修改了meta_tag.php以后网站标题变为TITLETERTIARY_SECTIONSITE_TAGLINE?
一下是代码:
<?php/** * @package languageDefines * @copyright Copyright 2003-2008 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: meta_tags.php 10330 2008-10-10 20:14:32Z drbyte $ */// page titledefine('TITLE', 'Getin Promos');// Site Taglinedefine('SITE_TAGLINE', 'Your professional promotion parter');// Custom Keywordsdefine('CUSTOM_KEYWORDS', 'promotional products,promotional items,gifts,China');// Home Page Only: define('HOME_PAGE_META_DESCRIPTION', ''); define('HOME_PAGE_META_KEYWORDS', ''); // NOTE: If HOME_PAGE_TITLE is left blank (default) then TITLE and SITE_TAGLINE will be used instead. define('HOME_PAGE_TITLE', ''); // usually best left blank// EZ-Pages meta-tags. Follow this pattern for all ez-pages for which you desire custom metatags. Replace the # with ezpage id.// If you wish to use defaults for any of the 3 items for a given page, simply do not define it.// (ie: the Title tag is best not set, so that site-wide defaults can be used.)// repeat pattern as necessary define('META_TAG_DESCRIPTION_EZPAGE_#',''); define('META_TAG_KEYWORDS_EZPAGE_#',''); define('META_TAG_TITLE_EZPAGE_#', '');// Per-Page meta-tags. Follow this pattern for individual pages you wish to override. This is useful mainly for additional pages.// replace "page_name" with the UPPERCASE name of your main_page= value, such as ABOUT_US or SHIPPINGINFO etc.// repeat pattern as necessary define('META_TAG_DESCRIPTION_page_name',''); define('META_TAG_KEYWORDS_page_name',''); define('META_TAG_TITLE_page_name', '');// Review Page can have a lead in: define('META_TAGS_REVIEW', 'Reviews: ');// separators for meta tag definitions// Define Primary Section Output define('PRIMARY_SECTION', ' : ');// Define Secondary Section Output define('SECONDARY_SECTION', ' - ');// Define Tertiary Section Output define('TERTIARY_SECTION', ', ');// Define divider ... usually just a space or a comma plus a space define('METATAGS_DIVIDER', ' ');// Define which pages to tell robots/spiders not to index// This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched. define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit,account_history,account_history_info,account_newsletters,account_notifications,account_password,address_book,advanced_search,advanced_search_result,checkout_success,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,cookie_usage,create_account_success,contact_us,download,download_timeout,customers_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe,info_shopping_cart,popup_image,popup_image_additional,product_reviews_write,ssl_check');// favicon setting// There is usually NO need to enable this unless you need to specify a path and/or a different filename// define('FAVICON','favicon.ico');?>
andyth0411
新手上路
新手上路
 
帖子: 5
注册: 2011-12-07 22:08

Re: 更改标题发生错误

帖子kli3ds » 2011-12-31 8:09

具体你改了哪里,先恢复原文件吧
kli3ds
VIP会员
VIP会员
 
帖子: 597
注册: 2008-06-12 20:28
地址: 商品采集-模板制作-程序修改-支付宝担保交易
QQ 帐号: 429553052

Re: 更改标题发生错误

帖子zencarter » 2011-12-31 9:04

是不是清除了回车跟换行?
如果是的话,说明某行些的注释对下一行也生效了
还原就行
头像
zencarter
VIP会员
VIP会员
 
帖子: 536
注册: 2011-06-22 15:03
地址: zencart建站 模板 产品采集 支付宝担保交易 http://t.qq.com/wb631992791
QQ 帐号: 631992791


回到 模板美工

在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客

cron