Closed GoogleCodeExporter closed 9 years ago
Sorting the events list is a good idea.
I was first thinking I could do it with clickable headers, like the events
standings
tables.
But that would limit the sorting criteria to the event's name, game, type,
start,
end, number of players and number of games played.
Maybe it would be better like you said, to have a drop down box for the
criteria.
Then you could choose from: latest, name, game, start date, number of players,
number
of games played, or anything else.
It might also be good to have a "Go to page" selector.
I also intend to add more fields to the games, namely genre (RTS, RPG ...),
platform
(PC, PS, XBox, Wii ...), description, developer, publisher... that will be used
in
part as events filter options.
I can also improve the pagination and add a drop down box to select the number
of
events in a page.
The choices would be something like 5, 10, 20, 50, 100.
This way, the user can choose what he prefers.
And the default would be set in the eBattles settings menu by the site admin.
The same method would be used for all the paginated tables in the plugin, so I
don't
know if there would be one default for each table or one for the whole plugin.
What do you think?
BTW, if you feel like changing the number of events per page manually:
in ebattles/events.php
#67 $rowsPerPage = 5;
Replace 5 with the number you want.
Original comment by frederic...@gmail.com
on 9 Oct 2009 at 9:28
I've started working on this. I've found a nice pagination class at Catch My
Fame that
works pretty well on the events list.
Now I need to use it everywhere else in the plugin, and add sorting to the
events list.
Original comment by frederic...@gmail.com
on 9 Oct 2009 at 9:28
This issue was closed by revision r122.
Original comment by frederic...@gmail.com
on 9 Oct 2009 at 9:32
Original issue reported on code.google.com by
frederic...@gmail.com
on 9 Oct 2009 at 9:27