Initial commit - Typo3 11.5.41
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
plugin.tx_fsmediagallery {
|
||||
view {
|
||||
templateRootPaths {
|
||||
100 = {$plugin.tx_fsmediagallery.view.templateRootPath}
|
||||
110 = EXT:fs_media_gallery/Resources/Private/Themes/Bootstrap3/Templates/
|
||||
}
|
||||
partialRootPaths {
|
||||
100 = {$plugin.tx_fsmediagallery.view.partialRootPath}
|
||||
110 = EXT:fs_media_gallery/Resources/Private/Themes/Bootstrap3/Partials/
|
||||
}
|
||||
layoutRootPaths {
|
||||
100 = {$plugin.tx_fsmediagallery.view.layoutRootPath}
|
||||
110 = EXT:fs_media_gallery/Resources/Private/Themes/Bootstrap3/Layouts/
|
||||
}
|
||||
widget {
|
||||
MiniFranske\FsMediaGallery\ViewHelpers\Widget\PaginateViewHelper {
|
||||
templateRootPath = EXT:fs_media_gallery/Resources/Private/Themes/Bootstrap3/Templates/
|
||||
}
|
||||
}
|
||||
}
|
||||
settings {
|
||||
list {
|
||||
dummyImage = EXT:fs_media_gallery/Resources/Public/Images/Blank.png
|
||||
}
|
||||
}
|
||||
}
|
||||
page.includeCSS.tx-fs-media-gallery = EXT:fs_media_gallery/Resources/Public/Css/MediaAlbum_Bootstrap3.css
|
||||
@@ -0,0 +1,24 @@
|
||||
plugin.tx_fsmediagallery {
|
||||
view {
|
||||
# cat=plugin.tx_fsmediagallery/file; type=string; label=Path to template root (FE)
|
||||
templateRootPath = EXT:fs_media_gallery/Resources/Private/Templates/
|
||||
# cat=plugin.tx_fsmediagallery/file; type=string; label=Path to template partials (FE)
|
||||
partialRootPath = EXT:fs_media_gallery/Resources/Private/Partials/
|
||||
# cat=plugin.tx_fsmediagallery/file; type=string; label=Path to template layouts (FE)
|
||||
layoutRootPath = EXT:fs_media_gallery/Resources/Private/Layouts/
|
||||
}
|
||||
persistence {
|
||||
# cat=plugin.tx_fsmediagallery//a; type=string; label=Default storage PID: Comma separated list of pages/sysfolders which hold the album records
|
||||
storagePid =
|
||||
# cat=plugin.tx_fsmediagallery//b; type=options[0 levels (only selected page)=0,1 level=1,2 levels=2,3 levels=3,4levels=4,Infinite=250]; label=Recursion level: Recursion level of the storage PID. Default: 0 levels (only selected page)
|
||||
recursive = 0
|
||||
}
|
||||
settings {
|
||||
# cat=plugin.tx_fsmediagallery//c; type=string; label=Allowed Overwrite Fields: Comma separated list of settings which are allowed to be set by TypoScript
|
||||
overrideFlexformSettingsIfEmpty = list.pagination.itemsPerPage,list.thumb.width,list.thumb.height,list.thumb.resizeMode,list.thumb.random,list.hideEmptyAlbums,list.orderBy,list.orderDirection,album.pagination.itemsPerPage,album.assets.orderBy,album.assets.orderDirection,album.thumb.width,album.thumb.height,album.thumb.resizeMode,album.lightbox.enable,album.lightbox.styleClass,album.displayTitle,album.lightbox.relPrefix,detail.asset.width,detail.asset.height,detail.asset.resizeMode,random.thumb.width,random.thumb.height,random.thumb.resizeMode
|
||||
# cat=plugin.tx_fsmediagallery//d; type=string; label=Allowed Asset MimeTypes: Comma separated list of mime types (if empty, all files are included)
|
||||
allowedAssetMimeTypes = image/jpeg, image/png, image/gif, video/youtube, video/vimeo
|
||||
# cat=plugin.tx_fsmediagallery//e; type=int; label=Target page uid for random view
|
||||
targetPid =
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
plugin.tx_fsmediagallery {
|
||||
|
||||
view {
|
||||
templateRootPaths.100 = {$plugin.tx_fsmediagallery.view.templateRootPath}
|
||||
partialRootPaths.100 = {$plugin.tx_fsmediagallery.view.partialRootPath}
|
||||
layoutRootPaths.100 = {$plugin.tx_fsmediagallery.view.layoutRootPath}
|
||||
}
|
||||
|
||||
persistence {
|
||||
# Comma separated list of pages/sysfolders which hold the album records
|
||||
storagePid = {$plugin.tx_fsmediagallery.persistence.storagePid}
|
||||
# Recursion level of the storagePid (startingpoint in flexform)
|
||||
recursive = {$plugin.tx_fsmediagallery.persistence.recursive}
|
||||
}
|
||||
|
||||
settings {
|
||||
# Comma separated list of settings which are allowed to be set by TypoScript
|
||||
overrideFlexformSettingsIfEmpty = {$plugin.tx_fsmediagallery.settings.overrideFlexformSettingsIfEmpty}
|
||||
# Comma separated list of mime types (if empty, all files are included)
|
||||
allowedAssetMimeTypes = {$plugin.tx_fsmediagallery.settings.allowedAssetMimeTypes}
|
||||
# Comma separated list of albums uids
|
||||
mediaAlbumsUids =
|
||||
# Option to exclude given album uids (settings.mediaAlbums)
|
||||
useAlbumFilterAsExclude = 0
|
||||
|
||||
# Settings for album lists (both nested and flat)
|
||||
list {
|
||||
thumb {
|
||||
width = 180
|
||||
height = 100
|
||||
# Resize assets: m=resize proportional, c=crop, ''=squeeze (unproportional exact fit)
|
||||
resizeMode = m
|
||||
#if 0, always get first image of album as thumbnail
|
||||
random = 1
|
||||
}
|
||||
hideEmptyAlbums = 1
|
||||
# Sort albums list by: datetime|crdate|sorting
|
||||
orderBy = datetime
|
||||
# Sort direction for albums list: asc|desc
|
||||
orderDirection = desc
|
||||
# skip gallery view if there is only 1 album (is currently buggy when used with realUrl autoconf)
|
||||
skipListWhenOnlyOneAlbum = 0
|
||||
# Settings for nested album list
|
||||
nested {
|
||||
}
|
||||
# Settings for flat album list
|
||||
flat {
|
||||
}
|
||||
pagination {
|
||||
itemsPerPage = 12
|
||||
insertAbove = 0
|
||||
insertBelow = 1
|
||||
pagesBefore = 4
|
||||
pagesAfter = 4
|
||||
maximumNumberOfLinks = 9
|
||||
class = GeorgRinger\NumberedPagination\NumberedPagination
|
||||
}
|
||||
}
|
||||
# Settings for album view (list of images)
|
||||
album {
|
||||
# if 0, the album title won't be displayed
|
||||
displayTitle = 1
|
||||
thumb {
|
||||
width = 120
|
||||
height = 70
|
||||
# Resize assets: m=resize proportional, c=crop, ''=squeeze (unproportional exact fit)
|
||||
resizeMode = m
|
||||
#if 0, always get first image of album as thumbnail
|
||||
random = 1
|
||||
}
|
||||
lightbox {
|
||||
enable = 1
|
||||
styleClass = lightbox
|
||||
relPrefix = albm_
|
||||
# render JS code for colorbox
|
||||
jsPlugin = colorbox
|
||||
asset {
|
||||
width = 1920
|
||||
height = 1080
|
||||
# Resize assets: m=resize proportional, c=crop, ''=squeeze (unproportional exact fit)
|
||||
resizeMode = m
|
||||
}
|
||||
}
|
||||
assets {
|
||||
orderBy =
|
||||
orderDirection = asc
|
||||
}
|
||||
pagination {
|
||||
itemsPerPage = 32
|
||||
insertAbove = 0
|
||||
insertBelow = 1
|
||||
pagesBefore = 4
|
||||
pagesAfter = 4
|
||||
maximumNumberOfLinks = 9
|
||||
class = GeorgRinger\NumberedPagination\NumberedPagination
|
||||
}
|
||||
}
|
||||
# Settings for detail view
|
||||
detail {
|
||||
asset {
|
||||
width = 1920
|
||||
height = 1080
|
||||
# Resize assets: m=resize proportional, c=crop, '' or s=squeeze (unproportional exact fit)
|
||||
resizeMode = m
|
||||
}
|
||||
lightbox {
|
||||
maxWidth = 1400
|
||||
maxHeight = 1400
|
||||
}
|
||||
}
|
||||
random {
|
||||
targetPid = {$plugin.tx_fsmediagallery.settings.targetPid}
|
||||
thumb {
|
||||
width = 250
|
||||
height = 140
|
||||
# Resize assets: m=resize proportional, c=crop, ''=squeeze (unproportional exact fit)
|
||||
resizeMode = m
|
||||
}
|
||||
}
|
||||
}
|
||||
# skip default arguments
|
||||
features.skipDefaultArguments = 0
|
||||
}
|
||||
|
||||
# Include MediaGallery default styles
|
||||
page.includeCSS.tx-fs-media-gallery = EXT:fs_media_gallery/Resources/Public/Css/MediaAlbum.css
|
||||
|
||||
Reference in New Issue
Block a user