Collections functions
General functions
Render functions
Theme permission functions
Resource functions

Table: resource_type

Resource types, such as photo / video / case study. The choice of resource type will determine the metadata fields a resource has.

refint(11)Auto incrementing index
namevarchar(200)Resource type name.
allowed_extensionsTEXTList of allowed extensions for this resource type.
order_byint(11)Order defined by the adminstrators.
config_optionstextSupports separate configuration options for resources depending on resource type.
tab_namevarchar(50)Setting a tab name means that related resources of this type will be displayed in that tab along with the metadata. DEPRECATED - use the tab column instead. From version >9.8 all tab names have been migrated to the system tabs.
push_metadataint(11)If set, the metadata for this resource will be displayed on the resource view page for any related resources.
inherit_global_fieldstinyint(1)Should resources of this type inherit the global fields?
coloursmallintColour used for map marker when using map view search results.
icontinytextFont Awesome class name for icon displayed in thumbnail search results.
tabint(11)Reference to a system tab. See the "tab" table.

Default contents are as follows.

1Photo1fas fa-image
2Document1fas fa-file-alt
3Video1fas fa-video
4Audio1fas fa-music

Please see the schema overview for context. This document was last updated on the 3rd of October 2022 at 13:05 (Europe/London time).