Author Topic: MOD Request : Sort categories by  (Read 5728 times)

0 Members and 1 Guest are viewing this topic.

Offline k4nth

  • Newbie
  • *
  • Posts: 28
    • View Profile
MOD Request : Sort categories by
« on: February 21, 2003, 03:18:05 AM »
Hi,

When you log inside admin control panel, there is a setting to sort images by name, date, etc.  It will be good if there was a similar setting for cateogories.  I hope someone can create this mod.  It will be very useful.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
MOD Request : Sort categories by
« Reply #1 on: February 21, 2003, 03:57:09 AM »
the reason there is no option for sorting categories, because u can shufle them the way u want, just click on yellow arrows (up/down) on right side from each category, when u do "edit categories" from admin control panel.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline dune

  • Newbie
  • *
  • Posts: 15
    • View Profile
MOD Request : Sort categories by
« Reply #2 on: February 21, 2003, 10:01:38 AM »
that is true if you're an admin or something, but "pedestrian" users don't have that kind of alternative, or do they?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
MOD Request : Sort categories by
« Reply #3 on: February 21, 2003, 10:27:12 AM »
Quote from: dune
that is true if you're an admin or something, but "pedestrian" users don't have that kind of alternative, or do they?

no, they dont.
and the answer simply "no, it's not possible"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
MOD Request : Sort categories by
« Reply #4 on: February 22, 2003, 04:02:31 AM »
I didnt create the mod, but here what u can do:
open global.php
Find:
Code: [Select]
         ORDER BY c.cat_order, c.cat_name ASC";
replace with:
Code: [Select]
         ORDER BY c.cat_name ASC";
were c.cat_name u can change to c.cat_hits
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)