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.
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?
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.
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!!
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
is working on a reply...