You need to be logged in to view a user's profile.
  1. arrie62d
  2. Contribute to JEvents
  3. Friday, 07 October 2011
Hi,
First of all, thanks for a great component! I use it on our church's website to interface with a google calendar.
I added a feature to jevents (2.0) to conditionally print a date. Conditionally means non-repetitive, e.g. Instead of writing:

Tuesday October 1 10:00 Dentist's appointment
Tuesday October 1 11:00 Doctor's appointment
Tuesday October 1 12:00 Therapist's appointment
Wednesday October 2 10:00 Logopedist's appointment

It will output:
Tuesday October 1 10:00 Dentist's appointment
11:00 Doctor's appointment
12:00 Therapist's appointment
Wednesday October 2 10:00 Logopedist's appointment
(Note that each date is only output once)

I didn't know of such a feature, so I wrote it myself. It is specified in the format by adding a special key ('@#'). The key is deleted from the output, and the string with the key in it is only output once for each date. So to get the above, one would format it like:
event{'@# date_format') event ('time format') ...

Let me know what you think of this solution.


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.