Recently, the blog's sort order has gone from descending to ascending, pushing old articles to the top. I have attempted to fix this by sorting the blog articles nodes in the back office. It seems to work for a bit, but ultimately reverts itself back to the incorrect order.
I cannot find any type of configuration settings file in any config folders. Can someone please point me in the right direction?
No, the nodes remain sorted correctly in the back office, but appear out of order on the public site. It is umbraco 4.7.0. It seems to be at least once a day they lose their order on the front end, but the sort order is maintained in the backoffice. However, despite the order showing correctly in the backoffice, I click "Sort" anyways, and that seems to correct it temporarily on the front end.
I've noticed recently in the logs a high volume of errors adding URLs to the SiteMapProvider. I have disables the sitemap provider in web.config to see what happens.
Error adding to SiteMapProvider: System.Web.HttpException (0x80004005): http://mywebsite/Blog/MyArticle is not a valid virtual path. at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)
Any update on this? I've found that recycling the app pool corrects the problem temporarily. It seems to happen at the same time every day. I don't know if that helps.
uBlogsy v 1.32 Sort order
Hi all,
Recently, the blog's sort order has gone from descending to ascending, pushing old articles to the top. I have attempted to fix this by sorting the blog articles nodes in the back office. It seems to work for a bit, but ultimately reverts itself back to the incorrect order.
I cannot find any type of configuration settings file in any config folders. Can someone please point me in the right direction?
So when you create a node, it goes to the top?
What version of umbraco are you on?
No, the nodes remain sorted correctly in the back office, but appear out of order on the public site. It is umbraco 4.7.0. It seems to be at least once a day they lose their order on the front end, but the sort order is maintained in the backoffice. However, despite the order showing correctly in the backoffice, I click "Sort" anyways, and that seems to correct it temporarily on the front end.
I've noticed recently in the logs a high volume of errors adding URLs to the SiteMapProvider. I have disables the sitemap provider in web.config to see what happens.
Error adding to SiteMapProvider: System.Web.HttpException (0x80004005): http://mywebsite/Blog/MyArticle is not a valid virtual path. at System.Web.Util.UrlPath.CheckValidVirtualPath(String path) at System.Web.Util.UrlPath.Combine(String appPath, String basepath, String relative) at System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode parentNode) at umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String parentId, SiteMapNode parentNode)
Hi Anthony,
Any update on this? I've found that recycling the app pool corrects the problem temporarily. It seems to happen at the same time every day. I don't know if that helps.
It shouldnt have anything to do with the sitemap provider.
The node helper has this line which should always work:
return nodes.Where(x => x.NodeTypeAlias =="uBlogsyPost").OrderByDescending(x => x.GetProperty("uBlogsyPostDate").Value);
is working on a reply...