Possible bug getting current page on SmartShowComments partial
Hi Luke, i've discovered a small bug on the SmartShowComments partial in that the piece of code which gets the current page, doesn't always seem to get the correct id for that page.
var CurrentPage =
Umbraco.Content(SmartBlogLibraries.Helpers.Cms.Id.ToString());
I'm not sure if this has anything to do with caching also but I made a small amendment which using the inbuilt Umbraco.NodeFactory and this seems to work every time.
var CurrentPage = Umbraco.Content(Node.GetCurrent().Id);
Possible bug getting current page on SmartShowComments partial
Hi Luke, i've discovered a small bug on the SmartShowComments partial in that the piece of code which gets the current page, doesn't always seem to get the correct id for that page.
I'm not sure if this has anything to do with caching also but I made a small amendment which using the inbuilt Umbraco.NodeFactory and this seems to work every time.
Hi Vincent,
Thank you for reporting this issue, I've made the changes now and hopefully you won't see this error any more.
Thanks, Luke
is working on a reply...