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.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Extending Blog entry with ImageDataObjectManager


Reply

12 Posts   1857 Views

Avatar
wainui

14 September 2010 at 3:25pm Community Member, 56 Posts

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

14 September 2010 at 3:30pm 4085 Posts

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

14 September 2010 at 4:16pm Community Member, 56 Posts

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

8 March 2011 at 1:10am Community Member, 57 Posts

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 ?