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.
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.

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.
Last edited by eatblueorange on Wed Jun 16, 2010 12:46 am, edited 1 time in total.
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.
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.
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
who said it would be free? Muuaahahahahaha
http://www.alreadymade.com
Follow me on twitter.com/alreadymade
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
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
Who is online
Users browsing this forum: No registered users and 8 guests