Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi Guys,
I moved my blog from the very root of the tree to become a descendant of my homepage node..
now when i create new blog posts using right click to create a blog post but it's not being assigned to a date folder.
has anyone else come across a solution
Cheers,
Tom
Hi,
I usually have the blog under my homepage node without any issues. Do any errors appear in umbracoLog table?
Are you definately creating the item under the 'Blog' root node first. It should then be moved when it's published.
Chris
Hi Chris,
there's nothing suspect in the log:
id userId NodeId Datestamp logHeader logComment
10818 0 1969 2010-12-03 09:46:19.750 Publish
10819 0 -1 2010-12-03 09:46:19.750 Debug Xml saved in 00:00:00.0368439
10817 0 1969 2010-12-03 09:46:19.633 Publish
10816 0 1969 2010-12-03 09:46:19.617 Debug Start Before Publish Event for Blog Post 1969
10815 0 1969 2010-12-03 09:46:18.863 Save
10814 0 1969 2010-12-03 09:46:07.820 Open
10813 0 1969 2010-12-03 09:46:06.703 New
but I was wondering where would i hook in to the event that moves the node for debugging purposes?
void Document_New(Document sender, umbraco.cms.businesslogic.NewEventArgs e)
{
if (sender.ContentType.Alias == "BlogPost")
if (sender.getProperty("PostDate") != null)
sender.getProperty("PostDate").Value = sender.CreateDateTime.Date;
}
The source is referring to a property called postdate however there is no PostDate property on my blog post doctype..
is this an error in the install or something else?
PostDate is on the lastest release I installed today.. It's from July 2010
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Blog Date Folders.. Post Not Assigned To Date Folder
Hi Guys,
I moved my blog from the very root of the tree to become a descendant of my homepage node..
now when i create new blog posts using right click to create a blog post but it's not being assigned to a date folder.
has anyone else come across a solution
Cheers,
Tom
Hi,
I usually have the blog under my homepage node without any issues. Do any errors appear in umbracoLog table?
Are you definately creating the item under the 'Blog' root node first. It should then be moved when it's published.
Cheers,
Chris
Hi Chris,
there's nothing suspect in the log:
id userId NodeId Datestamp logHeader logComment
10818 0 1969 2010-12-03 09:46:19.750 Publish
10819 0 -1 2010-12-03 09:46:19.750 Debug Xml saved in 00:00:00.0368439
10817 0 1969 2010-12-03 09:46:19.633 Publish
10816 0 1969 2010-12-03 09:46:19.617 Debug Start Before Publish Event for Blog Post 1969
10815 0 1969 2010-12-03 09:46:18.863 Save
10814 0 1969 2010-12-03 09:46:07.820 Open
10813 0 1969 2010-12-03 09:46:06.703 New
but I was wondering where would i hook in to the event that moves the node for debugging purposes?
Cheers,
Tom
void Document_New(Document sender, umbraco.cms.businesslogic.NewEventArgs e)
{
if (sender.ContentType.Alias == "BlogPost")
{
if (sender.getProperty("PostDate") != null)
{
sender.getProperty("PostDate").Value = sender.CreateDateTime.Date;
}
}
}
The source is referring to a property called postdate however there is no PostDate property on my blog post doctype..
is this an error in the install or something else?
PostDate is on the lastest release I installed today.. It's from July 2010
is working on a reply...