Hi, Rolf.
1. Hmm... code loads everything that is sored in db under certain conditions... I'll need to implement a current date check and load only that has start date from present to future... I'll need to think about it.
2. Done, code is updated (on your site too). Now module displays most recent Events on top.
Hi, Rolf.
1. Done! But note that module now will show ONLY future Events. This means that if Events start then will be not displayed in module.
Also if Event is ONGOING will be NOT displayed.
Hi Mike!!
Really cool!!! :-)
One last question... Wouldn't it make sense that the events are ordered same as the original event module? There events are ordered by eventdate. That means the next upcoming event ist the first in the module and then the rest of teh events are in chronological order.
This would be very helpfull for our users... ;-)
I think this is a small mod for Triple-M ;-)
regards
Rolf
Hi Mike
Please can you change the order of the events to the eventdate ascending and not sorted by the recent events?
This would be great!!!
Thanxs anyway for your great work!
Rolf
Hi, Rolf.
Ok, I'll take a look in spare time.
Hi Mike
Hope you're fine ;-)
Please can you take a look at this again? I cannot use your modificaction until yet, because of the wrong sort order.
I think this is not a big thing for a pro like you to change the order ;-)
regards
Rolf
Hi, Rolf.
I can't login to your site backend nor save modified files on server.
So if events should be sorted by startdate ascending then just change this (line 22):
$query->order($db->quoteName('startdate') . ' DESC');
Change DESC to ASC :)
In ROOT/bm32/templates/jsn_neon_pro/html/mod_community_events/private-events-17.php
Michal Dluzak wrote: But you need to remember to apply my fix to modules/mod_community_events each time after upgrade of JomSocial.
Hi, Rolf.
You probably forgot to save customized files for Events module, than enables alternative layout feature.
But don't worry, in this thread i uploaded customized files:
www.jomsocial.com/community/135918sulibr...omsocial-tips-tricks