|
YoavKutner - 11 November 2007 11:06 PM We should add more Magento design packages early next year.
Thanks
yoav
I’m just wondering if this feature is available yet in the latest version? Or would a design package be a seperate download? If so, where? I haven’t run into any so far and I’m wondering if I’m missing something. I was able to cook up a basic working version but I would like to start with the added functionality you’ve mentioned.
A quick overview of how I did this in 0.7.14800:
cut the following from app/design/frontend/default/default/template/page/html/header.phtml
<?=$this->getChildHtml('topMenu')?>
paste it into app/design/frontend/default/default/template/page/3colums.phtml
<div class="col-left side-col"> <?=$this->getChildHtml('store')?> <?=$this->getChildHtml('left')?> <?=$this->getChildHtml('topMenu')?> </div>
in app/design/frontend/default/default/layout/page.xml
move the following at around line 40:
<block type="core/text_list" name="top.menu" as="topMenu"/>
to about line 47 (where the left block is):
<block type="core/text_list" name="left" as="left"/> <block type="core/text_list" name="top.menu" as="topMenu"/>
That should do it, but you will notice that the CSS for the navigation is purely for a horizontal layout.
Some quick changes you can make in app/skin/frontend/infinite/default/css/menu.css at about line 35
this:
#nav li { float:left; }
to his:
#nav li { float:none; }
This will put the categories below eachother. Remember though that I just made these changes real quick, not to be used in a live environment, so it doesn’t look good, and it might very well not work as expected.
Subcategories for instance, are shown ontop of the other categories when you hover over a category with subcategories, and there’s something wrong with the z-index, making the subcategories appear below the center column, giving them a cut-off look. These problems shouldn’t be difficult to solve in the menu.css file.
|