go it to work by adding a function to the page controller.. now to figure out how to do that by extending rather than hacking core :(
new post i think as cant get it to work...
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
Extending Blog entry with ImageDataObjectManager
- Previous 10 entries
- 1
- Page 22(current)
Honestly, I can't figure out why you're using a decorator. Seems like all you need is a subclass.
---------------
Silverstripe tips, tutorials, screencasts, and more. http://www.leftandmain.com
probably... havent been using silverstripe for long and trying to avoid hacking core code.
Not much info around on best method to subclass etc...
will give it a go though.
This is perfect.
I am also trying to do almost the same. Make a new CustomBlogEntry with gallery images at the bottom.
Can you guys explain how this can be done using subclass by extending Gallery or DataObject ?
- Previous 10 entries
- 1
- Page 22(current)