Copied to clipboard

Flag this post as spam?

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


  • Dr. Sugus 26 posts 101 karma points
    Aug 05, 2014 @ 16:38
    Dr. Sugus
    3

    Umbraco 7: creating folders for templates

    Hi people

    We have a pretty decent number of templates in our Umbraco solution now, and the Views folder is getting really hard to navigate through. A folder structure would be the best solution here, but I see no mapping from a template in Umbraco to the corresponding view.

    How does one configure Umbraco to look for templates in subfolders of the "views" folder?

  • marcelh 171 posts 471 karma points
    Sep 10, 2014 @ 21:12
    marcelh
    0

    Hi! Same issue here. Did you manage to solve it?

  • Dr. Sugus 26 posts 101 karma points
    Sep 11, 2014 @ 09:24
    Dr. Sugus
    0

    Unfortunately not marcelh, I think we have to take it as "it's not possible".

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Sep 11, 2014 @ 09:54
    David Brendel
    0

    Currently its not possible to have views in subfolders and also manage them through the Umbraco backoffice.

    Hope that is one feature they will add as soon as possible.

  • Dr. Sugus 26 posts 101 karma points
    Sep 11, 2014 @ 11:47
    Dr. Sugus
    0

    Thanks David.

  • Comment author was deleted

    Jun 25, 2015 @ 14:45
  • marcelh 171 posts 471 karma points
    Jun 25, 2015 @ 19:51
    marcelh
    0

    Nice approach Kevin! Hadn't thought of that.

    In the meanwhile I started using the HybridFramework, which handles all calls through a base controller. In that controller the same logic as you refer to in your documentation is now implemented for "CurrentTemplate".

  • Comment author was deleted

    Jun 25, 2015 @ 19:57

    Oh nice! I haven't gotten around to trying the Hybrid Framework yet but I know Jeroen has always got good stuff. Thanks for the tip.

Please Sign in or register to post replies

Write your reply to:

Draft