Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Gallery module v 0.2.2 has been released

Our old forums are still available as a read-only archive.

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

Page: 1 2 3
Go to End
Author Topic: 62419 Views
  • stamate
    Avatar
    Community Member
    6 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    well when you turn on the comment option on the gallery all that javascript that the comment needs is loaded and then conflicts with the one that the gallery needs so bump any solution ... well I saw something in the daily build but the image is not loading
    Requirements::block("jsparty/scriptaculous.js");
    Requirements::block("jsparty/prototype.js");
    Requirements::block("jsparty/prototype_improvements.js");
    Requirements::block("jsparty/loader.js");
    Requirements::block("jsparty/behaviour.js");

  • The Frenchy
    Avatar
    Core Development Team
    40 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Thanks for this bug notification stamate !

    I have created a ticket about this problem on our task system : http://open.silverstripe.com/ticket/2688

    If you find any other bug on SilverStripe core or modules and you want to notify it, you can go on http://open.silverstripe.com check that the bug has not been notified yet and create a ticket about it !

    Cheers

  • ivan.pro
    Avatar
    Community Member
    15 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Hi.. I'm an Italian student. I have installed Silver Stipe 2.2.2. I want to install the Gallery Modulre v 0.2.2. I've readed the documentation http://doc.silverstripe.com/doku.php?id=modules:gallery but I don't understand the 3rd point.. "Run db/build"...
    Can somebdy help me?
    I'm sorry for my English...
    Thank you
    Ivan

  • stamate
    Avatar
    Community Member
    6 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Simple if you uploaded the gallery module straight to your root directory then just run http://www.yoursite.com/db/build simple as that and go to system administration and create a new gallery

  • Samuel
    Avatar
    Community Member
    4 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Does Gallery support group gallery? So rather than show all photos from one folder, would be possible to show folders/group name and then display the photos?

    Or is there a way to hacking this?

    Many thanks.

  • The Frenchy
    Avatar
    Core Development Team
    40 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Hi,

    At the moment, a GalleryPage has a has_one relationship with a Folder.

    To be able to select several folders from the CMs, you need a many_many relation and a TreeSelectorField or a ManyManyComplexTableField to manage the relation. But in any case you need to make the code yourself.

  • Samuel
    Avatar
    Community Member
    4 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    Thanks for pointing out the direction... I'm not really a code person so I might wait till the module comes out one day...

    But it's still cool... Many thanks for releasing.

  • sh4kes
    Avatar
    Community Member
    8 Posts

    Re: Gallery module v 0.2.2 has been released Link to this post

    I *tried* installing the Gallery module and keep getting errors:

    XML Parsing Error: junk after document element
    Location: http://localhost/silverstripe/gallery/
    Line Number 2, Column 1:<b>Notice</b>: Undefined index: start in <b>C:\wamp\www\silverstripe\gallery\code\GalleryPage.php</b>; on line <b>381</b><b>

    When i try gallery/?start=0 is get:
    XML Parsing Error: junk after document element
    Location: http://localhost/silverstripe/gallery/?start=0
    Line Number 2, Column 1:<b>Notice</b>: Undefined variable: group in <b>C:\wamp\www\silverstripe\gallery\code\GalleryPage.php</b>; on line <b>330</b><br />

    Any ideas what might be causing this? I downlaoded the module, extracted the Gallery folder into my root SIlverstripe directory, ran /db/build, created a Gallery Page via the CMS, uploaded files into the specified folder, then tried to view it on the main site and thats where these errors occured.

    62419 Views
Page: 1 2 3
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.