Copied to clipboard

Flag this post as spam?

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


  • Jesper Christensen 7 posts 27 karma points
    Sep 18, 2011 @ 19:54
    Jesper Christensen
    0

    Blog dosent work on new installation

    Hi guys.

    I´ve just installed Umbraco and chosen the businesssite.

    When iI click on a blog post, I get this error:

    ContentPlaceHolder 'cp_head' blev ikke fundet på mastersiden '/masterpages/umbMaster.master', kontroller indholdsobjektets ContentPlaceHolderID-attribut på indholdssiden.

    The adress is: http://localhost/company-blog/company-blog-post.aspx. Can anybody help?

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Sep 19, 2011 @ 13:36
    Tim
    0

    It looks like there's a mistake in the template! Find the template for the blog post page in the templates section and look at it's code. There will be a content black that refers to "cp_head" in there somewhere. In the umbMaster termplate, there will be a content placeholder for the head, that has a different name to "cp_head", make a note of it, and in the blog post template, change "cp_head" to the right contentplaceholder id.

    That should solve the problem!

    :)

  • Jesper Christensen 7 posts 27 karma points
    Sep 19, 2011 @ 16:49
    Jesper Christensen
    0

    Thank you Tim.

    I found the block in "Blog post" and deleteded it. Now it seems like it works.

    Strange that the developer dosen´t notice a big error in a new installation.

Please Sign in or register to post replies

Write your reply to:

Draft