TBDragon
Active member
hi every one
i just have in mind to make an add-on to sort the RM categories
well the method i need to overwrite is
XenResource_Model_Category
getAllCategories()
i change the code manually to this
but for future when upgrading i will need to do that again also =(
so i was thinking of making an add-on to do an overwriting for that method
but i didnt know how to do it as i have low experience with XF development ^^
thanks for help
i just have in mind to make an add-on to sort the RM categories
well the method i need to overwrite is
XenResource_Model_Category
getAllCategories()
i change the code manually to this
PHP:
return $this->fetchAllKeyed('
SELECT resource_category.*
' . $joinOptions['selectFields'] . '
FROM xf_resource_category AS resource_category
' . $joinOptions['joinTables'] . '
ORDER BY resource_category.category_title
', 'resource_category_id');
but for future when upgrading i will need to do that again also =(
so i was thinking of making an add-on to do an overwriting for that method
but i didnt know how to do it as i have low experience with XF development ^^
thanks for help
Last edited: