Modify the GUI

The <client_configs> element of a plugin is a container to a couple of GUI-modifying tags. See XSD for full reference.

Component_config

The component_config element is a way to pass some parameters directly to an instanciated widget of the GUI, withouth this widget being recreated. If you developed your own widget, you’ll have to make sure it listens to the pydio:component_configs event in the Javascript. Generally, this is way to set some parameters to the FilesList. You can pass whatever XML element you want, it’s the widget mission to parse it.

Currently the following elements are already available:

<columns> Redefine the columns displayed in the FilesList. Contains <column> and <additional_column> elements, defining their labels, width, default visibility, etc.

<infoPanel> & <infoPanelExtension> Parsed by the InfoPanel widget, to pass arbitrary subwidgets to be displayed in the InfoPanel (see access.fs sample).

Template / Template part

With these tags, plugins can either

  • redefine the whole layout with a <template>: this should be generally not be modified, as it is actually tricky. See the gui.ajax/manifest.xml where all master templates are defined
  • redefine a given template part with a <template_part>: this is more frequently used, to dynamically reinstanciate an existing widget of a broader template.
Back to top