在下一页:http://47stphoto.simple-helix.net/catalogsearch/result/?q=Search +日常+交易
我想把比较框移到学习中心块的上方。
我试着把它移到视野中。在目录中,我遗漏了什么??我没有移动整个代码还是??
比较块显示在其他3个页面上也希望它们都在块的顶部(第一个块)
你应该在xml(布局文件)
类似:
<default>
<reference name="left">
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml" before="-"/>
</reference>
</default>
注意前面的 ="-"这将把它移动到顶部