How can i reflect the main-menu in left column if i want to use the layout with 3 columns ?
8 answers
Hi oelie,
You can create a new block and assign it to the left side:
-- Firstly, you should go to:
Code:
\app\design\frontend\default\jm_feronistemplate\catalog
+ create a new folder inside this dir named: ‘navigation’
+ inside this ‘navigation’ folder, create a file name: sidenav.phtml
Code:
<div class="block block-layered-nav block-hilite-blank"> <div class="block-title"> <strong><span><?php echo $this->__('Product Category') ?></span></strong> </div> <div class="block-content clearfix"> <ul id="ja-sidenav"> <?php foreach ($this->getStoreCategories() as $_category): ?> <?php echo $this->drawItem($_category) ?> <?php endforeach ?> </ul> </div> <?php echo $this->getChildHtml('topLeftLinks') ?> </div>
-- Next, go to dir:
Code:
\app\design\frontend\default\jm_feronis\layout\page.xml
Scroll down to approx line 120, add a new reference which define a block call sidenav you create above:
Code:
<reference name="left"> <---- set to right if you want to display in right side <block type="catalog/navigation" name="catalog.rightcat" template="catalog/navigation/sidenav.phtml" after="-" /> </reference>
Let me know if you need further assistance
Dear Hien Nguyen, have already somebody said to you :"your the greatest" No? I just did !
Thankx and a lot of big huges π
Sorry for the lat responce but busy times at the moment
You’re welcome and glad to be of help . If you need further assistance, please feel free to aks us. Thanks for your contacting.
Good luck with your site!
I don’t know if i need to make an new item but one question.
if you go to the product items everything is showed at the right side (basket, viewed items etc..) is it possible to put this at the left side ? I have searched and put some items left but nothing changes
Hi,
You could go to file: \app\design\frontend\default\jm_feronis\layout\cat alog.xml
and make a quick search for path: <!-- Product view -->
underneath this path, there should be a reference like:
Code:
<reference name="root"> <action method="setTemplate"><template>page/2columns-right.phtml</template></action> <<< change to 'left' </reference>
Hope this helps.
Regards.
I had changed your line but I never had this problem before but only after an index refresh te menu apprears at the left side.
Strange but it works
Thankx Thankx Hien for your help
Hallo,
so there must be a misunderstanding between you and me
That page that you want to change layout is Category View page
http://www.picto-gram.be/pictogram/e…standaard.html
NOT Product View page:
http://www.picto-gram.be/pictogram/e…p-sticker.html
My above solution is for Product View page
To change Category layout, please add new reference underneath reference for catalog:
Code:
<!-- Mage_Catalog --> <reference name="root"> <action method="setTemplate"><template>page/2columns-left.phtml</template></action> </reference> <reference name="top.menu"> <block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/> </reference>
Let me know whether this helps or not
I won’t listen, so i changed everthing in app 2/colums/left now it’s listening π
This question is now closed