Zen Cart Logo
Forums / All Other Contributions/Addons / CSS Dropdown menu for the header- With Categories!

CSS Dropdown menu for the header- With Categories!

Views: 615,478

Results 1,961 to 1,980 of 2,344
15 Oct 2010, 9:43 PM
#1961
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

CSS Dropdown menu for the header- With Categories!

They are crappy templates but so ######## :P All the free zen templates are so lifeless and rigid. Im not a programmer so to take the available "good code" templates and get them to the level I need vis-a-vis CSS would take me YEARS, the monster templates are quick and nasty jobs I agree but they do look the business :P

15 Oct 2010, 9:43 PM
#1962
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

P.S. > I have about 10 add ons all working PERFECTLY with the monster template....

15 Oct 2010, 10:04 PM
#1963
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: CSS Dropdown menu for the header- With Categories!

aozhaver:

They are crappy templates but so ######## :P All the free zen templates are so lifeless and rigid. Im not a programmer so to take the available "good code" templates and get them to the level I need vis-a-vis CSS would take me YEARS, the monster templates are quick and nasty jobs I agree but they do look the business :PI prefer to work with CLEAN code (which does NOT describe TM templates in any REMOTE shape or form).. I haven't used any of the free templates since the first Zen Store I built (which I modified very easily). I build my own templates from top down using the guidelines for doing this that are in the Zen Cart FAQs.. I can build ANYTHING that TM has to offer with the difference in that my template will follow the correct Zen Cart standards. (eliminating the possibility that my template will interfere with any of my Zen Cart add-ons) Also in my experience folks are reluctant or unwilling to provide help for issues related to TM template.

aozhaver:

P.S. > I have about 10 add ons all working PERFECTLY with the monster template....Consider yourself lucky, but the fact of the matter is that TM builds their templates in such a way that they do in fact wreak havoc when it comes to Zen Cart add-ons. The ones that seem to create the most issues for TM users are mods which modify the look and feel of the store (like this module for example) Not saying it can't be done, but in many instances what should have been a SIMPLE install becomes a fair bit of work when a TM template is involved..

15 Oct 2010, 10:05 PM
#1964
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: CSS Dropdown menu for the header- With Categories!

Go to your Zen Cart Admin and in the Tools ... Developers Tool Kit ... can you enter in the bottom input box:
tpl_drop_menu.php

and select Catalog ... then click search ...

What I am trying to determine is where this file is called and if the file is referenced by name on the server to see where it is ...

Also, look in the /cache directory, do you see any debug messages ...

NOTE: debug messages work with v1.3.9 if you have an older version you want to get the Debug Tool from the Free Software Add Ons and install it ...

15 Oct 2010, 10:12 PM
#1965
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

If you can get me such a template with clean good code that you can guarantee would work with any module it would be worth it. But could you do that for the price I paid, $69 (most websites charge $149 including the monster site I found a cheapo site offering the same things:D).
I got a lot for my money and a few headaches I admit but overall its been smooth sailing. Customising any template isnt simple for a total programming pumpkin head like me. Issues Ive faced with the various modules I found many other zenners faced with their correct code templates. :blink:

Its all very nice to offer afterwards but why does nobody offer any Sxs_y templates for these prices besides monster(ive searched google for 2 days before choosing). Its either free and ugly (no offence I havent seen your templates) or cheap pretty and nasty code (monster) I didnt know anything before I started and now

Ive invested weeks into this template...:wacko:
I reckon it would cost me hundreds to duplicate in correct code, maybe more, cant afford it right now...:unsure:

15 Oct 2010, 10:24 PM
#1966
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Hi Ajeh, you are the OBA-SAN this is my first reply from you I'm truely honoured to receive your reply and your time. And my compliments on such an amazing open source program so easy to use the even a total dummy like me can get places and not just have an estore but a damn S_xs_y one!! You should be sainted by the Elf Council :P

Go to your Zen Cart Admin and in the Tools ... Developers Tool Kit ... can you enter in the bottom input box:
tpl_drop_menu.php

and select Catalog ... then click search ...

What I am trying to determine is where this file is called and if the file is referenced by name on the server to see where it is ...

here is a copy of the search results you requested, is everything as should be?

/home/majestic/public_html/store/includes/languages/english/extra_definitions/headermenu.php

