3 columns with left menu

How can i reflect the main-menu in left column if i want to use the layout with 3 columns ?

8 answers

Profile photo of Saguaros 0.00 $tone February 27, 2012
Public

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

#1
Profile photo of Danny Janssen 0.00 $tone March 17, 2012
Public

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

#2
Profile photo of Saguaros 0.00 $tone March 17, 2012
Public

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!

#3
Profile photo of Danny Janssen 0.00 $tone March 20, 2012
Public

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

#4
Profile photo of Saguaros 0.00 $tone March 20, 2012
Public

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.

#5
Profile photo of Danny Janssen 0.00 $tone March 21, 2012
Public

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

#6
Profile photo of Saguaros 0.00 $tone March 21, 2012
Public

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

#7

This question is now closed

Written By

Comments