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 164 posts 508 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies