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

Extending Blog entry with ImageDataObjectManager


Go to End


12 Posts   3000 Views

Avatar
wainui

Community Member, 56 Posts

14 September 2010 at 3:25pm

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...

Avatar
UncleCheese

Forum Moderator, 4102 Posts

14 September 2010 at 3:30pm

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

Avatar
wainui

Community Member, 56 Posts

14 September 2010 at 4:16pm

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.

Avatar
BuddhaSource

Community Member, 57 Posts

8 March 2011 at 1:10am

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 ?

Go to Top