-
- Paulus

-
Total Posts: 20
Joined: 2008-07-21
|
Edit: never mind, fixed.
|
| |
|
 |
 |
 |
|
|
-
- ManishBhatra

-
Total Posts: 13
Joined: 2008-08-06
|
hi Paulus,
i have problem that i am unable to view the category list. What is the problem plz help me. i used the same procedure as written in this thread before.
Thank you in advance.
|
| |
|
 |
 |
 |
|
|
-
- sixtyonedesign

-
Total Posts: 7
Joined: 2008-08-11
|
Hi, can someone assist with a detailed description on how to post the menu on the homepage as well as category pages?
|
| |
-
- Posted: August 14 2008
-
| top
| # 93
-
|
 |
 |
 |
|
|
-
- shamone

-
Total Posts: 14
Joined: 2008-07-09
|
Hi
I used this example from Peter Hamilton to build a vertical menu on magento 1.0 like this: http://magento.maetvaplanet.com/index.php/
It works fine in magento 1.1.3, except that it shows up below the ‘SHOP BY’, ‘COMPARE’, ‘MY CART’ layered navigation.
Any ideas on how I can move it to sit at the very top of the left-hand-side column?
|
| |
-
- Posted: August 26 2008
-
| top
| # 94
-
|
 |
 |
 |
|
|
-
- StainesUK

-
Total Posts: 11
Joined: 2007-10-26
Surrey
|
Worked perfectly so a huge hat tip to Peter Hamilton
Like shamone I would like to move the menu above my cart
Any ideas ???
Thanks
|
| |
-
- Posted: August 28 2008
-
| top
| # 95
-
|
 |
 |
 |
|
|
-
- winterradio

-
Total Posts: 36
Joined: 2008-02-01
|
To move it to the top of the column add before="-" in catalog.xml
<!-- Category default layout -->
<catalog_category_default> <reference name="left"> <block type="catalog/navigation" before="-" name="catalog.vertnav" template="catalog/navigation/vert_nav.phtml"/> <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/> </reference>
<!-- Category layered navigation layout -->
<catalog_category_layered> <reference name="left"> <block type="catalog/navigation" before="-" name="catalog.vertnav" template="catalog/navigation/vert_nav.phtml"/> <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/> </reference>
Hope that helps
|
| |
-
- Posted: August 30 2008
-
| top
| # 96
-
|
 |
 |
 |
|
|
-
- Dave Walker

-
Total Posts: 16
Joined: 2008-07-22
|
Hi Folks,
Like many here I’m thankful to Peter for posting his bit of code. I have it working but am still struggling to get it onto my Home Page.
I see that the category.xml is changed for other pages but not the home page.
Can anyone explain exactly which XML and PHTML files I have to change for the homepage?
Many thanks,
Dave
|
| |
-
- Posted: September 1 2008
-
| top
| # 97
-
|
 |
 |
 |
|
|
-
- AngelEyes

-
Total Posts: 40
Joined: 2008-02-25
|
Thanks to Peter for posting that code, looks very useful.
Could you or anyone please help me with a much simpler version? I need a vertical menu that shows the categories and sub categories (2 levels) in a vertical array.
Basically I am re-building this site in Magento: http://www.hideout-leather.co.uk/ and want to retain the familiar navigation method.
Happy to pay for time
Many thanks.
Adam
|
| |
-
- Posted: September 9 2008
-
| top
| # 98
-
|
 |
 |
 |
|
|
-
- fjaeker

-
Total Posts: 1
Joined: 2008-09-10
|
I have created a vertical navigation for a new shop like the way it is described here. This works perfectly to browse in the categories. But i have a curious problem with the product detail page:
The navigation shows only the first-level categrories on the detail page. So the getStoreCategories()-Function gives back the expected results. But all other functions to get the levels deeper like getChildren() or getCurrentChildCategories() gives no results back.
What I have to do to get all categories on the detail page, too??
Thanks for any advice.
|
| |
-
- Posted: September 10 2008
-
| top
| # 99
-
|
 |
 |
 |
|
|
-
- Quiddity

-
Total Posts: 9
Joined: 2008-06-13
|
I have integrated the Peter Hamilton vertical menu and it seems to be working alright except for a few minor problems.
It displays categories that are set as inactive, it won’t display the name of the category but i will still generate a drop down button.
Has anyone run into the same problem? if so please advice.
Thx in advance
|
| |
|
 |
 |
 |
|
|
-
- Quiddity

