Welcome to Geeklog, Anonymous Thursday, October 03 2024 @ 10:15 pm EDT
Geeklog Forums
Sorting things in GL
Status: offline
alinford
Forum User
Regular Poster
Registered: 01/06/03
Posts: 96
I have a few questions about how to sort things in GL.
How can I sort:
1. the order in which articles will appear on a page?
2. the items in the Admin only block?
3. the items in the User Functions block?
Any help would be appreciated.
3
6
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Short answer: You can't change the order of any of them.
Stories are always sorted by the posting date (with the exception of the featured story which will stay on top until it's replaced with another featured story or until you change it back to a normal story).
The order of the items in the Admin and User Functions menus are hard-coded (in lib-common.php).
bye, Dirk
6
5
Quote
Status: offline
jhk
Forum User
Chatty
Registered: 07/13/02
Posts: 57
I am currently in the process of writing a running commentary on a PBEM game. As the game is still very much alive, I have been unable to post the stories, and they are piling up far from prying eyes. When I do make them readable, I intend to give each story a specific "post date" seperated by perhaps one minute. That way I can determine the order of the stories and have them show up nice and sorted. You don't have to set the date to the future, so you can retro-actively fix it - unless you have lots of stories. Tweaking the "post date" is much more attractive to me than hacking lib-common.php, as future upgrades of GL are sure to overwrite it, and keeping track of various changes could be a daunting task.
GL is very flexible if you use the parameters creatively.
/Jens
4
4
Quote
All times are EDT. The time is now 10:15 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content