Skip to end of metadata
Go to start of metadata

Parameter list of get_storage_html (Perl and PHP)



Name of the HTML form element including the resulting path. This id is used as id and name of the element. The input field is hidden in the form, but updated on every user change.


Giving a path, this is the pre-defined path of the dropdown element. Read the path from your config file and insert it here.

Omitting this parameter will set an empty path.



undef - The user is not allowed to add an additional subfolder to the selected storage.

1 - Behind the selected storage, the user can enter an own subfolder tree. But keep in mind that the plugin code has to care about the existance and creation of that folder.



If this parameter is omitted (default), all storage points are shown.

To only show writeable storage points, set readwriteonly => 1.

show_browsexundefDisplays an eye symbol right to the select box to open the current path in LoxBerry's File Manager. The eye symbol is disabled if the base path is outside of /opt/loxberry, as this is not allowed in LoxBerry's File Manager. (available from LoxBerry

This is the string label in front of the dropdown. Usually, set the label to a string from your plugin language phrases.

Without this parameter, the system default string "Storage path" (language specific) will be used.

data_minixundefThis flag corresponds to the jQuery Mobile flag data-mini="true". The controls are displayed in the data-mini="true" behaviour if set to 1.
Types of storage to show
type_allx1 oder 0

Using type_all => 1 (or omitting this parameter), all of the folloing storage types are shown. If you set at least one other type to 1, type_all is disabled.


USB storage devices are selectable.


Network shares are selectable.


The local plugin data directory ($lbpdatadir) is selectable.


The user can alternatively enter an own path.

Take care: If you want to prevent a custom path by type_custom = 0, and the sent currentpath value is not present in the available types, type_custom automatically enables as fallback. This prevents from loosing the configured path if a storage device (e.g. usb stick) is temporarily not available.

  • No labels