I made a modification to some of the k2 core files to add another ordering option for items in a category. Ive made modifications to the following files to achieve this:
com_k2/models/itemlist.php
com_k2/views/itemslist/tmpl/category.xml
com_k2/views/itemslist/tmpl/generic.xml
The hacks i've made seem to work fine, but only if i change the params field in the jos_k2_categories table by hand in the database. Whenever i make changes to the category via the admin, the "item ordering" field revert to "default". How do i get the new ordering option to show up in the Joomla admin.
com_k2/models/itemlist.php
com_k2/views/itemslist/tmpl/category.xml
com_k2/views/itemslist/tmpl/generic.xml
The hacks i've made seem to work fine, but only if i change the params field in the jos_k2_categories table by hand in the database. Whenever i make changes to the category via the admin, the "item ordering" field revert to "default". How do i get the new ordering option to show up in the Joomla admin.