Line #21 : //These are used in conjunction with the various <li> tags in templates/YOURTEMPLATE/common/tpl_drop_menu.php

/home/majestic/public_html/store/includes/templates/template29011/common/tpl_drop_menu.php

Line #19 : // $Id: tpl_drop_menu.php 2005/06/15 15:39:05 DrByte Exp $

/home/majestic/public_html/store/includes/templates/template29011/common/tpl_header.php

Line #8 : *<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>

/home/majestic/public_html/store/includes/templates/template29011/tpl_header.php

Line #154 : <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>

Line #171 : <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>

Also, look in the /cache directory, do you see any debug messages ...
In the cache I have about 100 log messages...:blush: I never even knew to look there and I dont even know what they would all mean.

I really hope this info can give you an incline into what it is thats causing the rest of the page from loading (besides the fact its a nasty monster template :P)

Please let me know if you need anything else based on this as I am keen to sort this out and get on with completing my project.

THANKS!!!! :clap::clap:

15 Oct 2010, 10:40 PM
#1967
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: CSS Dropdown menu for the header- With Categories!

aozhaver:

If you can get me such a template with clean good code that you can guarantee would work with any module it would be worth it. But could you do that for the price I paid, $69 (most websites charge $149 including the monster site I found a cheapo site offering the same things:D).Not for nothing I build templates when I build a site.. and the template building is more about CSS and HTML than is actual programming.. I simply rolled up my sleeves and took some time to learn CSS. IMHO the time it takes to bang a TM template into place and behave can be better spent just building it the right way the first time.. Different strokes I guess..:smile:

15 Oct 2010, 11:24 PM
#1968
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: CSS Dropdown menu for the header- With Categories!

Trigger your error, then refresh the /cache directory so you see the newest one based on date and time ...

If you edit it, what does the error read? :unsure:

15 Oct 2010, 11:43 PM
#1969
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

This is the error from the logfile, does it help?(Its Chinese to me{excuse the chinese[nice food and all]})

