| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Drop down/flyout categories... where do I start? | ||||
|
|
Thread Tools | Search this Thread |
#51
|
|||||||
|
|||||||
I just had another thought (I feel like Cosmo from the Fairly Oddparents, so sad, I wish I could say I was old enough to have kids, so I could blame it on them that I know caracters from cartoons on nick.).
Ok, so here are some more of my thoughts (beware): I don't think the categories.php has to be changed at all, but ONLY the dropdown.tpl, home.tpl (to include the dropdown, DUH) and the categories.tpl. This is why.. In funks original code (again here): Code:
It seems to me all that is being done is verifying the category is avaliable, and the biggest thing is, this is where the values of maincat and subcat are defined, but in 4.0.x we have parentid, which also should mean we don't have to set the index's right? Or am I wrong? If we need to define the SUBSTRINGS we can define them much simpler by going SUBSTRING_INDEX($sql_tbl[categories].categoryid ? or something like that, again my ignorance to programming is where I can not be helpful. So here are some of my thoughts:. (note I am only putting up the modifying part of the dropdown.tpl) Code:
Would we just modify this section: Code:
to say something like: Code:
or something along those lines. We would also have to change the categories.tpl to match these changes.. Am I making any sense? Or am I on the wrong path to completion for 4.0.x? Thanks for pointing me in some kind of direction, because I feel like I am getting myself even more confused. Thanks |
|||||||
#52
|
|||||||
|
|||||||
Another quality mod from funkydunk!
------------------------------------------- I've just implemented this and am really pleased with it, thanks, man! I too have a question, however..... How do you make the flyout menu flyout again, to display a sub-category's subcategories? Answers on a postcard! Many Thanks
__________________
Best regards, Donavichi. - - - Website Copywriting || Web Design || FAQs || Home & Garden Blog |
|||||||
#53
|
|||||||
|
|||||||
Finally a question that I can help with. The mod only provides for popping out one sub category -- to do more would significantly increase a page's load time and database stress. Funky said words to that effect waaaayyyy early in this thread somewhere.
Quote:
__________________
Current project: 4.4.2 |
|||||||
#54
|
|||||||
|
|||||||
OK Cool, thanks.
I didn't pick up on that because I was speed reading but I'm glad you cleared it up for me, good work. Regards,
__________________
Best regards, Donavichi. - - - Website Copywriting || Web Design || FAQs || Home & Garden Blog |
|||||||
#55
|
|||||||
|
|||||||
Anyone feel like helping me out? Just AIM me..
I think I have most of it figured out.. With how the 4.0.1 is, I am still going to have to do a substring index or try to explode the categoryid_path sql entry and do a if eq statement for those.. If someone wants to help me.. please let me know. |
|||||||
#56
|
|||||||
|
|||||||
NetScape & Mozilla Firefox Support?
I was curious if anyone has tried this Mod and tried viewing it in Netscape or Mozilla Firefox?
I tried Netscape 7.2 and Mozilla Firefox 0.8 and neither work properly with the popup menus. It kind of just overlaps the main category item. Hard to explain. It works just fine in my IE 6.0. But a small amount of my clients use Netscape / Mac / Mozilla. I knoe they should prolly just use IE but.... ANy suggesstions??? Funkydunk? THanks so much in advance! `Mike Using X-Cart 3.4.14 - Linux |
|||||||
#57
|
|||||||
|
|||||||
Re: NetScape & Mozilla Firefox Support?
Quote:
I have a mod similar to this working on 4.0.1 and have tested with Firefox .9 and Konquror 3.2.3-2.kde Red Hat and it works just fine for both If you could check www.mtgcardhouse.com/store for me with Nutscrape 6.x or 7.x that would be awesome |
|||||||
#58
|
|||||||
|
|||||||
Wow, this is a fantastic mod, I am ever grateful for this. I got it to work a treat in 3.5.7.
Just what I wanted. |
|||||||
#59
|
|||||||
|
|||||||
Hey - How did you get it to work with 3.5.7? I have 3.5.7 and I can't get it to work on this one site - I get a java script error...
|
|||||||
#60
|
|||||||
|
|||||||
Hey
I used funkydunk's code and instructions on the first page of this post. Just followed exactly what he said and it worked. Then added the CSS code from page two to my skin.css file. I will post my code if you want, but it is the same as his. |
|||||||
|
|||
X-Cart forums © 2001-2020
|