I've got a 500+ term glossary that takes a while to load and is a bit cumbersome to work with. I'm wondering what it would take for the glossary module to allow the results to be broken down by letter.

Something along the lines of replacing http://www.example.com/glossary#lettera with http://www.example.com/glossary/a/

I'm still new to php, but if anyone is willing to give some pointers I'll take a shot at this one. Currently, I'm not even sure where to start.

CommentFileSizeAuthor
#4 glossary.module.patch1.19 KBjweiss

Comments

akuma’s picture

hear-hear. i'm in exactly the same boat and would love to see this functionality added myself.

i'd also like there to be a way of adding and subdividing multiple glossaries in the form of separate vocabularies.

something like this (expanding on jweiss' concept):

http://www.example.com/glossary/a ('a' terms under all the glossaries)
http://www.example.com/glossary/vocabulary1/a ('a' terms under the first glossary)
http://www.example.com/glossary/vocabulary2/a ('a' terms under the second glossary)

i'm working on a site that uses jargon from two distinctly different disciplines and would appreciate the ability to discriminate between them clearly.

akuma’s picture

hmm... after some playing, i've found that my part of the request is already built-in.

so i'll just leave it at seconding jweiss' initial suggestion.

naudefj’s picture

I would like to see this implemented as well. The current behavior of showing all glossary terms on a singe page is completely impractical for large sites.

jweiss’s picture

Version: 4.6.x-1.x-dev » master
Component: User interface » Code
Assigned: Unassigned » jweiss
Status: Active » Needs review
StatusFileSize
new1.19 KB

This patch modifies glossary module to display only the entries starting with numbers intially. When the user clicks on a letter on the alpha bar it displays only the entries that start with that letter. I can't take the credit as it's only a minor modification to a patch submitted by maykelmoya but it does the job that I needed done. For an example of how it looks, take a look at MortgageKnowledgebase.com

-jeremy

naudefj’s picture

Status: Needs review » Reviewed & tested by the community

+1

moshe weitzman’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

i will implement part of this as described in http://drupal.org/node/20045

nancydru’s picture

Status: Closed (won't fix) » Closed (fixed)