Level-based Category Selector
By Paul
0/5 based on 0 votes. The median rating is 0.
By Paul
When you have thousands of subcategories, the regular category selector becomes absurdly long and thus no longer serves a useful purpose. On the other hand, you still want to allow people to select a category or change their selection without having to type in id numbers. You handle this by switching on the level-based category selector.
With the level-based selector, submitters are prompted first to select a top level category. When they do that, the subcategories of that category are shown for selection. When a subcategory is selected, its subcategories are shown. This continues until the bottom level is reached (though by not making a selection in the rightmost box the user can still submit to a higher level category, unless of course you've specified to only allow submissions at the bottom level).
When clicking "submit article" from within a category, the page will have the category structure down to the current category already drawn out -- but ready to be changed if so desired.
With the level-based selector, submitters are prompted first to select a top level category. When they do that, the subcategories of that category are shown for selection. When a subcategory is selected, its subcategories are shown. This continues until the bottom level is reached (though by not making a selection in the rightmost box the user can still submit to a higher level category, unless of course you've specified to only allow submissions at the bottom level).
When clicking "submit article" from within a category, the page will have the category structure down to the current category already drawn out -- but ready to be changed if so desired.
Rating:
0/5 based on 0 votes. The median rating is 0.
Submitted: 04/24/08
Description: Allowing category selection on a site with thousands of subcategories.
Views:
116 views. Averaging 1 per day.
In the most recent 30 day period, there've been 12 views.

Print
E-Mail