1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Newbie needs help with Blog installation and behaviour in CMS
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 860 Views |
-
Newbie needs help with Blog installation and behaviour in CMS

16 May 2010 at 4:10pm
I am a complete notice to SS but I managed to get it installed on sitevalley.com.
Then tried to install the Blog module. That also seemed to work but there are some strange behaviours I can't work out. I am using SS 2.4 and the last Blog module.
In widgets I have checked Blog Management. So when the site is displayed I see option for
Post a New Entry
Comment Administration
Log Outwhen I click Published Site from the CMS.
If I click logout on the Blog page I still two two of those tabs
Post a New Entry
Log OutIf I click Post A New Entry I get the message
Action 'post' isn't allowed on class BlogHolder_Controller
which I guess means not authorised but isn't something a visitor should see at all.
In the CMS under the Blog tab there is an entry which says
Silverstripe Blog Module Successfully Installed but I click this I receive the errorFatal error: Class 'PopupDateTimeField' not found in /usr/home/liveinsp/domains/xxxxx.org/public_html/blog/code/BlogEntry.php on line 81
The same error occurs if I click the tab below which describes the first Blog posting.
I have no idea what's going on so any pointers really appreciated
Thanks
Larry
-
Re: Newbie needs help with Blog installation and behaviour in CMS

17 May 2010 at 6:49am
I think this is caused by the fact that the blog module is not compatible with silverstripe 2.4 yet.
-
Re: Newbie needs help with Blog installation and behaviour in CMS

17 May 2010 at 10:29am
That's disappointing. I would like to have Blog so does that mean I have to regress the SS level to use it or is a fix in the works?
How hard is it to de-install the Blog module?
-
Re: Newbie needs help with Blog installation and behaviour in CMS

18 May 2010 at 7:25am
It's a pretty easy fix to get it going again.
Check out http://open.silverstripe.org/changeset/99407/modules/blog/trunk, make the change they describe there (sans trunk), dev/build?flush=1, refresh admin and no more errors!
Hope this helps.
-
Re: Newbie needs help with Blog installation and behaviour in CMS

18 May 2010 at 8:46pm
Didn't work but then I am new to whole SVN thing. Was I supposed to change one line
this
$fields->addFieldToTab("Root.Content.Main", new PopupDateTimeField("Date", _t("BlogEntry.DT", "Date")),"Content");
to this
$fields->addFieldToTab("Root.Content.Main", $dateField = new DatetimeField("Date", _t("BlogEntry.DT", "Date")),"Content");
or add in the two lines
$dateField->getDateField()->setConfig('showcalendar', true);
$dateField->getTimeField()->setConfig('showdropdown', true);I added all three lines (one change, two new) did the build which seemed to work but the problem still exists. When you logout of the Blog module, the option to post a blog still shows.
Anything else I should be doing?
Thanks
Larry
| 860 Views | ||
|
Page:
1
|
Go to Top |



