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.

Customising the CMS /

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

photo gallery


Go to End


5 Posts   2729 Views

Avatar
brass02

Community Member, 8 Posts

30 April 2009 at 1:08am

I want to know is it possible to automatically select all the images from a specific folder and display it in the page so i can create a simple gallery?

Avatar
brass02

Community Member, 8 Posts

30 April 2009 at 2:08am

Edited: 30/04/2009 2:10am

I decided it was just easier to use the gallery module. But now that I've added that my jquery and custom JavaScript wont work. I'm using a dropdown menu thats based on my jquery and my custom jquery and its refusing to dropdown on the gallery page.

Please help?

Avatar
brass02

Community Member, 8 Posts

30 April 2009 at 2:08am

Edited: 30/04/2009 2:10am

ps. Thanks guys in advance

Avatar
brass02

Community Member, 8 Posts

30 April 2009 at 3:58am

I'm sure it loading, but my JavaScript ain't working. I even tried putting:

Requirements::javascript("mysite/javascript/jquery-1.2.6.min.js");
Requirements::javascript("mysite/javascript/menu.js");

into the GalleryPage.php.

Does anyone know why it ain't working?

Avatar
brass02

Community Member, 8 Posts

30 April 2009 at 4:20am

I thought i would check it in IE and there was the following "Error on Page":
Line: 1595
Char:35
Error: Object doesn't support this property or method
URL: http://localhost/lodge/gallery/

Does that help?