I am developing a Joomla 3.1 website. On the work flow I found out that I need to change administrator/components/com_k2/models/category.xml. I have no other way. But I don't also want my client afterwards to have troubles with K2 updates.
I tried to google about possible solutions but everybody says it is impossible to override models in Joomla. And that I need to make a plugin of it. I am even eager to make a plugin but cannot find appropriate tutorials.
Has anyone met such a problem and is there a way to come to solution?
Thanks.
You can use this to override models: Plugin Override.
Install and enable the plugin.
You can then copy the file:
administrator/components/com_k2/models/category.xml
to:
administrator/templates/bluestork/html/com_k2/models/category.xml
and edit it as you like.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With