Copied to clipboard

Flag this post as spam?

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


  • Adriana Cerqueiro 38 posts 177 karma points
    Mar 07, 2017 @ 20:56
    Adriana Cerqueiro
    0

    Remove default template from doctype

    Hi,

    I have a doctype with one template (the default one) and I am trying to remove it, so the doctype doesn't have any allowed templates.

    The problem is, I remove the template in doctype A -> save it -> go to another doctype (B) -> come back to doctype A, and it has the template I just removed.

    There are no nodes with the template I am removing.

    Does anyone have an idea of what could be happening?

    Thank you!!

  • Tim Watts 90 posts 395 karma points
    Mar 08, 2017 @ 09:56
    Tim Watts
    101

    Umbraco seems to recreate the link whilst the template still exists on disk.

    If you do not want a template at all, create a new template, set that as the default for your document type (and remove any others), and then delete the template.

    When you then go back into the document type, it should be there without a default template or any others.

    Tim

  • Adriana Cerqueiro 38 posts 177 karma points
    Mar 08, 2017 @ 10:49
    Adriana Cerqueiro
    0

    Thank you Tim!

    I don't know why I didn't think of that before.

    Have a great day!

Please Sign in or register to post replies

Write your reply to:

Draft