How can I rearrange the blocks on the sidebar? Where can I edit it? Currently the tag block is on the bottom most part of the sidebar. I want to move it up. How am I suppose to do it?
-
Currently the tag block is on the bottom most part of the sidebar. I want to move it up. How am I suppose to do it?– AlenCommented Nov 25, 2015 at 5:20
-
Please add more details about your problem so that others can understand. Otherwise, the question might get closed. More info : magento.stackexchange.com/help/how-to-ask– PrateekCommented Nov 25, 2015 at 7:46
-
What Magento version are you using? Are you using a custom theme or a Magento default one? Which theme are you using? Did you make any custom changes, if yes, which changes?– 7ochemCommented Nov 25, 2015 at 8:44
-
@7ochem it is ok now. the problem is solved.– AlenCommented Nov 26, 2015 at 1:05
Add a comment
|
2 Answers
go to app/design/fronted/base(or your theme contain file)/default/layout/tag.xml
on line 38
change
<block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
to
<block type="tag/popular" before="currency" name="tags_popular" template="tag/popular.phtml"/>
-
-
-
-
-
1I don't know what happened but it is working now... your first code was working... maybe because of the cache or something. Thanks Again.– AlenCommented Nov 26, 2015 at 0:58
Use in this way to your local.xml
<reference name="left">
<block type="core/template" before="-" name="name_of_the_block" template="template_path"/>
</reference>
To display as the First block:
before="-"
To display as the last block:
after="-"
To display before any other block:
before="block_name"
To display after any other block:
after="block_name"
-
Sorry but I am really new to magento. Where can I find the local.xml?– AlenCommented Nov 25, 2015 at 5:22
-
-
-
Check app/design/frontend/package/customtheme/layout/local.xml Commented Nov 25, 2015 at 5:27
-