-
Total Posts: 9
Joined: 2008-06-13
|
Thought i should share…
Previously i had placed into action Peter Hamilton’s Vertical menu, but had ran into difficulties when a category was set to inactive. But i have been able to fix that.
Just insert the following code where commented in the vert_nav.phtml
<div class="vertical-nav-container box base-mini"> <div id="vertical-nav"> <div class="head"> <h4><?php echo $this->__('Categories') ?></h4> </div> <ul id="nav_vert"> <?php foreach ($this->getStoreCategories() as $_category): ?>
// *************** verifies category is active <?php if ($_category->getIsActive()) { ?> // *************** <?php $open = $this->isCategoryActive($_category); ?> <?php $potential = $_category->hasChildren(); ?> <li><a href="<?php echo $this->getCategoryUrl($_category); ?>"<?php if($open) { echo ' class="open"'; } ?><?php if($potential) { echo ' class="potential"'; } ?> ><?php if($potential&&$open) { echo 'v '; } elseif($potential) { echo '> '; }else{ echo ' '; }?><?php echo $_category->getName();?></a> <?php if ($open && $potential): ?> <ul> <?php foreach ($_category->getChildren() as $subcategory): ?> <?php $subCat = Mage::getModel('catalog/category')->load($subcategory); ?> <?php $open = $this->isCategoryActive($subCat); ?> <?php $potential = $subCat->hasChildren(); ?> <li><a href="<?php echo $this->getCategoryUrl($subCat); ?>"<?php if($open) { echo ' class="subopen"'; } ?><?php if($potential) { echo ' class="potential"'; } ?><?php if(!$potential&&$open) { echo ' class="final"'; } ?> ><?php if($potential&&$open) { echo 'v '; } elseif($potential) { echo '> '; }?><?php echo $subCat->getName(); ?></a> <?php if ($open && $potential): ?> <ul> <?php foreach ($subcategory->getChildren() as $subsubcategory): ?> <?php $subsubCat = Mage::getModel('catalog/category')->load($subsubcategory); ?> <?php $open = $this->isCategoryActive($subsubCat) ?> <li><a href="<?php echo $this->getCategoryUrl($subsubCat); ?>" <?php if($open) { echo ' class="final"'; } ?>><?php echo $subsubCat->getName(); ?></a></li> <?php endforeach; ?> </ul> <?php endif; ?> </li> <?php endforeach; ?> </ul> <?php endif; ?> </li> // *************** end verifies category is active <?php } ?> // *************** <?php endforeach ?> </ul> </div> </div>
Hope this helps.
|
| |
|
 |
 |
 |
|
|
-
- spmcmorrow

-
Total Posts: 7
Joined: 2008-09-05
|
I have some of these examples working for vertical menu, but the one thing it won’t do is use my styles. I used an example from an earlier post and created a left_menu1.phtml file and referenced it in the xml. I know it uses it, because it shows vertical and has my text in it, but it changes the classes. when i look at it in firebug, the <li> code looks like this
<li class="level2 nav-electronics-cameras-accessories">
355<a href="http://www.marinabayonlakelanierbackup.com/magento/index.php/electronics/cameras/accessories"><span>Accessories</span></a>
356</li>
below is my code in the left_head1.phtml
<div id="left-column">
<h2 id="left-column">shop by category</h2>
<ul id="left-column">
<?php foreach ($this->getStoreCategories() as $_category): ?>
<li id="left-column"><?php echo $this->drawItem($_category) ?></li>
<?php endforeach ?>
</ul>
</div>
|
| |
|
 |
 |
 |
|
|
-
- bleez

-
Total Posts: 2
Joined: 2008-08-05
|
Hi,
I would like to develop a vertical menu like that the kind is here: http://www.autofittings.co.uk/
What kind of codes is needed to stick and where? The essence, that if I scroll over the category let the sub categories show up.
would somebody be able to provide a little direction?
Thanks for it ahead!
|
| |
|
 |
 |
 |
|
|
-
- tEnErD

-
Total Posts: 2
Joined: 2008-08-04
|
Any idea how to get number of items in each category? ( Like in layered navigation)
EDIT: solved for subcatand subsubCat: $subCat->getProductCount()
|
| |
|
 |
 |
 |
|
|
-
- Naresh Vajawat

-
Total Posts: 27
Joined: 2008-09-22
|
Lorenzo,
This is exactly what i am looking for. Were you able to successfully implement it. Moreover I didn’t want the same to come in other pages as the other pages will have layered navigation . In the home page i want to have a left menu that will diplay all the categories and their subcategories with their product count in a single column. Let me know if you have any suggestions.
Thanks,
Naresh
|
| |
|
 |
 |
 |
|
|