In order to filter the list of available templates, it must be known for which module a template can be used. This is done by adding tags to describe a template file. Templates currently reisde either in the servers file system ( in /opt/openexchange/templates ) or in the OXMF Templates infostore folder. For templates residing on disk, new .properties files have been introduced. Consider you want to describe a template contacts.tmpl, which resides in /opt/openexchange/templates/contacts.tmpl. You would then create a property file /opt/openexchange/templates/myNiceTemplates.properties with an entry for the template:
contacts.tmpl : publish, contacts
denoting that this template is useful for publishing contact data. Currently the known tags are:
publish - Used for all publication templates
printing - Used for all templates that are used to render print views
contacts - Used for all templates that can process contacts
infostore - Used for all templates that can process files
calendar - Used for all templates that can process appointments
oxupdater - Used for all templates used to drive the OX Updater Windows Installer
If you want to describe a template in the OXMF infostore folder add the above tags as categories.
== As an administrator of OX, what do I have to do? ==
If you introduced custom templates for your users, you have to create a .properties file in the templating directory and mark up the templates with one or more of the above tags.
New .properties files have been added to the packages open-xchange-publish-microformats, open-xchange-calendar-printing and the updater packages.
contacts.tmpl : publish, contacts
denoting that this template is useful for publishing contact data. Currently the known tags are:
publish - Used for all publication templates
printing - Used for all templates that are used to render print views
contacts - Used for all templates that can process contacts
infostore - Used for all templates that can process files
calendar - Used for all templates that can process appointments
oxupdater - Used for all templates used to drive the OX Updater Windows Installer
If you want to describe a template in the OXMF infostore folder add the above tags as categories.
== As an administrator of OX, what do I have to do? ==
If you introduced custom templates for your users, you have to create a .properties file in the templating directory and mark up the templates with one or more of the above tags.
New .properties files have been added to the packages open-xchange-publish-microformats, open-xchange-calendar-printing and the updater packages.