Community Forum

Please read the intro before joining/posting. Thank you.

If you have questions about our software, chances are this forum has the answers.

You'll need to register before you can post on the forum to ask your question or to answer another one. A reply will be posted to each and every question that is asked so there is no need to double post or bump your post. We'll do our best to answer promptly, but in some cases it may take a day or two. If you bump your post, it may be removed. Bear with us and we'll get your question answered quickly.

Here are a few tips to help you to get your questions answered more rapidly.

IMPORTANT: Posts in English only. We don't employ translators and we'll be unable to understand your message properly and will probably delete it.
SOFTWARE: Each software has it's own forum. Software here is NOT supported. Posts about this software will be deleted. Supported software questions ONLY please.
SEARCH: Use the search option to see if your question has been answered on the forum before now or if there is an answer in the documentation of your software.
PERSONAL SUPPORT: If you have purchased a commercial version of any software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
LINKS: Any links posted are not clickable (to deter spammers) and must be copied / pasted into your browser address bar.

            

You are not logged in.

Latest EventsPosts in the Maian Events forum by SteffJay
SteffJay
19-12-2018 11:34:12

I have entered dates spanning from 2018 too 2020. However, the "Latest Events" on the Right and underneath displays from 2020 to 2018. Is there a setting that can show the events from 2018 too 2020?

Thanks in advance.

SteffJay
20-12-2018 14:53:38

maiandavid wrote:
Open 'control/classes/class.events.php'. Change line 237 from:

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts` DESC,`' . DB_PREFIX . 'events`.`id` DESC');

to

$fltrByOpts = $this->ssn->filter_by('ORDER BY `' . DB_PREFIX . 'events`.`ts`,`' . DB_PREFIX . 'events`.`id`');

Change line 564 from:

ORDER BY `" . DB_PREFIX . "events`.`ts` DESC,`" . DB_PREFIX . "events`.`id` DESC

to

ORDER BY `" . DB_PREFIX . "events`.`ts`,`" . DB_PREFIX . "events`.`id`

smile

Thank you for the code snippets. It does now show "down" as opposed to "up". One small glitch however, it shows December 2019 then Jan, Feb etc. I have tried deleting December 2019, however it still remains sad

SteffJay
21-12-2018 09:22:49

Yes, that is correct. However, it displays December 2019, January 2019 February 2019 etc.

SteffJay
21-12-2018 17:32:17

maiandavid wrote:
can you give me a screenshot of where it`s displaying wrong?

Here you go:

https://www.dropbox.com/s/d2u2oyeem2c3mfk/events.jpg?dl=0

100% Free SoftwareSoftware Versions, Development, Docs & UpgradesHostingNewsletter
Made with in the U.K & Hong Kong

Free PHP Scripts / Responsive PHP Scripts / Lightweight PHP Scripts / White Label PHP Scripts