Adding a filter by letter
MXT - January 14, 2008 - 15:59
| Project: | Vocabulary Index |
| Version: | 6.x-2.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Xano |
| Status: | closed |
Jump to:
Description
Hi,
is it possible to add a alphabetical filter giust under the vocabulary title?
clicking on a letter only terms that starts with that letter will be show.
See the image in attachment to understand better what I mean.
The filter would be activated optionally in the admin section of the module.
Thank you
MXT
| Attachment | Size |
|---|---|
| Filtered-Terms-list-Example.jpg | 54.71 KB |

#1
Good idea, but it will have to wait for 5.x-2.0 and 6.x-2.0 though. The 1.x-dev versions are feature complete at the moment. Any more input will still be appreciated.
#2
Sounds like a pretty nice feature. I wouldn't mind having this functionality too.
#3
We do something like this in Glossary already (the code is available to all), and I was already planning on adding something like this: http://nanwich.info/taxonomy/directory to Taxonomy List (I'm trying to get access to that module).
I haven't tried VI yet, but it looks like there is some overlap with TL. Perhaps we should pool forces here and come up with a single module.
#4
I will surely check out Taxonomy List, although that might not happen for a few months (Due to more important matters I'm not developing at the moment). The first few things that I realized by looking at the module's main pages was that Vocabindex is intended to be simple and do the job and that Taxonomy List is a little more complicated, but at some points a bit more sophisticated as well. My intention for Vocabindex was to provide a feature, but without letting things look too complicated and I intend to hold on to this intention. There are some things about Taxonomy List I would never want to implement in Vocabindex (both personal preferences and the intention mentioned above)
#5
Okay.
BTW, I am still trying to figure what kind of alias to use. Are there any samples somewhere, or documentation.
#6
You can use any alias you'd like (unless it's already used by another module). Vocabindex is based on the menu system. Aliases actually are menu paths, but for consistency with the whole URL system I've decided not to use the term paths but aliases.
I have made a note to remind me to make some documentation on this for the next version.
#7
Status change.
I have also kind of decided not to merge Vocabindex with Taxonomy List because I want to keep my module as simple as possible and because Taxonomy List offers slightly different features.
#8
Okay, back in business. I've been thinking about this feature and there's one thing that I'd like to know your opinion about. How do 'link' the URL to a letter? I can create a menu path using a wildcard like /index/%letter or I could perhaps use the Drupal pager which would result in /index?page=3. The latter would have the least chance to collide with existing paths, but the former looks way better and that's why I am thinking of implementing the former. What do you people think?
#9
Added and committed to 6.x-2.x-dev.
#10
Automatically closed -- issue fixed for two weeks with no activity.
#11
I want to thank you for your work.
MXT
#12
Thanks :) I hope you'll be able to use it!