The Templates

Anthill is an entirely template driven creature. Assuming that you installed the Anthill source files in /var/www/perl/Anthill/ (which we will abbreviate as just .../Anthill/ for the remainder of this document), the templates will be located in both .../Anthill/templates and .../Anthill/admin/templates with the latter being for the administrative scripts and the former being for the public access scripts. Although they have specific names, it may not be clear which templates correspond to which scripts. The following diagrams show which templates (the ellipses) correspond to which scripts (the boxes). The simplified diagrams reduce clutter by assuming you know that basically everything goes into the main.xml template and basically all scripts use error.xml to report messages. The complete diagrams are only provided for, um, completeness, and may make your head spin when you look at them:

Once you have an idea of which template to edit, you will naturally want to do things with it. The templates are mostly HTML, but contain many extra XML tags that are critical to the operation of Anthill. Fortunately, these are all of the same format: <place-something-here>. Leave all of these in reasonable places, but feel free to alter the rest of the HTML to your heart's content. If you do not like the specific colors used for the bug tables, you may edit them in the file AnthillConfig.pm, located in .../Anthill/. The @initial_column_colors are the colors that appear behind the first column (the BugId), and the @severity_colors are used to color the rest of each row. The colors should be progressively darker, as later entries in the lists are used for more severe bugs. These entries also affect the summary display, but that is subject to change in the future.


Note

Wherever the name ``Anthill'' is mentioned in this document, it refers to the Anthill Bug Manager. If other projects, things, or people coincidentally bear the name ``Anthill'', it is assumed that the reader can divine from the context of this document that only the Anthill Bug Manager is being referred to. If not, that is what this note is for.