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


Go to End
Reply


12 Posts   1974 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, 4096 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