Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

All other Modules /

Discuss all other Modules here.

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

Gallery Pages


Go to End


19 Posts   5738 Views

Avatar
toarx

Community Member, 34 Posts

8 August 2009 at 9:40pm

No - there are no descriptions of way to install.
I'm not sure to do the rights steps:
=== Download modules-image_gallery ===
wget http://www.silverstripe.org/assets/modules/trunk/modules-image_gallery-r210.tar.gz
tar xzvf modules-image_gallery-r210.tar.gz
rm modules-image_gallery-r210.tar.gz
cp -fr modules-image_gallery-r210 $PRJ/site/modules-image_gallery-r210

=== Download SWFUPLOAD from googlecode.com ===
wget http://swfupload.googlecode.com/files/SWFUpload%20v2.2.0.1%20Core.zip
unzip "SWFUpload v2.2.0.1 Core.zip"
cp -fr SWFUpload\ v2.2.0.1\ Core $PRJ/site/swfupload

=== dev build ===
http://$PRJ/dev/build?flush=all
error in /var/log/php/errlog.txt
PHP Fatal error: Class 'SortableDataObject' not found in $PRJ/site/modules-image_gallery-r210/_config.php on line 2

I think, I need some configure for swfupload too, is it so?
What should be the next step?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

9 August 2009 at 3:49am

The download page for the module makes it pretty clear under "Dependencies" that DataObjectManager and SWFUpload are required. The docs, linked in the "getting started" section of that page explain it, too.

http://doc.silverstripe.com/doku.php?id=modules:image_gallery#installation

You just need to download and install dataobject_manager. Make sure the folders for all these modules are "dataobject_manager", "swfupload", and "image_gallery". The file download likes to append -rXXX to them for some reason and it breaks everything. I recommend using the SVN checkouts in lieu of the ZIP files. It's easier to get updates that way.

Avatar
toarx

Community Member, 34 Posts

12 August 2009 at 8:33pm

SWFUpload is inside of jsparty
/site/jsparty/SWFUpload
Silverstripe 2.3.3

Avatar
toarx

Community Member, 34 Posts

12 August 2009 at 8:35pm

SWFUpload is inside of jsparty
/site/jsparty/SWFUpload
Silverstripe 2.3.3

Avatar
toarx

Community Member, 34 Posts

12 August 2009 at 8:36pm

sorry - the last two postings would'nt save on the right place.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

13 August 2009 at 12:30am

No, it's a module you have to download from the extensions page, or preferably checkout with SVN.

Avatar
toarx

Community Member, 34 Posts

4 September 2009 at 7:15pm

Avatar
Four

Community Member, 6 Posts

15 September 2009 at 6:10am

Edited: 15/09/2009 6:19am

This is great! Thanks Uncle Cheese. That works! I am now trying to include mp3 gallery pages and possibly video gallery pages, but not sure what I need to do. Trawled around the forums, found some interesting posts, but they are missing steps for me. For example, I found a great post here by Uncle Cheese (http://www.silverstripe.org/dataobjectmanager-module-forum/show/260322?start=56#post262570), but if I create AudioPage.php and AudioFile.php and AudioPage.ss, in which directory do I put them? I am new to SilverStripe. Need some help here. Please any assistance would be greatly appreciated.
Also, does anyone who has already succeeded in this, perhaps, have a zip file containing the necessary .php, .ss files required to enable mp3 galleries and possibly video?

Cheers.