Copied to clipboard

Flag this post as spam?

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


  • Snehal Thube 21 posts 63 karma points
    Feb 04, 2014 @ 13:19
    Snehal Thube
    0

    Subfolder inside "Views" for each website

    Hi,

    We are using Umbraco as CMS for one of our client and we are targetting almost 20 websites in single umbraco instance.

    There may be the possibility that we may have saperate or similar templates for these many websites.

    By looking at the current structure of umbraco we have to create all the templates inside Views folder only.

    It would have been great if we had facility to create subfolder for each site inside Views folder so that at least whatever templates are their which are going to be unique in nature, we can put across respective website folder inside view.

    Is there any possibility to achieve the same.

    Note: I know we may have to loose umbraco as a dashboard to edit the templates and even creating macros. Thats absolutely fine because we are going to use visual studio to edit the templates.

    Thanks,

    Snehal

  • Dan Lister 416 posts 1973 karma points c-trib
    Feb 17, 2014 @ 12:31
    Dan Lister
    0

    Hi Snehal. I think Umbraco requires all templates/views to live within the root of the Views folder when using MVC as the rendering engine. You can however have add sub folders to the Partial Macros and Macros folder. This could help with your site separation.

  • marcelh 171 posts 471 karma points
    Sep 11, 2014 @ 17:57
    marcelh
    0

    Curious if you have found a solution to this issue?

  • Marcio Goularte 360 posts 1264 karma points
    Jul 11, 2020 @ 14:19
Please Sign in or register to post replies

Write your reply to:

Draft