-
Notifications
You must be signed in to change notification settings - Fork 1
/
EventPhotosModuleInstaller.php
53 lines (44 loc) · 1.7 KB
/
EventPhotosModuleInstaller.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<?php
/**
* EventPhotos.
*
* @copyright Ralf Koester (RK)
* @license http://www.gnu.org/licenses/lgpl.html GNU Lesser General Public License
* @author Ralf Koester <[email protected]>.
* @link http://k62.de
* @link http://zikula.org
* @version Generated by ModuleStudio 1.3.0 (https://modulestudio.de).
*/
namespace RK\EventPhotosModule;
use RK\EventPhotosModule\Base\AbstractEventPhotosModuleInstaller;
/**
* Installer implementation class.
*/
class EventPhotosModuleInstaller extends AbstractEventPhotosModuleInstaller
{
// feel free to extend the installer here
public function install()
{
$result = parent::install();
if (true === $result) {
// eigene Werte setzen
// set up all our vars with initial values
$this->setVar('albumEntriesPerPage', 4);
// $this->setVar('linkOwnAlbumsOnAccountPage', true);
// $this->setVar('albumItemEntriesPerPage', 10);
// $this->setVar('linkOwnAlbumItemsOnAccountPage', true);
$this->setVar('enableShrinkingForAlbumItemImage', true);
$this->setVar('shrinkWidthAlbumItemImage', 2000);
$this->setVar('shrinkHeightAlbumItemImage', 2000);
$this->setVar('thumbnailModeAlbumItemImage', 'inset');
$this->setVar('thumbnailWidthAlbumItemImageView', 150);
$this->setVar('thumbnailHeightAlbumItemImageView', 150);
$this->setVar('thumbnailWidthAlbumItemImageDisplay', 300);
$this->setVar('thumbnailHeightAlbumItemImageDisplay', 300);
$this->setVar('thumbnailWidthAlbumItemImageEdit', 180);
$this->setVar('thumbnailHeightAlbumItemImageEdit', 180);
// $this->setVar('enabledFinderTypes', 'album###albumItem');
}
return $result;
}
}