Sorry UncleCheese
I will do take care of this in future.
Now everything is working except i am not getting the album list to select an album.
let me tell you what i have done so far
i have created a MyPageWithAlbumOnIt.php in mysite/code and have created MyPageWithAlbumOnIt.ss. in template folder.
thank you in advance
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
ImageGallery - displaying specific Album Photos on other pages
- Previous 10 entries
- 1
- Page 22(current)
That would mean that this is failing:
DataObject::get("ImageGalleryAlbum")->toDropdownMap('ID','AlbumName')
Can you prove that?
yes UncleCheese you are correct
DataObject::get("ImageGalleryAlbum")->toDropdownMap('ID','AlbumName')
is not been able to get the list of album..
...Which should tell you that there are no ImageGalleryAlbum objects in the database. Right?
- Previous 10 entries
- 1
- Page 22(current)