Jump to:

10844 Posts in 2515 Topics by 1792 members

All other Modules

SilverStripe Forums » All other Modules » cwsoft-foldergallery - image gallery for SilverStripe 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: 8889 Views
  • Cactus
    Avatar
    Community Member
    1 Post

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    I'm having issues getting the plugin working. I followed the instructions but nothing happens (no new page type). Did I do something wrong?

    System:
    php5.3.2-1 (ubuntu)
    Silverstripe 3.0.5
    Gallery script master from GitHub, 12 July 2013 (can't find version no.)

    Installation:
    1) Unzipped Github zip file on webserver root (Silverstripe install dir)
    2) renamed it to cwsoft-foldergallery (also tried without renaming it)
    3) gave user rights to www-data on unzipped folder recursively
    4) called page with /dev/build?flush=all
    The output doesn't indicate any additions to the database:

    Building database TEST using MySQL 5.1.69-0ubuntu0.10.04.1

    Creating database tables
    Email_BounceRecord
    File
    Folder
    Image
    Image_Cached
    Group
    LoginAttempt
    Member
    MemberPassword
    Permission
    PermissionRole
    PermissionRoleCode
    SiteConfig
    SiteTree
    Page
    ErrorPage
    RedirectorPage
    VirtualPage

    Creating database records
    Email_BounceRecord
    File
    Folder
    Image
    Image_Cached
    Group
    LoginAttempt
    Member
    MemberPassword
    Permission
    PermissionRole
    PermissionRoleCode
    SiteConfig
    SiteTree
    Page
    ErrorPage
    RedirectorPage
    VirtualPage

    Database build completed!

    5) opened backend with /admin/?flush=all
    6) When creating a new page there's no page type 'Foldergallery'

    I've installed other plugins the same way without problems (none are installed in this system at the moment).

  • cwsoft
    Avatar
    Community Member
    55 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    @Cactus: I guess your cwsoft-foldergallery folder structure is not correct.

    Can you try again following these steps:
    - download latest cwsoft-foldergallery version for the SS 3.0.x. branch
    - unzip the archive locally on your computer
    - go into folder "silverstripe-cwsoft-foldergallery-master" of the extracted archive
    - copy the entire subfolder "cwsoft-foldergallery" into your SilverStripe root folder
    - rebuild your database (yourdomain.com/dev/build?flush=all)

    Then follow the steps described in the README of the module.

    Hope this helps.

    Cheers cwsoft

  • Nuros
    Avatar
    Community Member
    1 Post

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    Hello, i got a little Problem with this module.
    Sorry for my bad English, i´m from germany.

    System:
    Firefox
    php 5.4.16
    Silverstripe 3.0.5
    Gallery From Masterbranch(SS3.X)

    I installed the module and in backend i can crate the pagetype Gallery
    For the first time everything is ok, i klick on create, the pop up message "page created" appears
    but second page and following don´t work as expected.

    When i try to creat them, nothing happens. Only when i relog cms, then i can see the created gallery pages.
    when i try to publish them, nothing happens :/

    i tried to rebuild my database, to refresh the page and to publish them a lot of times, it won´t work

  • cwsoft
    Avatar
    Community Member
    55 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    @Nuros.

    Just downloaded latest SS 3.0.5 cwsoft-foldergallery module from my GitHub master branch and installed it on a clean SS 3.0.5 system with the standard Simple template.

    I couldn't find any bug or regression on my local test system (XAMPP with PHP 5.4.7).
    Creating single and nested gallery pages work without any issues here. Could you provide me a link to your website (if public) so I can check out whats going wrong on your site?

    You can send me an Email (see my GitHub account) in German if you feel more comfortable

    Regards cwsoft

  • Riposte
    Avatar
    Community Member
    8 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    Hi cwsoft
    Thanks for hard work on this module, its great. Got it working on 3.1 no problems.
    A quick question though - when an actual image from within an album is opened there is no close button, I have to back page in the browser to go back to the album. Is this expected behavior or have I missed something?

    Also, noted mention somewhere in one of the files a hyperlink to start a slideshow - this isnt appearing on my setup either.

    One more thing - the album graphic with the ring binder look - is that resizable?
    I know I said 'no problems' above ... sounds like I might have one or two.
    Any advice?

  • cwsoft
    Avatar
    Community Member
    55 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    @riposte: thanks for your feedback.

    Close button or link should be available in bottom bar (next, prev, title ...) of the Colorbox image window. Close button should be visible by default. If not try to add closeButton: true, in javascript/cwsoft-foldergallery.js.

    If the link to start the slideshow does not show up in your install, there is most likely an issue with jquery in your template. To proof this, switch to the default simple theme and check if the links appear. A fix was posted in this thread by another forum member.

    The album preview image can be changed to your liking. Width and height can be adapted in _config/settings.yml and css/cwsoft-foldergallery.css accordingly. Remember to clean cache and to recreate thumbnails afterwards to reflect the changes.

    Cheers

  • Riposte
    Avatar
    Community Member
    8 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    Hi cwsoft
    I am still having problems - with javascript I think - no Colorbox Close button or navigation stuff is visible.
    The only error I get is:
    TypeError: $(...).colorbox is not a function in cwsoft-foldergallery.js?m=1378603073:53

    View page source shows all of the required CSS and js files from cwsFolderGalleryPage_Controller in the <HEAD> area.

    Tried changing to simple theme as you suggested and it works perfectly - where to start looking in my own theme?

    **Hold the phone!
    Putting <script type="text/javascript" src="../mysite/javascript/script.js"></script>
    right at the bottom of my page.ss file worked - I had tried putting it in the header like this:
    <% require javascript(mysite/javascript/script.js) %> but that had no effect.

    Looks like it is Solved ..

  • cwsoft
    Avatar
    Community Member
    55 Posts

    Re: cwsoft-foldergallery - image gallery for SilverStripe 3 Link to this post

    @Riposte: Thanks for your response.

    I added a fix for the possible jQuery noconflict issues with some user templates. This allows to use the cwsoft-foldergallery without adding the line mysite/javascript/script.js to your template code.

    Would be great if you could test the updated version with your specific template (remember to remove the line to script.js) and report if the fix solved the issue.

    Best regards
    cwsoft

    8889 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.