YOOtheme Pro is here! The best WordPress and Joomla theme. Learn more

Extend the alpha index

This tutorial will walk you through the process of extending the alpha index of a ZOO app.

Getting started

Items that are not categorized, will not show in the alpha index.

In general the alpha index letters are defined in /media/zoo/applications/APPLICATION/config/alphaindex.xml.

Getting into detail

A typical alphaindex.xml file might look like this.

<?xml version="1.0" encoding="utf-8"?>
<alphaindex other="#">
	<option>a</option>
	<option>b</option>
	<option>c</option>

	<option>d</option>
	<option>e</option>
	<option>f</option>
	<option>g</option>

	<option>h</option>
	<option>i</option>
	<option>j</option>
	<option>k</option>

	<option>l</option>
	<option>m</option>
	<option>n</option>
	<option>o</option>

	<option>p</option>
	<option>q</option>
	<option>r</option>
	<option>s</option>

	<option>t</option>
	<option>u</option>
	<option>v</option>
	<option>w</option>

	<option>x</option>
	<option>y</option>
	<option>z</option>
	<option>#</option>

	<option value="other">#</option>
</alphaindex>

You may add, modify, delete any letters you like. The other attribute defines a group, that will display all characters not found in the options list.

You may also define a value in the option. It will be used as alias. This is needed for special characters like "German Umlaute" for example.

The Blog Application and the Page Application are not supporting alpha index.

Documentation on Github

Help us out! If you are feeling that our documentation has errors or can be improved, fork it at Github and send us a pull request. Any contribution is much appreciated. Thank you!