Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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.
push_metadataint(11)If set, the metadata for this resource will be displayed on the resource view page for any related resources.
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.
pull_imagessmallintUse images from related resources if not one present for the current resource? 0 by default

Default contents are as follows.

1Photofas fa-image
2Documentfas fa-file-alt
3Videofas fa-video
4Audiofas fa-music

Please see the schema overview for context. This document was last updated on the 18th of May 2024 at 21:35 (Europe/London time).