1840 Posts in 1598 Topics by 557 members
|Go to End|
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
when 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
If 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 error
Fatal 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
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.
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?
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.
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
$fields->addFieldToTab("Root.Content.Main", new PopupDateTimeField("Date", _t("BlogEntry.DT", "Date")),"Content");
$fields->addFieldToTab("Root.Content.Main", $dateField = new DatetimeField("Date", _t("BlogEntry.DT", "Date")),"Content");
or add in the two lines
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?
|Go to Top|