Copied to clipboard

Flag this post as spam?

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


  • Nik 1608 posts 7234 karma points MVP 7x c-trib
    Apr 23, 2015 @ 17:26
    Nik
    0

    Missing Master Templates

    Hi guys,

    I'm hoping you can help me. I have a website which is using Umbraco (obviously, I'm posting here). It had a load of *.master template files set up and you could see them in the CMS admin section under "Settings->Templates->Master".

    However, they have all now disapeard from the CMS admin section. They are still in the database and they are still in my Visual Studio project and on the HDD. Does anyone have any ideas how to get them to re-appear?

    Current Umbraco Version: 7.2.4

    Visual Studio 2013 (I believe it is an ASP.Net Webforms website project which I've recently inherited).

    Hope you can help.

  • Alex Skrypnyk 6148 posts 24077 karma points MVP 8x admin c-trib
    Apr 23, 2015 @ 17:55
    Alex Skrypnyk
    0

    Hi Nik,

    Try to check /config/umbracoSettings.config file -

      <templates>
        <!-- To switch the default rendering engine to MVC, change this value from WebForms to Mvc -->
        <defaultRenderingEngine>Mvc</defaultRenderingEngine>
      </templates>
    

    Thanks, Alex

  • Nik 1608 posts 7234 karma points MVP 7x c-trib
    Apr 23, 2015 @ 18:02
    Nik
    0

    Hi Alex,

    The default rendering engine is set as follows:

    <templates>
        <!-- To switch the default rendering engine to MVC, change this value from WebForms to Mvc -->
        <defaultRenderingEngine>WebForms</defaultRenderingEngine>
    

    Thanks

    Nik

  • Alex Skrypnyk 6148 posts 24077 karma points MVP 8x admin c-trib
    Apr 23, 2015 @ 18:20
    Alex Skrypnyk
    0

    Next check folders permissions - https://our.umbraco.org/wiki/reference/files-and-folders/permissions

    Thanks, Alex

  • Nik 1608 posts 7234 karma points MVP 7x c-trib
    Apr 23, 2015 @ 18:30
    Nik
    0

    Hi Alex,

    The permissions seem to be correct as we are able to create and edit new ones, it is just the existing ones that we cannot. We have managed to find a work around but I would love to get to the bottom of the issue.

    Basically we have set the parent id to -1 for all of the effected umbracoNode objects in the database and they are all showing in the tree view now. They were set to have a parent of node "Content Master" which is a document Type. (I have no idea how/why this was the case)

    Nik

  • Alex Skrypnyk 6148 posts 24077 karma points MVP 8x admin c-trib
    Apr 23, 2015 @ 20:30
    Alex Skrypnyk
    0

    They were set to have a parent of node "Content Master" which is a document Type. (I have no idea how/why this was the case)

    It's very strange.

    So problem is fixed now ?

  • Nik 1608 posts 7234 karma points MVP 7x c-trib
    Apr 24, 2015 @ 09:51
    Nik
    100

    HI Alex,

    Yep by setting the parent node to -1 it seems to have resolved it.

Please Sign in or register to post replies

Write your reply to:

Draft