Jevents 2.x (Free Access)

Remove @ from Latest Evenets list

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support please follow these steps:

1. Update all JEvents add on's first, via the Joomla! Updater
2. Copy and Paste the JEvents Support Information from the JEvents Control Panel.
3. If you get a 500 error OR white page, enable Maximum Error Reporting in Joomla! Global Config and visit the page again, this should give you a more detailed error and help us provide a prompt response.

Postby websperations » Wed Mar 27, 2013 8:17 pm

I know this has been asked before and since I am not a programmer and have tried to decipher the ... nts-module page, I am asking for help.

Right now the fomatting shows:

Tue Apr 09, 2013 @ 6:00PM - 08:00PM

I want to to remove the @ and have the time be on it's own line.

Tue Apr 09, 2013
6:00PM - 08:00PM

The coding used in the module is:

${eventDate}[!a: - ${endDate(%I:%M%p)}]<br />${title}

What do I need to change this to in order to accomplish the needed change.

JEvents 2.2.8
JEvenets Latest Module 2.2.5


Gold Members
Posts: 4
Joined: Mon Jun 29, 2009 6:38 pm

Postby Tonyp » Wed Mar 27, 2013 8:41 pm

Hello Micah,

Reading the document in particular here:

Special Formatting
All the date fields take formatting options e.g. ${endDate(%I:%M%p)} o r${startDate(D, M jS, Y, @g:ia)}. There are 2 formatting systems you can use based on the php "date" and "strftime" functions - see and . You should not mix and match there within a specific field

Conditional Fields
There is limited support for conditional output in the format string. The module supports 3 different conditional flags:

a = Condition on all day events
e = Condition on events with no specified end time
m = Condition on events multi day events
You would use [a: xxxxxxxx] to output xxxxxxxx when the condition is true or [!a: yyyy] to output yyyy when the condition is not true.

For example if we had this format string:

${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}]

This would only output the start and end time for an event that is not an all day event

You can 'combine' these conditions e.g.

${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: - All Day]

This would output something like this for an event with a start and end time

Sunday September 12, 10:00 AM - 6:00 PM


Sunday September 12 - All Day

for an event with no end time.

You cannot embed these conditions inside each other.

it clearly sates:

Code: Select all
${startDate(%A %B %e)}[!a:, ${startDate(%l:%M %p)} - ${endDate(%l:%M %p)}][a: - All Day]

Should achieve some thing close to what you want?

Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

User avatar
Team Staff
Posts: 23834
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there is 1 user online :: 1 registered and 0 hidden (based on users active over the past 5 minutes)
  • Most users ever online was 94 on Tue Sep 01, 2009 12:33 am
  • Users browsing this forum: Bing [Bot]