The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I put calendar events in chronological order?
Hello All,
Sorry to duplicate, this is in another place too, but this seems to be the best forum for it. I would like to know how to make my calendar events appear in chronological order within a day. At the moment they seem to turn up in the order that I input them, as opposed to the order they happen. For example today I have: Wednesday 15 19:45 King Kong 14:40 The New World 17:45 Wallace & Grommet Curse of the Ware Rabbit 13:00 Corpse Bride I guess that an "ORDER by dateline_from" bit in the MySQL query that makes today's events would sort it out, but I don't know where (or how) to do this. If anyone could help it would be really really appreciated. Thanks in advance. |
#2
|
|||
|
|||
Found it:
Open ./includes/functions_calendar.php and search: PHP Code:
PHP Code:
-- Thoki |
#3
|
|||
|
|||
Thanks a bunch that is perfect, it works a treat!
|
#4
|
|||
|
|||
i also had this problem, only this code does not work perfect for me
this is becouse we have Recurring Event that start/end with different dates. so event1 is from jan 10th till feb 10th - 6pm till 8pm event2 is from jan 20th till feb 20th - 4pm till 5pm event3 is from jan 5th till march 30th - 5pm till 6pm on this way it shows always event3 first, then event1 and as last event1 (when the events are recurring every x day) so the question is actualy if its possible to sort the events by the time/hour on the day of the event. |
#5
|
|||
|
|||
hardfm,
you´re right. With recurring events this "quick hack" doesn´t work. But I´m not the expert. May somebody help us with this problem? -- Thoki |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|