Installation/updating¶
Target group: Administrators
Read before installing or updating!¶
Before installing this extension or updating to a new major release, you should always read the sections “Upgrade procedure” and “Important changes” in the ChangeLog.
Installation¶
To install the extension, perform the following steps:
- Go to the Extension Manager
- Install the extension
- Include the static template *Media Gallery (fs_media_gallery)*
To use the latest version from the code repository install the extension from command line:
cd /your/path/to/typo3root/
git clone git@bitbucket.org:franssaris/fs_media_gallery.git --single-branch --branch master --depth 1 typo3conf/ext/fs_media_gallery
./typo3/cli_dispatch.phpsh extbase extension:install fs_media_gallery
EXT:fs_media_gallery and RealURL¶
EXT:fs_media_gallery comes with a basic automatic RealURL config (see file Classes/Hooks/RealUrlAutoConfiguration.php
).
It will add the following configuration to the postVarSets[‘_DEFAULT’] section:
'postVarSets' => array(
'_DEFAULT' => array(
'album' => array(
array(
'GETvar' => 'tx_fsmediagallery_mediagallery[mediaAlbum]',
'lookUpTable' => array(
'table' => 'sys_file_collection',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '_',
),
'languageGetVar' => 'L',
'languageExceptionUids' => '',
'languageField' => 'sys_language_uid',
'transOrigPointerField' => 'l10n_parent',
'autoUpdate' => 1,
'expireDays' => 700,
),
),
array(
'GETvar' => 'tx_fsmediagallery_mediagallery[@widget_0][currentPage]',
),
)
)
)