short months names in 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.
short months names in module
by barnea11 » Sun Jan 06, 2013 2:40 pm
hello
how do i change the month format in latest events module ?
now its showing 3 letters of the month "JAN" ext ..
but i want the full month name to appear -
please advice
Barnea
how do i change the month format in latest events module ?
now its showing 3 letters of the month "JAN" ext ..
but i want the full month name to appear -
please advice
Barnea
- barnea11
- Posts: 6
- Joined: Sun Jan 06, 2013 2:38 pm
Re: short months names in module
by Tonyp » Sun Jan 06, 2013 5:15 pm
Hello Barnea,
Please see:
http://www.jevents.net/jevents-15-topme ... nts-module
For information on how to do this.
Regards
Tony
Please see:
http://www.jevents.net/jevents-15-topme ... nts-module
For information on how to do this.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8711
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: short months names in module
by barnea11 » Sun Jan 06, 2013 7:33 pm
Tonyp wrote:Hello Barnea,
Please see:
http://www.jevents.net/jevents-15-topme ... nts-module
For information on how to do this.
Regards
Tony
hello
sorry i couldnt find any indication of short and full month name in the format
please advice
Barnea
- barnea11
- Posts: 6
- Joined: Sun Jan 06, 2013 2:38 pm
Re: short months names in module
by Tonyp » Mon Jan 07, 2013 8:38 am
Hello,
If you read through the document you would have seen:
Where the month in this case September is in full. Use that code i.e. %B for the startdate formatting.
Regards
Tony
If you read through the document you would have seen:
- Code: Select all
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
and
Sunday September 12 - All Day
for an event with no end time.
You cannot embed these conditions inside each other.
Where the month in this case September is in full. Use that code i.e. %B for the startdate formatting.
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8711
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: short months names in module
by barnea11 » Mon Jan 07, 2013 9:00 am
thanks
another question -
how to make the time format 24h
instead of AM/PM
thanks
another question -
how to make the time format 24h
instead of AM/PM
thanks
- barnea11
- Posts: 6
- Joined: Sun Jan 06, 2013 2:38 pm
Re: short months names in module
by Tonyp » Mon Jan 07, 2013 9:29 am
Please refer to this document as the document listed above informs you:
http://php.net/manual/en/function.strftime.php
Remove %p
If you want to show 24hr after, just type it in.
http://php.net/manual/en/function.strftime.php
Remove %p
If you want to show 24hr after, just type it in.
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8711
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: short months names in module
by barnea11 » Mon Jan 07, 2013 9:56 am
Tonyp wrote:Please refer to this document as the document listed above informs you:
http://php.net/manual/en/function.strftime.php
Remove %p
If you want to show 24hr after, just type it in.
Great help, Great component
i would love to buy you a beer,
send me your paypal account.
cheers
Barnea
- barnea11
- Posts: 6
- Joined: Sun Jan 06, 2013 2:38 pm
24h time format again
by pva112 » Mon Jan 07, 2013 7:32 pm
Hello!
I have a problem with 24h time format too. I searched this forum but didn't find any help.
I solved problem with 24h format in Lastest JEvent module, it's simple.
But I need to show event start time in 24h format too in
- event detailed view
- calendar cell
- calendar tooltip
In its templates time field is set as {{Event Time:EVTTIME}}.
Each of these views shows time in 12h format with ";" sign, for example: time "19:00" is shown as "7:00 ;". Why?
In configuration in CPanel the switch "Use 12h format" is set to "No". Timezone is set to "Moscow".
JEvents 2.2.8 is installed over Joomla 2.5.8
Russian localization is installed. All versions are from this site.
Please, help!
Is there any time format modifications for JEvents templates or another technique to show time in 24h format?
Pavel
I have a problem with 24h time format too. I searched this forum but didn't find any help.
I solved problem with 24h format in Lastest JEvent module, it's simple.
But I need to show event start time in 24h format too in
- event detailed view
- calendar cell
- calendar tooltip
In its templates time field is set as {{Event Time:EVTTIME}}.
Each of these views shows time in 12h format with ";" sign, for example: time "19:00" is shown as "7:00 ;". Why?
In configuration in CPanel the switch "Use 12h format" is set to "No". Timezone is set to "Moscow".
JEvents 2.2.8 is installed over Joomla 2.5.8
Russian localization is installed. All versions are from this site.
Please, help!
Is there any time format modifications for JEvents templates or another technique to show time in 24h format?
Pavel
- pva112
- Posts: 2
- Joined: Mon Jan 07, 2013 7:15 pm
Re: short months names in module
by Tonyp » Mon Jan 07, 2013 7:50 pm
Hello Pavel,
You will need to preform Language overrides as per:
http://www.jevents.net/languageoverrides
for TIME_FORMAT constant.
This is a club article for a more detail documentation:
http://www.jevents.net/jevents-15-topme ... events-154
Regards
Tony
You will need to preform Language overrides as per:
http://www.jevents.net/languageoverrides
for TIME_FORMAT constant.
This is a club article for a more detail documentation:
http://www.jevents.net/jevents-15-topme ... events-154
Regards
Tony
---------------------------------------
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
-

Tonyp - Contributor
- Posts: 8711
- Joined: Tue Oct 12, 2010 9:12 pm
- Location: Isle of Man
Re: short months names in module
by Geraint » Tue Jan 08, 2013 11:00 am
This is the correct link for language overrides article http://www.jevents.net/jevents-15-topme ... in-jevents
------------
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
11 posts
• Page 1 of 2 • 1, 2
Return to Jevents 2.x (Free Access)
Who is online
Users browsing this forum: Alexa [Bot], Tonyp

