Craft Glossary Plugin
Many sites require some sort of "directory"[^directory-name] of items, grouped appropriately.
[^directory-name]: Sadly, the name "Directory" has already been taken.
The most obvious example is a list of staff members, grouped by the first letter of their surname, but it could also be a list of offices organised by country, recipes organised by cooking method, and so forth.
It's possible to do all of this using Twig, but the result is messy and difficult to test. Glossary keeps your templates neat, and has a suite of unit tests to ensure everything runs smoothly.[^unit-tests]
[^unit-tests]: Unit testing of Craft plugins is still in its infancy, so you'll need to be comfortable digging through the code if you want to run them locally. Hopefully this will improve over time.
Glossary has been tested with Craft 2.1.
- Download and unzip the Glossary plugin.
- Move the
glossarydirectory to your
- Go to the "Settings → Plugins" page in your admin area, and click on the "Install" button next to the Glossary plugin.
Usage instructions are provided in the announcement blog post.