I just knocked up a quick extension to make it easier to create A to Z indexes of entries.
It creates a new column in exp_weblog_titles and adds the first character of the entry’s title.
You get a new parameter “title_alpha” to add to your exp:weblog:entries tag. Example:
{exp:weblog:entries weblog="showcase|blog|features" title_alpha="{segment_3}" dynamic="off"}
or
{exp:weblog:entries weblog="showcase|blog|features" title_alpha="a|b|c" dynamic="off"}
You can see it in action here. Just change the third segment to a letter to filter. There’s no support for foreign characters.
I’ve tested it on a couple of sites without problems but don’t try it on anything critical until I’ve gained some feedback.
Any suggestions for improvement?
