6.0.0-beta13
4/14/26
  • conf.xml

The XML file is layed out using several sections. These sections relate to variables that are used within horde. Here is an example XML snippet and the resulting configuration file entries:

Application Settings


unified

unified
context
sidebyside




{{}} is the start of the config file.

++ Sections

{{}} produces first level {{$conf['wicked']}} variables.
Multiple configsection names produces multiple levels.

...

produces {{$conf['level1']['level2']}} variables.

++ Headers

{{}} puts text to help organize the screen

++ Strings

{{<configstring ...>}} for selecting an item from a list

  • name - Second level {{$conf['configsection']['configstring']}} variables
  • desc - This is what shows up near the box for information about the entry
  • required - will put a red star and make user enter data (true/false)

++ Booleans

{{<configboolean ...>value}}

  • name - Second level {{$conf['configsection']['configboolean']}} variables
  • desc - This is what shows up near the box for information about the entry
  • required - will put a red star and make user enter data (true/false)
  • value - could be false or true

++ Enums (Select From a List)

{{<configenum ...>default_entry}} to provide a list of choices

  • name - Second level {{$conf['configsection']['configenum']}} variables
  • desc - Descriptive text for list
    within configenum section use:


    list1
    list2

++ Multi-Enums (Select Any Number From a List)

{{<configmultienum ...>}} for selecting multiple items from a list

  • name - Second level {{$conf['configsection']['configmultienum']}}
  • desc - Descriptive text for multienum entries

++ Special Values

{{}} - "values" list of active horde apps

  • name - Refers to case entry in Horde_Application::configSpecialValues()

See http://www.ralf-lang.de/2012/02/22/horde-config-how-to-fill-dropdowns-with-application-data-with-configspecial/ for a detailed explanation.

++ Switches

{{<configswitch ...>}} - mechanism for grouping sets of options
Use config entries from above to populate option choices.

  • name - Third level {{$conf['configsection']['configstring']['configswitch']}}
  • desc - Descriptive text for configswitch entries

{{<case ...>}} provides value for configswitch statement
Must reside within {{}} section

  • name - {{$conf['configsection']['configstring']['configswitch'] = name_value}}
  • desc - List value description