Text Metadata

All Plugins / Meta / User

Identity Card

StatusCore
Plugin LabelText Metadata
Short DescriptionSimple metadata implementation stored in a hidden file.
Plugin Identifiermeta.user
AuthorCharles du Jeu
Urldocs/references/plugins/meta/user
Dependenciesaccess.fs, access.ftp, access.demo

Documentation

Meta.user (previously meta.serialà is a generic implementation of a meta plugin. Basic feature is to add as many fields as wanted to the data, to attach any property to each item (folder or file). The metadata is stored as PHP serialized data inside a file in the same folder as each file. Metadata is moved/copied/deleted between folders when such operations are applied on the files. The plugin provides a little editor for adding/modifying these properties as simple text lines, display them in both the file list and in the infoPanel, and the added metadata is also searchable. This plugin is configured via the « Meta Sources » tab of each repository configuration.

    Some special keywords can be used to name metadata fields, that will behave specially in terms of GUI :
  • stars_rate : the field automatically turns into a 5-stars rating system for the files. View and edit the rating directly in the InfoPanel, in the FilesList (in list mode only for the moment), and in the « File Meta Data » form.
  • css_label : the field turns into a labeling system that will apply a given css class to either the table row when in list mode, or the thumbnail cell when in thumb mode. The css classes are defined in plugins/meta.serial/css and by default they define 5 levels of priority with associated background colors. Use png transparent images as background colors, that way the user can still notice when a row is selected or not.
  • anything_area : will create a textarea field

Warning, this plugin requires a "metastore" plugin to be active to do the actual storing implementation.

Instance parameters

LabelDescriptionTypeDefault
Field ID *
meta_fields
Id of fields, use standard characters here.Stringcomment_field
Label *
meta_labels
Label of the field, human friendlyStringMy Comments
Field Type *
meta_types
Type of fieldSelect (string, textarea, creator, updater, stars_rate, css_label, choice, tags)string
Column visibility *
meta_visibility
Set default visibility.Select (visible, hidden)visible
Additional info
meta_additional
Depending on the field type. Currently used for selection onlyString