Closed (fixed)
Project:
Glossary
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
27 Jul 2005 at 07:29 UTC
Updated:
20 Feb 2008 at 16:13 UTC
Jump to comment: Most recent file
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | glossary.module.patch | 1.19 KB | jweiss |
Comments
Comment #1
akuma commentedhear-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.
Comment #2
akuma commentedhmm... 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.
Comment #3
naudefj commentedI 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.
Comment #4
jweiss commentedThis 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
Comment #5
naudefj commented+1
Comment #6
moshe weitzman commentedi will implement part of this as described in http://drupal.org/node/20045
Comment #7
nancydru