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.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

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

calling default album image of different page into homepage


Go to End


1417 Views

Avatar
Rishi

Community Member, 97 Posts

18 March 2010 at 6:08pm

hello
i have extended imagegallerypage type to different page type and in each page there is only one album that is default,Now i need to call random image from each default album into homepage.How do i do that?
Please help me out

my site tree is

-Home
-project
-member
contact us

the page type of project is Projectpage and it extend ImageGalleryPage similarly the page type of Member is MemperPage and it also extent ImageGalleryPage and in both the page ther eis only one album which is the default album.

Thank you in advance