Is there a working gallery plugin for SS 3 ? I need a slider on my frontpage...
We've moved the forum!
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
Nothing yet !!
I will be making a basic gallery soon & I will post it here.. Let me know if you still need it ?
It would be great if you could post the plugin here!
Hi:
I am still working on my module .. its missing some features but I will post what I have here .
It does not have much comments so feel free to ask me anything you want on this topic or on the IRC ;)
Module name : SGallery
SubTheme is provided !Important
How does it work ?
- Ok, extract the zip & copy the SGallery folder to the root of your SS install
- Copy MyTheme_SGallery to your /themes/ fiolder & rename it . Change the MyTheme part to the name of the currently used theme
- Now the hard part, SGallery.ss has only one line of code ! $RenderGallery why is that ?
$RenderGallery is a special function used to load differnt themes for the same module.
* $RenderGallery(SGalleryThemeName) will render the gallery using /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/SGalleryThemeName
* $RenderGallery alone will fall back to the default /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/Default
if you open /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/ you will see a list of folders which are the upcoming plugins for this module .
As I mentioned before, this is NOT finished yet, so please test using the default Plugin for now or help make new plugins using your best JQuery plugin .
Looking forward to hear your opinions ;)
DesignerX.com.au, explain, please, how can I add a gallery to my template.
Hi:
All you have to do is install the module & create a new SGallery page .you the gallery wil render with the default template .
Let me know if you need Team Viewer support ;)
How does it work ?
- Ok, extract the zip & copy the SGallery folder to the root of your SS install
- Copy MyTheme_SGallery to your /themes/ fiolder & rename it . Change the MyTheme part to the name of the currently used theme
- Now the hard part, SGallery.ss has only one line of code ! $RenderGallery why is that ?
$RenderGallery is a special function used to load differnt themes for the same module.
* $RenderGallery(SGalleryThemeName) will render the gallery using /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/SGalleryThemeName
* $RenderGallery alone will fall back to the default /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/Default
if you open /themes/MyTheme_SGallery/templates/Layout/SGallery-Plugins/ you will see a list of folders which are the upcoming plugins for this module .
New update coming soon.
Is there any Image Gallery Module out yet which is compitible with SilverStripe 3.1?? anyone, please suggest...
Hi:
I have not had time to finish my module but I will post what i have :
- Basic template provided
- Pagination & ItemsPerPage limit can be edited from the CMS
- RenderSGallery(SGallery-Name) function to render the same gallery with a different template file . useful for showing the same images in the home page or side bar
** $RenderSGallery() Examples:
$RenderSGallery(Default) will look for SGallery-Default.ss template
$RenderSGallery(Nivo) will look for SGallery-Nivo.ss template
** for use on home page:
<% control page(SGallerypageURLSegment) %>
$RenderSGallery(Nivo)
<% end_control %>
many features & templates coming soon ;)