Can not find AlbumCount function. Kindly direct me to the right code / files please.
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
Count Albums
- Previous 10 entries
- 1
- Page 22(current)
Sorted, wrote two lines in page.php.
public function GalleryAlbumCount()
{
return $this->Albums()->Count();
}
- Previous 10 entries
- 1
- Page 22(current)