Jump to:

11002 Posts in 2734 Topics by 1823 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: 11370 Views
  • cwsoft
    Avatar
    Community Member
    57 Posts

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

    Hello,

    just for information. With the stable release of SilverStripe 3.1.0, I switched my cwsoft-foldergallery master branch from 3.0.x to 3.1.x. So downloads from master now allways points to the SilverStripe 3.1.x branch.

    PLEASE NOTE:
    There exists versions of the cwsoft-foldergallery module for all main SilverStripe branches: 2.4.x, 3.0.x and 3.1.x

    Cheers

  • Riposte
    Avatar
    Community Member
    10 Posts

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

    @CWSOFT: Sorry for the delay in testing this and getting back to you - been distracted with other things.

    I updated everything to Silverstripe 3.1.1
    and I have "cwsoft/silverstripe-cwsoft-foldergallery": "dev-master" in my composer.json
    So, theoretically I should be on the correct and latest version of cwsoft-foldergallery?

    Unfortunately the problem still exists unless I have <script type="text/javascript" src="../mysite/javascript/script.js"></script>
    right at the bottom of my page.ss file.

    My template started life on version 2.3.1 - is there something in particular I should look for?

  • cwsoft
    Avatar
    Community Member
    57 Posts

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

    @Riposte: Thanks for writing back.

    >So, theoretically I should be on the correct and latest version of cwsoft-foldergallery?
    Have not tried to install cwsoft-foldergallery with Composer for SS 3.1.1 recently, so I can't comment on that. But yes, in principal it should work. To be sure, you could directly download from the master branch and install this version.

    >Unfortunately the problem still exists unless script.js is included at the bottom
    The only thing in script.js I can think of affecting the cwsoft-gallery is the first line:

    jQuery.noConflict();

    Could you please try the following:
    a) comment out the line above in file: /themes/simple/javascript/script.js
    just add // at the beginning of this line --> this should break the Slideshow etc.

    b) add code line above to the beginning of file: /cwsoft-foldergallery/javascript/cwsoft-foldergallery.js
    --> does this restore the functionallity ?

    c) if b) works, remove the comments made in step a) and check if things still work

    d) if non of the above work, I would need to have a look at your template to check whats going wrong
    --> would you mind sending me your template via Email (see GitHub account for details) ?

    Anyway, thanks for your patience.

    Best regards
    cwsoft

  • AndiC
    Avatar
    Community Member
    4 Posts

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

    Hi

    I have downloaded and installed cwsoft-foldergallery manually to my SS 3.1.1 site - and all works correctly. I like the look and feel, and have integrated it into my theme with ease following the instructions.

    Except, it takes an inordinate amount of time to create a sub-gallery page - of the order 6 or 7 minutes. I have a gallery with currently 24 sub-galleries in it.

    Server is Ubuntu, high-end virtualised, and is not stressed at all. Apache using about 5% CPU, MYSQL about 2% during page creation.

    Publishing the page takes a little while but not too bad.

    Any thoughts?

    Andi

  • cwsoft
    Avatar
    Community Member
    57 Posts

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

    @AndiC: Haven't tested my module on SilverStripe 3.1.1 yet, as I had some issues with latest SilverStripe and PHP 5.4 recently.
    Are there lot's of images in your subfolders? Which version are you using (PHP, gallery module). Will do some checks after my vacation.

    Cheers

  • AndiC
    Avatar
    Community Member
    4 Posts

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

    Hi @cwsoft.

    Thanks for your prompt reply

    PHP is 5.5.3-1ubuntu2

    foldergallery is 2.7.1 (according to _config.php)

    I have now managed to create about 30 subfolders, each having a varying number of images - some have just 1, others over300

    But it isn't publishing the configured subfolders that is the issue (although a tad slow, I can live with that), it is creating a blank empty subfolder that takes the time - at that stage it has no images associated with it.

    It does however seem that the creation process has gotten slower the more images I have in total

    Structure looks something like

    FolderGallery
    ....FolderGallery
    ....FolderGallery
    ....FolderGallery
    ........FolderGallery
    ........FolderGallery
    ........FolderGallery
    ........FolderGallery
    ........FolderGallery

    ..............ditto......

    ........FolderGallery
    ....FolderGallery
    ....FolderGallery

    Enjoy the vacation, no rush

    Andi

  • oldwrinkly
    Avatar
    Community Member
    34 Posts

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

    Hi
    and a happy new year to you
    I have been trying to install the latest version of cwssoft on a fresh install of 3.12
    with latest gridfieldbulktools and sortablegridfield

    but cannot get the albums page or album drop down in the site tree to show, so only text for content shows on draft preview.
    assets folder has read / write permissions, cws folder is in assets, albums and photos have been installed in the files section of the cms.
    I have deleted,dev/build and downloaded again and re-installed it all but with the same results.

    No albums / gallery showing either in the cms or on the draft preview

    PS: I have since tried 2 other gallery modules neither of which worked with 3.12, I will put a general post out as well in case this is a 3.12 problem or my install error, although everything else is working ok.

    any ideas?

    Regards
    Mike

  • cwsoft
    Avatar
    Community Member
    57 Posts

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

    @oldwrinkly: My last sucessfull test was on SS 3.1.1 using the standard theme simple.
    As there where some issues with custom themes reported in the past, can you test my module on your SS 3.1.2 installation using the standard simple theme shipped with SilverStripe and report back in this thread?

    Will check out latest SilverStripe release after my new year break.

    Cheers cwsoft

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