1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Overwrite default blog options
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1082 Views |
-
Overwrite default blog options

13 June 2009 at 2:47am
Hi All,
I haven't seen this posted elsewhere, so apologies if it is. I have some fields that appear in the cms for every page template, I don't however want them to appear on the blog pages. I also want to disable commenting by default.
Anyone got any ideas how can I do this without editing the code files in the blog folder?
Cheers in advance,
Mo
-
Re: Overwrite default blog options

14 June 2009 at 2:04am
Hi, You have to extend the BlogEntry content type with you own one.
-
Re: Overwrite default blog options

15 June 2009 at 9:29pm
If I did that, would I still be allowed to add that page as a child of the blog holder in the CMS?
Mo
-
Re: Overwrite default blog options

16 June 2009 at 5:43pm
You will have to decorate the blogentry page type to override it - http://doc.silverstripe.com/doku.php?id=dataobjectdecorator
| 1082 Views | ||
|
Page:
1
|
Go to Top |



