Awesome work! Enjoy your new badge 😄
Overriding Admin tpl's From A Plugin?
Is this possible? I've hunted around and haven't found anyone talking about a way of overriding admin tpl's. I'd like to hide some of the admin options from certain types of admins (based on user group membership).
Any thoughts on this?
jarey last edited by jarey
@jongarrison don't know if it can be compared, but at least the scripts client side are overriden if you define the same 'define'. Could be the same behaviour if you declare a tpl with same name and path on your plugin? Or maybe declare it for the same route?
Haven't tried it yet, but i'm curious.
Maybe it's just something silly...
@jarey yes, that should work. If you define a template with the same path and name, it will override an existing one. e.g.
I tried this today and I was able to override an admin template. I'm not sure what I did incorrectly when I tried earlier. Thanks for confirming that this could be done!
any chance to share the repository? thanks in advance