You need to be logged in to view a user's profile.
  1. lawrni
  2. JEvents 1.5 Help
  3. Tuesday, 04 March 2008
Hi,

I'm fairly new to Jevents, so I apologise in advance if this is really obvious:

Is there a setting somewhere where you can tell Jevents not display events in the Jevents component if they have already occured (ie they are in the past)?

Many thanks in advance,

Lawrni
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Not at present but it could be an interesting config option to add. I'm thinking about a good way of tracking suggestions and assessing demand - when we set this up on the site please add this as an idea.
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi,

Many thanks for your reply - I'll keep and eye on your website and add this as a suggestion when you get this up and running.

Cheers,

Lawrni
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
I came up with a solution to this problem. Probably not the most elegant ever, but it works:

On events.php

Just before the script starts building the table, I added:

//Gets the year, month, date of the event (e.g. 20090123)
$event_year_month_day = $event_up->year . $event_up->month . $event_up->day;
// Gets todays year, month, date
$today = date("Ymd";);
//Compares the two dates. If the event date is greater than, or equal to, todays date it builds the table
if( $event_year_month_day >= $today){

HERES THE TABLE

}
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.