New custom template for existing built-in widget inside clas

Posted by Community Admin on 05-Aug-2018 18:29

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

All Replies

Posted by Community Admin on 13-Oct-2017 00:00

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!

Posted by Community Admin on 16-Oct-2017 00:00

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!

This thread is closed