otto
Well-known member
Hello,
i have made a litle guide to sort RM items alphabetical. You can see this here:
http://xenforo.com/community/resources/rm-sort-items-alphabetical-in-resource-manager.3325/
i mean this part of my guide above:
Now i have made a template addon for the TMS changes and the new phrase. See packed zip attachment.
But what can i do to change the 2 lines in the resource.php (see the linked guide) from the xenforo RM ?
Can any one help?
i have made a litle guide to sort RM items alphabetical. You can see this here:
http://xenforo.com/community/resources/rm-sort-items-alphabetical-in-resource-manager.3325/
i mean this part of my guide above:
File changes
1. open:
Code:library/XenResource/ControllerPublic/Resource.php
- Search in lines 331 / 332:
PHP:$defaultOrder = 'last_update'; $defaultOrderDirection = 'desc';
- Replace:
Caution! Match lines come 2 times in the file - first in line 33/34, change only the second reference!PHP:$defaultOrder = 'title'; $defaultOrderDirection = 'asc';
- Save.
Now i have made a template addon for the TMS changes and the new phrase. See packed zip attachment.
But what can i do to change the 2 lines in the resource.php (see the linked guide) from the xenforo RM ?
Can any one help?