分页: 4 / 5

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-10 23:55
gun520rose
那首页的广告怎么放的啊

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-11 11:41
wto-ugg
欢迎共享

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-15 11:57
sloanxue
各位大大帮忙看看
安装这个模板后出现500内部服务器错误
调试的结果是显示错误在includes/templates/ugg/common/html_header.php on line 9
第9行内容如下

劳烦各位帮忙 谢谢

<meta http-equiv="imagetoolbar" content="no" /><meta name="author" content="ZenCartHome.COM" /><meta name="generator" content="ZenCartHome.COM" /><?php if (defined('ROBOTS_PAGES_TO_SKIP') && in_array($current_page_base,explode(",",constant('ROBOTS_PAGES_TO_SKIP'))) || $current_page_base=='down_for_maintenance' || $robotsNoIndex === true) { ?><meta name="robots" content="noindex, nofollow" /><?php } ?><?php if (defined('FAVICON')) { ?><link rel="icon" href="<?php echo FAVICON; ?>" type="image/x-icon" /><link rel="shortcut icon" href="<?php echo FAVICON; ?>" type="image/x-icon" /><?php } //endif FAVICON ?><base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER . DIR_WS_HTTPS_CATALOG : HTTP_SERVER . DIR_WS_CATALOG ); ?>" /><?php/** * load all template-specific stylesheets, named like "style*.css", alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^style/', '.css'); while(list ($key, $value) = each($directory_array)) { echo '<link rel="stylesheet" type="text/css" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n"; }/** * load stylesheets on a per-page/per-language/per-product/per-manufacturer/per-category basis. Concept by Juxi Zoza. */ $manufacturers_id = (isset($_GET['manufacturers_id'])) ? $_GET['manufacturers_id'] : ''; $tmp_products_id = (isset($_GET['products_id'])) ? (int)$_GET['products_id'] : ''; $tmp_pagename = ($this_is_home_page) ? 'index_home' : $current_page_base; $sheets_array = array('/' . $_SESSION['language'] . '_stylesheet', '/' . $tmp_pagename, '/' . $_SESSION['language'] . '_' . $tmp_pagename, '/c_' . $cPath, '/' . $_SESSION['language'] . '_c_' . $cPath, '/m_' . $manufacturers_id, '/' . $_SESSION['language'] . '_m_' . (int)$manufacturers_id, '/p_' . $tmp_products_id, '/' . $_SESSION['language'] . '_p_' . $tmp_products_id ); while(list ($key, $value) = each($sheets_array)) { //echo "<!--looking for: $value-->\n"; $perpagefile = $template->get_template_dir('.css', DIR_WS_TEMPLATE, $current_page_base, 'css') . $value . '.css'; if (file_exists($perpagefile)) echo '<link rel="stylesheet" type="text/css" href="' . $perpagefile .'" />'."\n"; }/** * load printer-friendly stylesheets -- named like "print*.css", alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), '/^print/', '.css'); sort($directory_array); while(list ($key, $value) = each($directory_array)) { echo '<link rel="stylesheet" type="text/css" media="print" href="' . $template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css') . '/' . $value . '" />'."\n"; }/** * load all site-wide jscript_*.js files from includes/templates/YOURTEMPLATE/jscript, alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.js'); while(list ($key, $value) = each($directory_array)) { echo '<script type="text/javascript" src="' . $template->get_template_dir('.js',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value . '"></script>'."\n"; }/** * load all page-specific jscript_*.js files from includes/modules/pages/PAGENAME, alphabetically */ $directory_array = $template->get_template_part($page_directory, '/^jscript_/', '.js'); while(list ($key, $value) = each($directory_array)) { echo '<script type="text/javascript" src="' . $page_directory . '/' . $value . '"></script>' . "\n"; }/** * load all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically */ $directory_array = $template->get_template_part($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript'), '/^jscript_/', '.php'); while(list ($key, $value) = each($directory_array)) {/** * include content from all site-wide jscript_*.php files from includes/templates/YOURTEMPLATE/jscript, alphabetically. * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page */ require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'jscript') . '/' . $value); echo "\n"; }/** * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically. */ $directory_array = $template->get_template_part($page_directory, '/^jscript_/'); while(list ($key, $value) = each($directory_array)) {/** * include content from all page-specific jscript_*.php files from includes/modules/pages/PAGENAME, alphabetically. * These .PHP files can be manipulated by PHP when they're called, and are copied in-full to the browser page */ require($page_directory . '/' . $value); echo "\n"; }//DEBUG: echo '<!-- I SEE cat: ' . $current_category_id . ' || vs cpath: ' . $cPath . ' || page: ' . $current_page . ' || template: ' . $current_template . ' || main = ' . ($this_is_home_page ? 'YES' : 'NO') . ' -->';?></head><?php // NOTE: Blank line following is intended: ?>

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-15 12:18
sloanxue
把html_header.php删掉以后出现
Parse error: syntax error, unexpected T_IF in /includes/templates/ugg/common/main_template_vars.php on line 1

内容如下
<?php
/**
* Common Template main_template_vars handler
* Normally a page will automatically load its own template based on the page name.<br />
* so that a page called some_page will load tpl_some_page_default.php from the template directory.<br />
* However sometimes a page may need to choose the template it displays based on a set of criteria.<br />
* Placing a file in the includes/modules/pages/some_page/ directory called main_template_vars.php<br />
* allows you to override this page and choose the template that loads.<br />
* @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: main_template_vars.php 2620 2005-12-20 00:52:57Z drbyte $
*/
if (file_exists(DIR_WS_MODULES . 'pages/' . $current_page_base . '/main_template_vars.php')) {
$body_code = DIR_WS_MODULES . 'pages/' . $current_page_base . '/main_template_vars.php';
} else {
$body_code = $template->get_template_dir('tpl_' . preg_replace('/.php/', '',$_GET['main_page']) . '_default.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_' . $_GET['main_page'] . '_default.php';
}

?>


望指教

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-17 10:52
rhino
谢谢分享,很漂亮,不过我装上去只显示了一个logo,1.3.9f的,这个模板支持么?

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-09-18 13:40
gun520rose
我想问下,你们用这个模板都正常的嘛,我的在IE6下,怎么模板乱七八糟的啊... 在火狐或者chrome的情况下,又是正常的...... 很奇怪啊....

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-10-07 7:55
aiplum
说到一直刷新只出现LOGO的问题,是因为里面调用的的是sideboxes/xx.php。。如common里tpl_header里101.107.113行。把common里文件都打开,查找替换成sideboxes/boxinter/应该就OK了,但这样我试了会丢失首页FLASH,做为一个新手,表示无奈,求大侠们解答
刚又看了好久是FLASH所需的文件楼主没给,包括SWF和图片

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-10-11 15:58
birder13
首页的flash怎么设置哦。。my
买噶的

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-10-15 10:47
zhijie6562
用上去后发现两个问题
第一就是登入问题,输入账密后跳转是空白页面。
第二是购买商品的问题,点击Add to cart还是跳转到空白页面。
请问大家这是怎么回事呢 ?

Re: 清爽UGG 模板提供下载

帖子发表于 : 2010-10-28 14:44
Moonsilentor
不好用啊。点击产品后add to cart出现空白,search按钮也一样。不好用哦。不过还是谢谢~