Problem I'm having;
I'm trying to add a Left sidebar navigation but everytime I install an addon to do this it always ends up the top of the page and not the left (as in, under the menu but ABOVE the slideshow I have there). I've tried looking for a layout.xml and cannot find it in my directory anywhere. Very odd.
Thanks, Stephen
-
Did you check your catalog.xml file in layoutMagento 2– Magento 22016年01月14日 04:50:26 +00:00Commented Jan 14, 2016 at 4:50
-
Yes, there is nothing in there regarding a side menu. It seems to be setup as a 1 or 2 column, even though I changed it in the custom xml within the admin backend.SixShields– SixShields2016年01月14日 05:18:45 +00:00Commented Jan 14, 2016 at 5:18
-
ok set 1 column left and call this <reference name="left"> <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/> </reference>Magento 2– Magento 22016年01月14日 05:22:21 +00:00Commented Jan 14, 2016 at 5:22
-
under <catalog_category_default translate="label">Magento 2– Magento 22016年01月14日 05:22:36 +00:00Commented Jan 14, 2016 at 5:22
-
Just to confirm I add this to the catalog.xml file?SixShields– SixShields2016年01月14日 05:32:48 +00:00Commented Jan 14, 2016 at 5:32
1 Answer 1
You should use the layout 1 column left and add the code below under <catalog_category_default translate="label"> in the catalog.xml file.
<reference name="left">
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
</reference>