Page 12 of 15 FirstFirst ... 21011121314 ... LastLast
Results 111 to 120 of 143
  1. #111
    Join Date
    Sep 2009
    Location
    Rzeszów / Poland
    Posts
    10
    Plugin Contributions
    0

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    helo i try to make a mod of this menu but i dont know howto.

    i like to hawe a 4-5 dropdown's on my menu.

    Master category dropdown ( when you pick a category go to second dropdown )

    2 lvl category select
    3 lvl category select

    something like this : http://msi.com/index.php?func=downloadindex MANUAL DOWNLOAD od right..

    how to make that menu based on yours ?

  2. #112
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,767
    Plugin Contributions
    30

    Default Version 1.4 available

    Hi,
    I have submitted a modified version of this:
    http://www.zen-cart.com/index.php?ma...roducts_id=532

    Now it has some user-defined options:

    1. which category is used in the box (this also automatically defines the sidebox heading)
    2. if subcategories are shown or not
    3. if the sidebox heading is a link to the chosen category similar to the New/Featured/Specials sideboxes headings

    regards
    Steve

  3. #113
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,767
    Plugin Contributions
    30

    Default remove undefined variable

    There is a small error in the category query, using an undefined variable. It does not cause a problem, but does raise a php notice if you have that level of reporting enabled.

    in
    \includes\functions\extra_functions\categories_select.php

    change

    PHP Code:
    $categories_query "select c.parent_id, c.categories_id, cd.categories_name, c.categories_status
                             from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                             where " 
    $zc_status "
                             parent_id = '" 
    . (int)$parent_id "'
                             and c.categories_id = cd.categories_id
                             and c.categories_status=1
                             and cd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'
                             order by sort_order, cd.categories_name"

    to

    PHP Code:
        $categories_query "select c.parent_id, c.categories_id, cd.categories_name, c.categories_status
                             from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                             where parent_id = '" 
    . (int)$parent_id "'
                             and c.categories_id = cd.categories_id
                             and c.categories_status=1
                             and cd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'
                             order by sort_order, cd.categories_name"


  4. #114
    Join Date
    Oct 2009
    Location
    Great Northwest
    Posts
    80
    Plugin Contributions
    0

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    I currently have a "Drop Up" menu, not a drop down. The screenshot below shows what I mean. The edge of the "Please Select" window can just be seen to the left and behind of the pop up and the top of the popup menu goes almost to the top of the browser page.

    Name:  Drop Up.jpg
Views: 238
Size:  25.9 KB

    Where can this be adjusted to have the menu drop below (drop down?) the "Please Select" when clicked?

    Thanks for any help!

    Rod

  5. #115
    Join Date
    Apr 2009
    Posts
    84
    Plugin Contributions
    0

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    Many people are interested in a multi-dropdown option, so I'm attempting to figure out a workaround using this add-on, and could use help of people more talented.

    The thread that explains my theory is at: http://www.zen-cart.com/forum/showthread.php?t=160761
    Brian - Connecticut, US --- Using Zen 1.3.9g - Modified Classic Template
    Currently developing: http://www.printdealz.com
    Other Zen Pages: http://www.wholesale4realtors.com 1.3.8a

  6. #116
    Join Date
    Aug 2005
    Location
    Trujillo Alto, Puerto Rico
    Posts
    1,547
    Plugin Contributions
    9

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    Is there anyone that have installed this mod and have an active/real link to see what it does please?
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!

  7. #117
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,767
    Plugin Contributions
    30

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    there is now a mod available to provide multiple drop-down category selects:
    http://www.zen-cart.com/forum/showthread.php?t=161143

  8. #118
    Join Date
    Sep 2008
    Posts
    47
    Plugin Contributions
    0

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    I tried using this mod with 1.3.9f. Didn't alter anything and it wouldn't work. So after hours of trying to figure out how to get it to work, I resorted to the files from my old site (1.3.8a). I added the extra function file from the new download but replaced the modules/sidebox and templates/sidebox with their respective files from the old site. Now it works. Have to adjust the width and remove a generic message from the menu....other than that it works.

  9. #119
    Join Date
    May 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Category Drop Down SELECT Menu Sidebox Mod.

    It worked fine for me on 1.3.9f. Don't forget to modify tpl_categories_select.php with the correct values after installing.

  10. #120
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: remove undefined variable

    Quote Originally Posted by torvista View Post
    There is a small error in the category query, using an undefined variable. It does not cause a problem, but does raise a php notice if you have that level of reporting enabled.

    in
    \includes\functions\extra_functions\categories_select.php

    change

    PHP Code:
    $categories_query "select c.parent_id, c.categories_id, cd.categories_name, c.categories_status
                             from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                             where " 
    $zc_status "
                             parent_id = '" 
    . (int)$parent_id "'
                             and c.categories_id = cd.categories_id
                             and c.categories_status=1
                             and cd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'
                             order by sort_order, cd.categories_name"

    to

    PHP Code:
        $categories_query "select c.parent_id, c.categories_id, cd.categories_name, c.categories_status
                             from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                             where parent_id = '" 
    . (int)$parent_id "'
                             and c.categories_id = cd.categories_id
                             and c.categories_status=1
                             and cd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'
                             order by sort_order, cd.categories_name"

    Perhaps you should upload it again with this fix? I've got people emailing me about the error filling up their log files. :)

 

 
Page 12 of 15 FirstFirst ... 21011121314 ... LastLast

Similar Threads

  1. Select an accessory drop-down menu
    By DML73 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 24 Nov 2013, 06:40 PM
  2. How do I change the music genre select sidebar to use a drop down menu???
    By vicariousk in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Apr 2011, 10:04 PM
  3. Adding a drop down menu to a sidebox
    By BigNath in forum Basic Configuration
    Replies: 2
    Last Post: 17 Jul 2008, 06:15 PM
  4. Mod CC month drop down menu?
    By re_active in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Sep 2006, 08:21 AM

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