Imagine being paid to improve your favorite CMS!

It could be you! Umbraco HQ are hiring and are looking for both talents and senior developers. Wonderful workplace, friendly colleagues and competitive salary.

Copied to clipboard

Flag this post as spam?

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


  • rakesh 9 posts 88 karma points
    May 19, 2017 @ 10:11
    rakesh
    0

    No physical template exists

    Hi I have NewsConten document Type with matching Template. Newscontent Document type has ListView enabled true and can create child node Article document Type. i Created News Page as content and added item of type Article as content for the News page. I can see the list of article in Listview while viewing theNews page. Each of articles is published and has url news/News-1. but when i navigate to this url it gives error No physical template exists. Could tell me what wrong iam doing .

    Article Document type has also matching Template. enter image description here

    ![enter image description here][2]

  • Craig Mayers 134 posts 448 karma points
    May 19, 2017 @ 10:21
    Craig Mayers
    0

    Hi Rakesh,

    Did you create your DocType with a template OR without one?

    If you go onto the 'properties' tab of your news article nodes... do you see a "Template" dropdown list with a template selected?

    If not then your DocType doesn't have a Template associated with it.

    Regards

    Craig

  • rakesh 9 posts 88 karma points
    May 19, 2017 @ 10:56
    rakesh
    0

    HI Craig Yes i have created both News and Article (document types) with template.
    Also iam having newsrendermvccontroller.

    public class NewsController : RenderMvcController
    {
        // GET: Standard
        public override ActionResult Index(RenderModel model)
        {
    
            return CurrentTemplate(model);
        }
    

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft