- Installing and upgrading
-
- Installation overview
- General installation requirements
- Installing on Ubuntu Linux
- Installing on CentOS Linux
- Installing on SuSE
- Installing on Windows Server 2008 R2
- Installing on Windows 7
- Installing on Windows (Server)
- Installing on Mac OS X
- Installing on Synology DSM
- Configuring php.ini
- Configuring the database
- Upgrading
- OpenOffice / LibreOffice
- OpenCV (facial recognition)
- Alternative installation
- Backups
- User management
- Advanced user group options
- Customising ResourceSpace
- Plugins
- StaticSync
Showing resource type icons
ResourceSpace can be configured to show a small icon denoting the resource type when searching for resources in the thumbnail or extra large thumbnail view. Font Awesome version 4 is used for the icons.
This can be enabled by setting the config option $resource_type_icons to true either in your config.php file or as a config override for a user group.
By default ResourceSpace will display the icons in the following way:
- Resource type 1 (Photo) = "camera"
- Resource type 2 (Document) = "file"
- Resource type 3 (Video) = "video-camera"
- Resource type 4 (Audio) = "music"
This can be changed by modifying the $resource_type_icons_mapping variable, by default it is:
$resource_type_icons_mapping = array(1 => "camera", 2 => "file", 3 => "video-camera", 4 => "music");
You could add another resource type and its icon by extending that array, for example:
$resource_type_icons_mapping = array(1 => "camera", 2 => "file", 3 => "video-camera", 4 => "music", 7 => "paint-brush");