Theme Override for admin_template.php in core/templates #5369
Replies: 2 comments 3 replies
-
@Jimmi08 isnt there a hidden key somewhere that i can use so the admin_template.php can be used from the admin theme folder? Just like with the auth.php? Or maybe is it possible to use theme_shortcodes.php to override things like:
Now i can use bs3 and bs5 as an admin theme but i need to switch the admin_template.php also.... |
Beta Was this translation helpful? Give feedback.
-
@Alex-e107nl This part is responsible for navigation. If it works, ask them to change this - you can't replace admin icons template either. I think it is something forgotten, not intention. Other way - without changing core files There is callback if bootstrap5 version doesn't exist, it looks in boostrap4 folder (I dislike this because it is confusing - you have BT 5 and you need to look in bootstrap4 folder). I prefer to create bootstrap5 folder if you don't mind. If you want to test this, go to e107_class.php and look for coreTemplatePath() method. Your $id for admin area is "admin". |
Beta Was this translation helpful? Give feedback.
-
Is it possible to release this for the admin theme? The code in admin_template.php is very outdated and I had to rewrite it completely to use it with BS 5..
Beta Was this translation helpful? Give feedback.
All reactions