Closed pralhadstha closed 7 years ago
I'll soon PR the view override thingy of all AsgardCMS core modules. About routes i have no idea never looked at that.
Views will be handled by @armababy 's solution. Routes however is more tricky, but you can do it by leveraging how laravel loads its routes: first in first out. You can create the same route but it needs to load before.
View override has been merged into 2.0 branch as of b9d45de commit, please try it out and see if it does what you expect.
Summary of issue
For Now we can only override the views of dashboard and user modules. It would be great if we could override all the modules including the Themes for
views
androutes
.System Details
All supported
5.6 and greater
5.2 and greater
version 2.0
Easiest Fix
We can add
this code in all the modules but it is not a better option. I have tried to add dynamically as suggested by @armababy but no success till now. Does anyone have any success on overriding
views
androutes
?