PDA

View Full Version : Downloaded Plugins sorted by Name in Admin Categories


Tobias
12-20-2006, 07:32 AM
When editing a Category in the Admin CP each plugin slot for the selected Skin design shows a selection box with all Main Plugins, Custom Plugins, Cloned Plugins and Downloaded Plugins.

I just got tired of seeing the "Downloaded Plugins" sorted by their Plugin ID rather than their plugin name.

Here's the simple change for SD 2.4.0:
In file "admin/mycategories.php", at the end of line 268 change

ORDER BY pluginid");

to read

ORDER BY name");


Although the Admin Menu for "Downloaded Plugins" displays them sorted by pluginid, I find it easier to look for plugin names, especially when setting up multiple categories with 10+ plugins or so. ;)

Mass Media Pro Plugin - Live Demo : Mass Media Pro (http://www.sddepot.com/mass_media/)
My SDDepot Blog (http://www.sddepot.com/community/blog/tobias/) - SDDepot - Skins and Plugins (http://www.sddepot.com/)

thomas
12-20-2006, 09:26 AM
good idea.

pinky
12-29-2006, 09:11 PM
Nice one, thanks for sharing - it makes life much easier. Using the same method it is possible to do the same to main plugins by modifying admin/plugins.php

Martyn