7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » ImageGallery: default gallery ui style
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1137 Views |
-
ImageGallery: default gallery ui style

8 March 2010 at 9:08am Last edited: 8 March 2010 9:14am
Hi,
how can I 'preselect' a certain popup style? I found the right way to change the default values for things like max upload or normal size but can't define a default gallery ui/popup style. Any help is very much appreciated
Regards,
Platypus -
Re: ImageGallery: default gallery ui style

8 March 2010 at 10:12am
Hi Platypus,
in the CMS, create a ImageGalleryPage, and on the Configuration tab you can choose whatever popup style you want.
Regards
mathiasmex -
Re: ImageGallery: default gallery ui style

8 March 2010 at 10:56am Last edited: 9 March 2010 1:16am
Mathiasmex, thx for you're answer, but I know how to configure the image-gallery manually. ;-)
What I need to know is: How I can define a certain popup style - like Lightbox - to be already selected when I create a new image-gallery? I adjusted the normal size to be automatically 600px and changed other settings as well, but I can't find a 'default popup style setting'./edit: Problem solved
I had to add
'GalleryUI' => "Lightbox",
to the static $defaults array in the ImageGalleryPage.php.
Regards,
Platypus
| 1137 Views | ||
|
Page:
1
|
Go to Top |


