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 19 posts 101 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 792 posts 2970 karma points MVP 3x 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

Please Sign in or register to post replies

Write your reply to:

Draft