Copied to clipboard

Flag this post as spam?

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


  • Ben Dickman 12 posts 84 karma points
    Jun 01, 2017 @ 09:53
    Ben Dickman
    0

    Manage Views from custom theme folder in backoffice

    Hey,

    I currently have multiple sites running from a single installation. I have added theming logic to pick up the Views from a new folder structure based on the theme the site is running under.

    Theming > Theme1 > Views > Partials > _TopNavigation.cshtml

    Theming > Theme2 > Views > Partials > _TopNavigation.cshtml

    This is working well, however, I need the ability to edit these Views/Partials from the backoffice. Is this something that is currently supported and if so how would I go about implementing such a change?

    Thanks in advance!!

  • David Brendel 786 posts 2949 karma points c-trib
    Jun 01, 2017 @ 13:58
    David Brendel
    0

    Hi Ben,

    don't think that is currently support. The only locations that are loaded are the general Views folder and the Views/Partial folder.

    Implementing that in Umbraco whould be quite interesting to also have folders in there. If you want to do that have a look at the contributing docs and then you can do a pull request on github with your changes. Think what currently prevents this is that templates are still stored in the DB I think.

    Regards David

  • 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