1841 Posts in 1599 Topics by 558 members
|Go to End|
18 February 2010 at 11:42am
Having upgraded to 2.4, I uploaded the nightly build of 17 Feb, blog-trunk-r99407, turned on WYSIWYG blog editing by adding BlogEntry::allow_wysiwyg_editing() to /mysite/_config.php, ran /dev/build/flush=1 and went into the CMS admin UI.
Although the correct icon for the blog module is displaying on the LHS, when I click on it, I find that what should be the blog holder has Tiny MCE displayed between the 'Navigation label' and 'Name of blog' entry fields.
<b>Fatal error</b>: Class 'DatetimeField' not found in <b>/home/[site name]/public_html/blog/code/BlogEntry.php</b> on line <b>80</b><br />. I infer from this that SS is looking for a date field in BlogEntry.php that isn't there.
What have I done wrong and how can I resolve this issue? I now have a blog module installed, supposedly, but I certainly can't use it like this.
Many thanks in anticipation.
18 February 2010 at 8:17pm
Ingo recently did a huge refactoring of the Datetime functionality see http://groups.google.com/group/silverstripe-dev/browse_thread/thread/1e3cb9e891b62c82.
The module was then updated to fit the new API - http://open.silverstripe.org/changeset/99407/modules/blog/trunk/code
So you'll have to run the latest build of both 2.4 and blog.
6 March 2010 at 11:03am
With apologies for the late reply, thanks for letting me know about this.
|Go to Top|