DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Configuration Reference

After including the static template file there are the following TypoScript options.

Plugin Settings

You may change the settings for ordering of the images to “From collection” now. The ordering in the frontend is then depending on the ordering in the FileCollection data. Fallback is ascending to not cause some breaking changes.

Its now possible to use the nested display mode in the plugin settings. This causes to the plugin to use nested templates with an preview image per included file collection. This way you could use the extension as image gallery with preview and a single view per gallery.

TypoScript Reference

Properties

Property Data type Default
view.templateRootPaths path EXT:sf_filecollection_gallery/Resources/Private/Templates/
view.partialRootPaths path EXT:sf_filecollection_gallery/Resources/Private/Partials/
view.layoutRootPaths path EXT:sf_filecollection_gallery/Resources/Private/Layouts/
settings.lightbox string lightbox
settings.enableLightbox boolean  
settings.cssFile path EXT:sf_filecollection_gallery/Resources/Public/Css/sf-filecollection-gallery-basic.css
settings.image.width string 200
settings.image.height string 200m
settings.image.lightboxWidth string 800

Property details

view.templateRootPaths

plugin.tx_sffilecollectiongallery.view.templateRootPaths = path

Define root path for templates as a fallback array.

view.partialRootPaths

plugin.tx_sffilecollectiongallery.view.partialRootPaths = path

Define root path for partials as a fallback array.

view.layoutRootPaths

plugin.tx_sffilecollectiongallery.view.layoutRootPaths = path

Define root path for layouts as a fallback array.

settings.lightbox

plugin.tx_sffilecollectiongallery.settings.lightbox = boolean

Additional output for lightbox settings. NOTE: You need some other extension (or anything else) to render that lightbox.

settings.enableLightbox

plugin.tx_sffilecollectiongallery.settings.enableLightbox = string

Switch if lightbox is enabled. NOTE: You need some other extension (or anything else) to render that lightbox.

settings.cssFile

plugin.tx_sffilecollectiongallery.settings.cssFile = path

Path to CSS File.

settings.image.width

plugin.tx_sffilecollectiongallery.settings.image.width = string

Width of single image.

settings.image.height

plugin.tx_sffilecollectiongallery.settings.image.height = string

Width of single image.

settings.image.lightboxWidth

plugin.tx_sffilecollectiongallery.settings.image.lightboxWidth = string

The maxWidth of the lightbox image.