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 copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.
Advanced date formatting latest events module
by 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:
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
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: 4
- Joined: Tue Nov 27, 2012 5:47 pm
Re: Advanced date formatting latest events module
by 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:
Best regards, MacJoomla
- Code: Select all
${startDate(%a. %d. %b. %Y)}[!a:, ${startDate(%H:%M)}][m: -<br>${endDate(%a. %d. %b. %Y)}]
${title}
Best regards, MacJoomla
-

dpsghh - Gold Members
- Posts: 644
- Joined: Sun Jun 28, 2009 10:05 am
- Location: Germany
Re: Advanced date formatting latest events module
by 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
I do wish to display the end time when appropriate.
/Sven
- SvenJ
- Posts: 4
- Joined: Tue Nov 27, 2012 5:47 pm
Re: Advanced date formatting latest events module
by 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!
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!
-

Geraint - Posts: 30507
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Advanced date formatting latest events module
by 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: 4
- Joined: Tue Nov 27, 2012 5:47 pm
5 posts
• Page 1 of 1
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Google [Bot]

