Jevents 2.x (Free Access)

short months names in module  Topic is solved

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 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
barnea11
 
Posts: 6
Joined: Sun Jan 06, 2013 2:38 pm

Postby 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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

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

Postby 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

Postby Tonyp » Mon Jan 07, 2013 8:38 am

Hello,

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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

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

Postby barnea11 » Mon Jan 07, 2013 9:00 am

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

Postby 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.
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

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

Postby 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

Postby 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
pva112
 
Posts: 2
Joined: Mon Jan 07, 2013 7:15 pm

Postby 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
---------------------------------------
Feel free to PM me if you would like Custom Installs or Joomla! related work for a competitive quote.

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

Postby 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!
User avatar
Geraint
 
Posts: 42781
Joined: Fri Feb 15, 2008 6:14 pm

Next

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]