Results 1 to 5 of 5

Thread: how to select category from multiple dropdowns

  1. #1
    Join Date
    May 2008
    Posts
    12

    Default how to select category from multiple dropdowns

    On the add_form template:

    How can I split up the category select to multiple selections? If you choose a category in AJAX-mode you need to choose a sub-category from the same dropdown. Does anyone know what I can do to split up these drowdowns so when a user choose the first category then a second select-box appears, and so on?

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Do you want to have multiple selection list, I mean multiple categories more than 3?

    I don't think it is possible.

    --
    I think I have solution if you need something like multiple categories. See this url, it is my work for other client.
    Code:
    http://www.dodyrw.com/custom/cpanel/
    Notice in left sidebar, there is something like category: shared, vps, dedicated, etc.
    But actually they are not category. It is something tricky. I only use one category that is hidden for all listing. See the submit url, no category as well. But with custom field that has selection for shared, vps, dedicated, etc. This can be accomplished.

    The trick to construct something like category is by using custom fields and the listing page is constructed from advanced search.

  3. #3
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Btw, this script is using indexu 7 (pre-released ... i mean I have updated a lot since this demo site).

    Check facebook connect too
    Login

  4. #4
    Join Date
    May 2008
    Posts
    12

    Default

    ok, I think you misunderstoud my question hehe. THis is not what I ment. Great site though!

    I'll try to explain better:

    in the add_form.html template-file there is a <%$category%>. This shows a selectbox with the categories.

    Problem:
    I have activated the Ajax-category view. When a user choose a category they choose the first category but not a sub-category. This because they dont understand that the dropdown-seceltionbox loads after you have chosen the first category.

    Solution:
    When a user shoose a category I want to display another <select> with the subcategory, istead of choosing sudcategory in the same <select>-box.

    Sorry for my bad english

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    It should be done with writing custom code. You can email me at support@nicecoder.com for custom work.

Similar Threads

  1. Replies: 6
    Last Post: 10-11-2010, 09:43 AM
  2. Multiple category MOD
    By esm in forum Blocks and Modification
    Replies: 21
    Last Post: 05-14-2008, 09:36 PM
  3. Make users only able to select one category?
    By enginerunup in forum v5.x
    Replies: 1
    Last Post: 07-22-2006, 05:28 PM
  4. Dropdowns boxes, checkbox..Again!
    By manuel_pr in forum v5.x
    Replies: 3
    Last Post: 01-22-2004, 06:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •