Jump to:

10848 Posts in 2516 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » Working Gallery Plugin for SS 3

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1 2 3 4 5 6 7 8 9 10 11
Go to End
Author Topic: 8944 Views
  • aurum
    Avatar
    Community Member
    5 Posts

    Working Gallery Plugin for SS 3 Link to this post

    Is there a working gallery plugin for SS 3 ? I need a slider on my frontpage...

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    Nothing yet !!
    I will be making a basic gallery soon & I will post it here.. Let me know if you still need it ?

  • aurum
    Avatar
    Community Member
    5 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    It would be great if you could post the plugin here!

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    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 ;)

    Attached Files
  • aurum
    Avatar
    Community Member
    5 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    DesignerX.com.au, explain, please, how can I add a gallery to my template.

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    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.

  • Neel
    Avatar
    Community Member
    3 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    Is there any Image Gallery Module out yet which is compitible with SilverStripe 3.1?? anyone, please suggest...

  • DesignerX.com.au
    Avatar
    Community Member
    107 Posts

    Re: Working Gallery Plugin for SS 3 Link to this post

    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 ;)

    Attached Files
    8944 Views
Page: 1 2 3 4 5 6 7 8 9 10 11
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.