Post by karlpers » Sun Oct 11, 2009 5:51 am

Hi guys,

I have seen some stores with category menus with hover functions etc.
Lets say that I want a menu which has each link in separeate "cells"

I want to be able to set a backgound color for the cells, and color for mouse over the cells.
I would also be able to have different styles for category and sub-category.
Is that an easy thing to do in the css menu?:)

Best regards

Active Member

Posts

Joined
Tue Jun 09, 2009 10:35 pm

Post by readyman » Sun Oct 18, 2009 2:07 am

Yep I've already done this... Check out www.alreadymade.com - It's called the dynamic category menu. You can choose different setups.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by DannyMacD » Thu Oct 22, 2009 3:11 am

just purchased and installed this as said but i get this error:

Error: Table 'danny_macdealer.category' doesn't exist
Error No: 1146
SELECT * FROM category c LEFT JOIN category_description cd ON (c.category_id = cd.category_id) ORDER BY c.sort_order


help! lol :(

Active Member

Posts

Joined
Fri Jun 26, 2009 6:39 am

Post by ctellier » Thu Oct 22, 2009 3:56 am

looks like a database problem.

User avatar
New member

Posts

Joined
Sun Oct 18, 2009 9:36 am
Location - Wisconsin

Post by fido-x » Thu Oct 22, 2009 9:41 am

Looks more like a database prefixing issue. Are prefixes supported (or required) by this mod?

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by readyman » Thu Oct 22, 2009 10:12 am

Yeah, sorry, looks like it's a db prefix issue... I'll add prefix support today. Download it again tonight - there will be a new zip.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by Donce » Thu Oct 22, 2009 9:17 pm

not working for me too..;)) i would like an update, bought original..tadelisz (AT) gmaildotcom

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by Qphoria » Thu Oct 22, 2009 9:38 pm

woohoo an email addy! Let the spambots attack!

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by readyman » Thu Oct 22, 2009 9:53 pm

Yep, I've ported this module for 1.3.2 now and uploaded a new zip file. Let me know on www.alreadymade.com if you can't access the new file and I'll send it to you via email.

Note. don't post your email address here... you can contact me direct on the site or PM - it's not worth the spam

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by Donce » Thu Oct 22, 2009 10:33 pm

sorry for posting e-mail..:/

New member

Posts

Joined
Fri Aug 28, 2009 8:22 pm

Post by adam777 » Sat Oct 24, 2009 2:23 pm

karlpers wrote:Hi guys,

I have seen some stores with category menus with hover functions etc.
Lets say that I want a menu which has each link in separeate "cells"

I want to be able to set a backgound color for the cells, and color for mouse over the cells.
I would also be able to have different styles for category and sub-category.
Is that an easy thing to do in the css menu?:)

Best regards
Nice template from Readyman and everything's done for you, but yes it's easy to do with CSS.

Find "catagory" & "hover" in the CSS file, and give the hover a background colour.

With Readyman's stylesheet.css file you'll find it already done for you. Just change the colour to suit. Change the colour by changing the number after the word "background". The following chart shows the numbers you need, the hexidecimal colour codes http://html-color-codes.com/. You can even swap in background images which can be cool.

Remember to make a copy of anything before you change anything, as you may make a mistake.

Cheers

Adam

User avatar
New member

Posts

Joined
Fri Aug 01, 2008 4:07 pm

Post by readyman » Sat Oct 24, 2009 9:34 pm

It's not all in the CSS and it's not just a template change though.
You need to change the category output so that you have the full list of categories. Only then can you style it into CSS or use jquery to build menus etc. At the moment, you only have one category appearing after you click it.
Also, you need to dynamically set the current category, so that you can style it with a class style.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by thenetinfo » Fri Oct 30, 2009 1:14 am

nice discussion........ thanks .........

Website worth calculator | Best hosting


Newbie

Posts

Joined
Fri Oct 30, 2009 1:04 am


Post by lucyvanpelt » Sat Nov 07, 2009 3:35 pm

hi,

is the jquery expanding menu attached to this ye filet? http://alreadymade.com/shop/index.php?r ... duct_id=42

id love drop menu where the subheadings are hidden until you click on a main heading.

New member

Posts

Joined
Wed Nov 04, 2009 5:38 am

Post by lucyvanpelt » Thu Nov 12, 2009 3:04 pm

hi readyman

i tried to install your module on 1.34 and it doesnt work, it gives me this when i load my website:

Error: Could not load template /home/vol11/byethost18.com/b18_4413706/htdocs/store/catalog/view/theme/mysitemodule/category.tpl!


help! what do i do?


also do you have the accordion plugin yet?

New member

Posts

Joined
Wed Nov 04, 2009 5:38 am

Post by vimal » Thu Dec 24, 2009 12:44 am

Hi

I am getting a weird error. All the categories are duplicated and it owerflows the box. The next box is affected too. See image below.

Image

Any help?
Vimal.

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden

Post by readyman » Wed Jan 06, 2010 12:13 pm

Hi Vimal, Looks like it could be a language issue. I'll have a look, I think I've already fixed this issue before.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by vimal » Wed Jan 06, 2010 11:28 pm

Thanks readyman! I really like the category box that you have made. Look forward to hearing from you.

www.beeshop.se
Starta webbshop, Starta e-butik, Starta e-handel


Active Member

Posts

Joined
Wed Aug 26, 2009 8:54 am
Location - Sweden

Post by jamialh » Tue Jan 19, 2010 2:58 pm

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

Newbie

Posts

Joined
Tue Jan 19, 2010 1:02 pm

Post by readyman » Tue Jan 19, 2010 9:17 pm

Yes, jamial, that code is straight out of the dynamic categories module & yes it works if you insert the same code into your version 1.4.0. - go get the full download if you also want the actual module code that calls these functions from the model, as well as css samples already made for you at alreadymade.com

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney
Who is online

Users browsing this forum: No registered users and 20 guests