Extend Alpha Index

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


Getting Started

Note 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.

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

ZOO Documentation