Theme508 将分类描述位置修改到类表下面
来源:互联网 发布:淘宝账号快速升心 编辑:程序博客网 时间:2024/06/06 05:47
app\design\frontend\default\theme508\template\catalog\product\list.phtml
<?php $currentCategory = Mage::registry('current_category');if($_description=$currentCategory->getDescription()): ?> <div class="category-description std"> <?php echo $_helper->categoryAttribute($currentCategory, $_description, 'description') ?> </div><?php endif; ?>
原来的位于
app\design\frontend\default\theme508\template\catalog\category\view.phtml
<?php/** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE_AFL.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to license@magentocommerce.com so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade Magento to newer * versions in the future. If you wish to customize Magento for your * needs please refer to http://www.magentocommerce.com for more information. * * @category design * @package base_default * @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com) * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) */?><?php/** * Category view template * * @see Mage_Catalog_Block_Category_View */?><?php $_helper = $this->helper('catalog/output'); $_category = $this->getCurrentCategory(); $_imgHtml = ''; if ($_imgUrl = $_category->getImageUrl()) { $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->htmlEscape($_category->getName()).'" title="'.$this->htmlEscape($_category->getName()).'" /></p>'; $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image'); }?><div class="page-title category-title"> <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?> <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a> <?php endif; ?> <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1></div><?php echo $this->getMessagesBlock()->getGroupedHtml() ?><?php if($_imgUrl): ?> <?php echo $_imgHtml ?><?php endif; ?><!--<?php if($_description=$this->getCurrentCategory()->getDescription()): ?> <div class="category-description std"> <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?> </div> <?php endif; ?>--><?php if($this->isContentMode()): ?> <?php echo $this->getCmsBlockHtml() ?><?php elseif($this->isMixedMode()): ?> <?php echo $this->getCmsBlockHtml() ?> <?php echo $this->getProductListHtml() ?><?php else: ?> <?php echo $this->getProductListHtml() ?><?php endif; ?>
0 0
- Theme508 将分类描述位置修改到类表下面
- theme508 购物车修改
- theme508 邮件里面的订单列表信息修改
- 分类描述
- Ecshop二次开发:修改产品分类描述为Fckeditor(二)
- Ecshop二次开发:修改产品分类描述为Fckeditor(二)
- Theme508 分页
- php实现修改分类级别时防止将原分类加在自己子分类下
- 通过python将大量文件按修改时间分类
- 经纬度位置描述 是什么
- 描述文件位置
- 键盘键值分类描述
- UO的分类描述
- ECSHOP将分类下的商品列表修改为当前的分类名称
- 删除 theme508 Additional Information
- 控件位置分类
- 描述符及常见位置
- Xcode描述文件的位置
- Python的运算符与用法
- POJ 1456 Supermarket(贪心算法,可用并查集优化)
- 关于activityresult不能接收到activity的返回消息
- Joda-Time 工具集简介-使用
- JavaSE 反射 (进阶) Constructor类 & Field类 的使用
- Theme508 将分类描述位置修改到类表下面
- Android的三种网络通信方式
- C++派生类与基类的转换规则
- myeclipse中引入类报错
- Gabor滤波简介和实现(Matlab,OpenCV)
- Android长度单位px,in,mm,pt,dp,dip,sp换算公式以及区别
- c++语言大数与大数的运算,N!
- My First Blog!
- ObjectARX学习笔记(十三)----如何高亮显示AcDbGroup中的单个实体,或者全部高亮显示