Page 2 of 2

Re: Design the category menu with css

Posted: Wed Jan 20, 2010 4:05 am
by DannyMacD
im confused how to get this to work on 1.4? i am after the category view that is a list and shows all sub categories without the need to click on them..

many thanks

Re: Design the category menu with css

Posted: Fri Jan 22, 2010 5:57 am
by deeve
Hi readyman,
just to let you know, I'm not getting the repeated Categories but am getting the error where Categories box overlaps the Manufacturer's box, in OC 1.3.4
It's not of huge concern to me as I'd rather wait for your Accordion Menu release but thought you'd care to know anyways. ;)

Re: Design the category menu with css

Posted: Mon Jan 25, 2010 10:54 am
by 900pixels
jamialh wrote:menu category for 1.4.0 solved..
public function fetchCategories(){
$query = $this->db->query("SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) WHERE cd.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY c.sort_order");

return $query->rows;
}

public function fetchCategory($category_id = 0){
$query = $this->db->query("SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) WHERE c.parent_id = '" . (int)$category_id . "' AND cd.language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY c.sort_order");

return $query->rows;
}


just modify those lines on model->catalog->catagory.php

enjoy

Can you clarify what to do with this code to get this working with 1.4?
Do we drop it in or do we replace some other code with this?

Cheers.

Re: Design the category menu with css

Posted: Wed Apr 07, 2010 4:17 pm
by girock
I installed the css menu by alreadymade. But is only for one subcategory. I want third category. How i must to modify code?
I'm confused, I don't know if change only css or model and controller file also.
Thanks

Re: Design the category menu with css

Posted: Sun Apr 18, 2010 4:55 pm
by saman10
give us a demo for this menu

Re: Design the category menu with css

Posted: Sat May 01, 2010 9:25 am
by eatblueorange

Re: Design the category menu with css

Posted: Mon May 03, 2010 1:16 pm
by readyman
That's not really showing any dynamic menu though, you've restyled the top level categories by adding a class style.

Ok, I'll give you guys a demo so you can see it in action soon. I haven't had any time to update this free mod for a while now and nobody has really mentioned any need to update it, so it kinda fell off the table.

***Readyman picks it up and puts it back on the table***

Developer note: I've added new functions to the model files because I wanted to keep the initial functions there as a fallback, but also in case I or anyone wanted to add an admin on/off switch to be able to switch from the old to the new dynamic menu style. So, please don't email me with suggestions on that front, I already know why I did that. I even commented out the old references to the model file in the controller to allow a developer to switch back to the old menu if you want - it's about flexibility.

Re: Design the category menu with css

Posted: Tue May 04, 2010 12:36 am
by jefrey1983
thanks readyman ill wait for the 1.4.7 free dynamic menu ;D

Re: Design the category menu with css

Posted: Tue May 04, 2010 9:49 am
by readyman
who said it would be free? Muuaahahahahaha

Re: Design the category menu with css

Posted: Sun Oct 10, 2010 7:21 pm
by dantheman50_98
Well I've installed it and it works but would it be possible to install it as a separate menu system? So one can keep the list of categories at the side of the page and have this as a separate entity at the top of the page as a drop-down menu.
Is it simply a matter of renaming the files? I assume every other category file would need to be copied and renamed also with all mentions of "category" in the code changed to something else like "drop-category".
Any help would be great as I'm going slightly insane trying to get a dropdown menu with hoverable parents of subcategories.
Cheers,
Dan

Re: Design the category menu with css

Posted: Thu May 03, 2012 5:40 am
by subdivide
Guess this no longer exists?

Website has mysql errors, cannot connect.

?