Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pat 56 posts 147 karma points
    Jan 18, 2012 @ 22:33
    Pat
    0

    Error loading MacroEngine script uBlogsyListPosts.cshtml

    Hi,

    Have got the above error when I try to pull through the recent blog posts onto the home page, it was working before, but now suddenly isn't working.

    This is the code from the .cshtml file which gets the new posts, the ID is the ID of the blog landing node:

    var landing = new DynamicNode(1106).Parent.GetChildrenAsList.Items.Where(x => x.NodeTypeAlias == "uBlogsyLanding").Single();
    IEnumerable<DynamicNode> postList = uBlogsy.Web.Helpers.NodeHelper.GetPosts(1106);
       

    I call the macro on the homepage.

Please Sign in or register to post replies

Write your reply to:

Draft