More in this section

Forums / Project Feather / New custom template for existing built-in widget inside class library not picked up?

New custom template for existing built-in widget inside class library not picked up?

2 posts, 0 answered
  1. Mike
    Mike avatar
    0 posts
    Registered:
    13 Oct 2017
    13 Oct
    Link to this post

    Hello,

    I'm trying to keep my web project clean and concise by putting all our custom feather widgets in a class library as embedded resources.  I am also trying to override let's say the built in MVC feather navigation widget and add a new template for it.  This gets picked up by the system if i put the template inside an MVC/Views/Navigation folder insdie the web app project itself.  However this does not seem to be the case when I do this inside a class library and make it an embedded resource.  Is there currently anyway to do this or add this functionality in?

     

    Thanks!

  2. Mike
    Mike avatar
    0 posts
    Registered:
    13 Oct 2017
    16 Oct
    Link to this post

    So i'm still a bit stuck on this one...

    I've included the MVC folder from the resource packages in it's entirety into a seperate class library project.  It does load these views up, however, When defining my own view within the Navigation folder along side the default ones, it appears my template is not picked up at all, i only see the default ones loaded (and yes i've removed the MVC folder from my web app project inside resource packages/root).  Also, same thing occurs when I try and add a new layout file within this MVC folder, doesn't appear in the page layouts.

     

    If anyone has any ideas please, it would help me greatly!

2 posts, 0 answered