[16-Oct-2010 00:38:56] PHP Warning: require(includes/modules/sideboxes/template29011/ezpages_drop_menu.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/majestic/public_html/store/includes/templates/template29011/common/tpl_drop_menu.php on line 79
[16-Oct-2010 00:38:56] PHP Warning: require(includes/modules/sideboxes/template29011/ezpages_drop_menu.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/majestic/public_html/store/includes/templates/template29011/common/tpl_drop_menu.php on line 79
[16-Oct-2010 00:38:56] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/modules/sideboxes/template29011/ezpages_drop_menu.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/majestic/public_html/store/includes/templates/template29011/common/tpl_drop_menu.php on line 79

15 Oct 2010, 11:58 PM
#1970
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: CSS Dropdown menu for the header- With Categories!

Did you check the files on the server to see if the file is really there?

16 Oct 2010, 12:24 AM
#1971
aozhaver avatar

aozhaver

Zen Follower

Join Date:
Sep 2010
Posts:
121
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

IT WORKED!!!!

Let me explain but first I want to say that I believe this problem is exclusive to monster templates that use both bad code AND bad directory/file structure.

This particular mod was looking to call a file - ezpages_drop_menu.php

the mod is programmed to look for this path includes/modules/sideboxes/MY TEMPLATE

HOWEVER the way monster templates work is that they hardly ever section their template into a proper MY TEMPLATE subcategory so naturally I would copy all mod files into just includes/modules/sideboxes

No other mod was fussy about this except this one.
So what I did with Ajeh's (GENIUS) help is to just invent a new MY TEMPLATE subdirectory (that no other mod uses...) and place the file there, then everything was fixed as the mod found that file.

all other mods that tell me to put a file in include.....mytemplate/ if I sense that the my template files are not in a subcategory but in the main category like sideboxes for example i automatically place the mod files there because thats where my template would call them up from, all mods were happy with that, until now... Does this make sense? for clarification post your questions please

AJEH :clap: AJEH :clap: AJEH:clap: Ajeh PM me your paypal dinner is on me!!!

13 Nov 2010, 8:19 PM
#1972
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Hi - I have this awesome mod installed on my site and it's sooo cool, but I have one little problem....instead of the headers having a home page button, information, contact, my account and that sort of thing, I'd prefer for the menu to contain the names of my main categories. I can put those other links elsewhere on the site.

Can anyone tell me how to modify it so that the main headings will display my category names rather than these other things? I know how to change the names themselves as sort of a cosmetic thing, but I need the headings to pull from the main category names, if that makes sense.

https://www.herbalaxation.com

14 Nov 2010, 6:38 PM
#1973
gmerdan avatar

gmerdan

New Zenner

Join Date:
Mar 2010
Posts:
15
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

ikernbecauseicare:

Hi - I have this awesome mod installed on my site and it's sooo cool, but I have one little problem....instead of the headers having a home page button, information, contact, my account and that sort of thing, I'd prefer for the menu to contain the names of my main categories. I can put those other links elsewhere on the site.

Can anyone tell me how to modify it so that the main headings will display my category names rather than these other things? I know how to change the names themselves as sort of a cosmetic thing, but I need the headings to pull from the main category names, if that makes sense.

https://www.herbalaxation.com

I found it a while back on this post 1921.

Admin, maybe we should sticky some of this stuff? or wiki it

15 Nov 2010, 5:25 AM
#1974
ikernbecauseicare avatar

ikernbecauseicare

New Zenner

Join Date:
Aug 2010
Posts:
52
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Thank you so much...now I just need to figure out how to remove the contact us, information, my account, etc from the headers. I want to put those down at the bottom of the page. I found one part of the answer, but when I tried to do what it recommended, it kinda screwed it up...hints? :)

18 Nov 2010, 2:21 AM
#1975
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Hello jettrue, my navigation bar has a spacing between my header and I want to have the navigation bar right against the header. My site is http://.capebretonantiques.com/shop I put this code <!--bof-drop down menu display-->
<?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>

<!--eof-drop down menu display--> <div class="clearBoth"></div> into my includes/templates/cape breton antiques/common/tpl_header.php folder. I placed this code at the bottom of the page under all other codes in my tpl_header.php. So if you could let me know how to move it up to my header that would be appreciated. Also I was wondering how to change categories to something like about us how would I go about doing that. I have created an EZ page about us page, but I don't want it under my information link. Also I wanted to thank you for this wonderful add on. Thank you Godfather Antiques
19 Nov 2010, 11:02 PM
#1976
jgraphics avatar

jgraphics

New Zenner

Join Date:
Oct 2006
Posts:
75
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

first trading:

After tinkering for hours i discovered how to have a fully expanded category tree on the drop down. All css, no category generator(s).

Now you can hover over the level 1, the drop down......err, drops down and you now have a category menu with all of the categories, sub categories and their sub categories expanded.

I'll provide a link to a test site of mine with this working for anyone interested, please remember i have'nt started to style this yet but i will update when i have.

www.gearsofwargear.com

Just checked out the gearsofwargear.com site. The "Products" link at top does just what I'm trying to figure out. Any instruction on how you got the CSS Drop Down Menu to achieve this would be greatly appreciated.

26 Nov 2010, 9:06 PM
#1977
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Great add-on! I am trying to figure out how to have the menu dynamically display the product categories horizontally, instead of all under "Categories", vertically.

The menu would look like this:

Mustards Sauces Dressings

Then, the drop-down under Mustards would show "hot mustard", "mild mustard", etc.

What kind of code would I insert to accomplish this?

Thanks!

1 Dec 2010, 3:16 PM
#1978
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Bump... anyone?

2 Dec 2010, 5:57 AM
#1979
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: CSS Dropdown menu for the header- With Categories!

hockey, 4 posts above yours has a link to another post in this thread showing you how to do exactly that. Gotta learn to read and search these threads for your answers.........Top right......"Search This Thread"..........keywords like "Categories", "replace categories".........etc..........

2 Dec 2010, 4:19 PM
#1980
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: CSS Dropdown menu for the header- With Categories!

Get Em Fast:

hockey, 4 posts above yours has a link to another post in this thread showing you how to do exactly that. Gotta learn to read and search these threads for your answers.........Top right......"Search This Thread"..........keywords like "Categories", "replace categories".........etc..........

Thanks for the heads-up, not sure how I missed that.

One item I neglected to mention in my post above was that I also need the products to be listed under the category titles, as such:

MUSTARDS (category)
Hot Mustard (product 1)
Mild Mustard (product 2)

I searched this thread, and the only solution I could find was to give every product its own subcategory. I don't think that solution would work well for the site I am building. Any input on how I can modify the code from post #1921 to have it show the products underneath the categories?

Thanks!