Page 1 of 4 123 ... LastLast
Results 1 to 10 of 40
  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,079
    Plugin Contributions
    9

    Default Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    This thread is established to support Category Tab Simple Dropdown Menu version 1.3.9.

    To start, this contribution was not authored by me. Version 1.3.9 is a rewrite of the original contribution.

    The first step was to create a modified tpl_modules_categories_tabs.php because:

    • Some classes and IDs used in the file were already used in the main stylesheet. This did not create a problem unless a custom template's stylesheet had a change to one of those classes or IDs. Changing the div tags precludes another stylesheet from hijacking the file''s settings.


    • Missing elements in the embedded css style call forced the need for <br /> tags in the tpl or the list would not wrap. However, those tags had to be outside the <li> tags which caused html to fail validation.

    The second step was to create a separate stylesheet_catTabsMenu.css because:

    • The css was included in the contribution's php file which was delivered to the browser in a div. This caused the resultant html to fail validation.


    • The css did not include all calls needed to properly adjust the display of the menu items.


    • The css required partly on class or id tags already existing in a standard Zen Cart install. This could cause a conflict in the case of template customization.

    This contribution will do the following:

    • List all top-level categories with either the sub-categories or products under them.


    • Validate the html and css with a standard installation of Zen Cart.

    This contribution will NOT do the following:

    • List any sub-sub-categories of a top category. For example, in the case of Watches >> Ladies >> Gold, the contribution would show only Watches with Ladies in the dropdown menu.


    • List top-level category products linked to that category. For example, a top-level category of All Ladies Watches with all the products linked from other categories would not show any items in the dropdown menu.

    Items that still need to be addressed:

    • The addition of sub-sub-categories in the dropdown menus.


    • The inclusion of linked products in a category's products dropdown.

    Please Note: Any changes you wish to make to the "look" of the menu(s) should be done in the stylesheet. Any style changes done in the tpl file will probably cause it to fail html validation.

    Of course, as with any Zen Cart file located in the CUSTOM directory, you can make changes to the included as you see fit.
    Did you read the posting tips?!?
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free Domain, SSL, and Magic Thumb with Semi-Annual or longer plan.

  2. #2
    Join Date
    Dec 2010
    Posts
    132
    Plugin Contributions
    0

    red flag Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Hi,

    I cant get this mod to work on my site. I've installed the add-on as described in the readme and made sure to turn the add-on to "ON" in Configuration->Layout Settings->Categories-Tabs Menu.

    Take a look at my categories menu. The first item ("sub test") is the only category that currently has sub-menus... and it aint workin! Any help is greatly appreciated.

    My URL is: http://tinyurl.com/3uttrvu

  3. #3
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    10,216
    Plugin Contributions
    3

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Dbltoe's module influences the behaviour of the categories tabs menu which appears in the HEADER section - not a sidebox. It looks like you are using a Pure_Black template (or one of the "Pure" series) and I think the headers of this template forcefully disable categories-tabs.

    If you want to see a categories-tabs dropdown menu in action, GO HERE.
    We host with Terranetwork.

  4. #4
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,079
    Plugin Contributions
    9

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Schoolboy is absolutely correct. If you use your Developer's Tool kit in the admin and search for tpl_top_nav.php which is being called by a file that may be overriding basic Zen Cart operation.
    I don't want to reopen the discussion on whether these templates work well with mods BUT I do think it's necessary to point out that folks should follow the posting tips when posting.
    Instead of our having to research and guess, we could have been quicker are more thorough with more information to start with.
    Did you read the posting tips?!?
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free Domain, SSL, and Magic Thumb with Semi-Annual or longer plan.

  5. #5
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Very nice, installed and tested in few minutes.

    Schoolboy links to a site above. Site has more categories down left column than in drop down header. Is it possible to define what categories you want in the header drop down, if one has alot of categories and too many to go across top?

    sph
    www.prommart.com
    www.fashion-mart.biz (new, candidate for drop down of some kind in near future.)

  6. #6
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,079
    Plugin Contributions
    9

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Many things can be adjusted, but the link schoolboy posted is an example of the older version which does not validate.
    Did you read the posting tips?!?
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free Domain, SSL, and Magic Thumb with Semi-Annual or longer plan.

  7. #7
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Do you know how to code so only certain categories will appear in the top drop down, if you have many more running down the left column?

    Anyway, I briefly installed the mod on my new Fashion Mart site. Made a quick drop down background color change to read link. Really looked nice! And it is simple. I now turned it off via .bak on the two files.

    I have some experience with the drop down mods and forsee one on my newest site, but still wrestling with the general purpose.

    1. SEO: to have all subcategories always "open" to the search engines. (Same with side fly-outs.) But I've noticed no problem with google reaching my "closed" subcategories and products.

    2. Customer navigation ease. This may be the more questionable reason, and I've read pros & cons. But right now my new site isn't large enough to hardly warrant a drop down. Don't know. Looks nice, though.

    sph
    www.prommart.com
    www.fashion-mart.biz (up and coming)

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    8,079
    Plugin Contributions
    9

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    sph,
    Glad it worked and, yes, it's simple.
    The only file included with this mod is the one for the includes/templates/CUSTOM/templates/tpl_modules_categories_tabs.php.
    It contains the query
    $categories_tab_query = "SELECT c.categories_id, cd.categories_name FROM ".TABLE_CATEGORIES." c, ".TABLE_CATEGORIES_DESCRIPTION . " cd WHERE c.categories_id=cd.categories_id AND c.parent_id= '0' AND cd.language_id='" . (int)$_SESSION['languages_id'] . "' AND c.categories_status='1' ORDER BY c.sort_order, cd.categories_name;";
    $categories_tab = $db->Execute($categories_tab_query);
    The while following the query is what populates the menu with the categories selected.
    You will need to "massage" that query in order to change the selection process.
    I hope you will understand that this is not a thread to discuss SEO or other items other than problems with the mod or it's installation.
    Also, it could muddy the waters if we begin discussing the many ways the mod can be the basis for something way bigger and better.
    The mod says Simple and I think this thread should stay simple.
    Perhaps someone will PM you with a quote or you can search the Add Ons for more powerful menu mods. Perhaps when 1.5.0 is finalized, someone will make this a more powerful "select your category" option at that time.
    I am not the author nor a user of the mod, but modified it to make it validate and operate as the original author intended. With that, I committed to assist with installation and operation problems. We have already seen that template choices even from Zen Cart add ons can effect the operation of this mod. Be sure that any template chosen for your site(s) follow standard Zen Cart process and validate before going further.
    Did you read the posting tips?!?
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free Domain, SSL, and Magic Thumb with Semi-Annual or longer plan.

  9. #9
    Join Date
    Jan 2006
    Posts
    1,542
    Plugin Contributions
    0

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Thanks, it is simple. And the best looking out-of-the-box menu I've tested.

  10. #10
    Join Date
    Dec 2010
    Posts
    132
    Plugin Contributions
    0

    Default Re: Category Tab Simple Dropdown Menu 1.3.9 Support Thread

    Quote Originally Posted by schoolboy View Post
    Dbltoe's module influences the behaviour of the categories tabs menu which appears in the HEADER section - not a sidebox. It looks like you are using a Pure_Black template (or one of the "Pure" series) and I think the headers of this template forcefully disable categories-tabs.

    If you want to see a categories-tabs dropdown menu in action, GO HERE.
    Thanks... that clears things up for me. I was after an addon that affected the category sidebox, rather than the header. I found one that works for my purposes called "CSS Flyout Menu." Thanks for the help!

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Category Tab Simple Dropdown Menu
    By hem in forum All Other Contributions/Addons
    Replies: 85
    Last Post: 26 Jun 2015, 02:06 PM
  2. Simple Zen Template - Support Thread
    By jettrue in forum Addon Templates
    Replies: 461
    Last Post: 27 Apr 2013, 01:33 AM
  3. Problem with Sort Order and Category Tab Simple Dropdown Menu Mod
    By dbltoe in forum All Other Contributions/Addons
    Replies: 17
    Last Post: 15 Jun 2011, 07:08 PM
  4. Replies: 1
    Last Post: 12 Mar 2011, 07:18 AM
  5. Category Tab Simple Dropdown menu
    By marshanite in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 16 Mar 2010, 04:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR