Jevents 2.x (Free Access)

Advanced date formatting latest events module

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 SvenJ » Fri Mar 15, 2013 9:58 am

Hi,
I am trying to achieve an ideal date and time output but the conditions are conflicting somewhat and obviously can not be nested.

I have looked carefully at http://www.jevents.net/jevents-15-topme ... nts-module
bu can't get what I want to work.

This is my logic in Words:

Startdate Always shown.
Starttime shown if not All day event is marked [!a]

Enddate shown only for multi day events [m]
Endtime shown if not All day [!a] AND if not No end time [!e]

The closest I get is this:

Code: Select all
[!a: ${startDate(V%V, %a %e %b %H:%M)}] [a: ${startDate(V%V, %a %e %b )}] - [m: ${endDate(%a %e %b)}] [!e: ${endDate(%H:%M)}]


It doesn't work well for "Multi day, No specific endtime".

Does anybody have an idea how I should do to achieve what I am aiming for?

Joomla 2.5.9
Jevents 2.2.8
Latest Jevents 2.2.5

Regards

Sven
SvenJ
 
Posts: 19
Joined: Tue Nov 27, 2012 5:47 pm

Postby dpsghh » Fri Mar 15, 2013 11:24 am

I wished too, these could be nested, but you may take a look at my latest events:
Code: Select all
${startDate(%a. %d. %b. %Y)}[!a:, ${startDate(%H:%M)}][m: -<br>${endDate(%a. %d. %b. %Y)}]
${title}

Best regards, MacJoomla
User avatar
dpsghh
Gold Members
 
Posts: 834
Joined: Sun Jun 28, 2009 10:05 am
Location: Germany

Postby SvenJ » Fri Mar 15, 2013 12:42 pm

Our format is similair but you have no end "time" displayed at all.

I do wish to display the end time when appropriate.

/Sven
SvenJ
 
Posts: 19
Joined: Tue Nov 27, 2012 5:47 pm

Postby Geraint » Fri Mar 15, 2013 1:46 pm

SvenJ wrote:It doesn't work well for "Multi day, No specific endtime".

How does it output and what would you prefer?
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!
User avatar
Geraint
 
Posts: 42781
Joined: Fri Feb 15, 2008 6:14 pm

Postby SvenJ » Fri Mar 15, 2013 2:02 pm

SvenJ wrote:This is my logic in Words:

Startdate Always shown.
Starttime shown if not All day event is marked [!a]

Enddate shown only for multi day events [m]
Endtime shown if not All day [!a] AND if not No end time [!e]


Starttime works fine in all combinations.
The output for Multiday with No specific end time marked is (obviously) without end date.

/Sven
SvenJ
 
Posts: 19
Joined: Tue Nov 27, 2012 5:47 pm


Return to Jevents 2.x (Free Access)

  • Who is online
  • View new posts
  • View unanswered posts
  • In total there are 0 users online :: 0 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: No registered users