1820 Posts in 563 Topics by 545 members
|Go to End|
10 December 2012 at 5:29pm
I'm just setting up a new blog in SS3 and have found an odd problem.
I'm using the current github version of the Blog module and SS 3.03
If I create a new blog entry through the blog screens, the author and date fields don't appear when the blog entry is published. If I go into the admin screens and look at the same blog entry, the author and date fields are populated. Publishing from the admin screens means the fields then appear on the blog pages.
If I look at the MySQL data, the BlogEntry table has data in the author and date fields but the BlogEntry_Live table has NULL in those fields. Publishing through the admin screens populates the BlogEntry_Live table entries.
Is this a general bug? Or just caused by something I have screwed up? More importantly, is there a fix?
13 December 2012 at 6:50pm
I have started again with a clean install of SS 3.03 along with the blog master from Github, Widgets(v0.1) from the modules list,along with userforms, recaptcha and spamprotection (all SS 3 compatible versions).
The end result is the same:
The author and date do not display if the entry is created through the blog screens.
The content entry field is also a straight textarea. Despite
appearing in the _config.php file
It does not translate BBcode either.
Bugger - I was hoping this new site could be done before Christmas. No it looks like I have some digging around blog source code to find a fix.
5 February 2013 at 10:37am
I am also having this problem; SS3.
24 July 2013 at 2:38pm Last edited: 24 July 2013 5:32pm
same problem, any solutions or tips? content is saved to the blogentry table but not to blogentry_live, publishing on the backend pushes it to blogentry_live
** Update **
Based on info found here:
I modified one line of code in the 'PostBlog' function of BlogHolder.php from $blogentry->writeToStage("Stage"); to $blogentry->writeToStage("Live");
it gets the post up but marks it deleted from draft in the CMS. may be a helpful work around to someone
16 October 2013 at 7:39pm
For anyone still watching:
Following up on Benwitz' idea, I Investigated BlogHolder.php a little more closely.
Replace line 313 $blogentry->writeToStage("Stage");
with the following:
$blogentry->Status = "Published";
and the author and date fields are correctly published to both databases.
Now I just have to work out why TinyMCE isn't showing up in the content field.
|Go to Top|