JEvents 3.1 (Free Access)

Day of week in Weekly View  Topic is solved

Forum for JEvents 3.1 for Joomla 3.x and 2.5.
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 WaR » Tue Feb 26, 2013 8:08 am

Where can I change that I also have the day of the week (i.e. Tuesday, 26. February) in the tableh2 at the weekly view.
At the moment I just have 26. February (http://www.skn-jugend.at/neu/index.php/ ... wochenplan)
Thank you in advance for your help!
WaR
 
Posts: 9
Joined: Thu Feb 14, 2013 12:32 pm

Postby Geraint » Tue Feb 26, 2013 11:30 am

that is controlled by date/time format option - what option do you have selected currently?
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: 42850
Joined: Fri Feb 15, 2008 6:14 pm

Postby WaR » Tue Feb 26, 2013 11:39 am

In the JEvent component configuration I have "continental/german" as date format ...
WaR
 
Posts: 9
Joined: Thu Feb 14, 2013 12:32 pm

Postby WaR » Fri Mar 01, 2013 8:37 pm

I found the solution now on my own ...
In the directory ../week/tmpl I changed in the file listevents_body.php, line 60, the following:

Code: Select all
. JEventsHTML::getDateFormat( $data['days'][$d]['week_year'], $data['days'][$d]['week_month'], $data['days'][$d]['week_day'], 2 ).'</a>'."\n";


changed into
Code: Select all
. JEventsHTML::getDateFormat( $data['days'][$d]['week_year'], $data['days'][$d]['week_month'], $data['days'][$d]['week_day'], 0 ).'</a>'."\n";


Just the "2" into "0" at the almost end of the line and now I have the right format.
WaR
 
Posts: 9
Joined: Thu Feb 14, 2013 12:32 pm

Postby carcam » Sat Mar 02, 2013 10:04 am

You should create an override for that if you do not want to loose your changes in following updates.

Any way, a better option would be to choose "From Language file" as date format and then create a language override to specify the language format you want to use.
¿Sabías que tenemos soporte en español para los miembros del Club de JEvents? ¡ÚNETE AHORA!
User avatar
carcam
Team Staff
 
Posts: 7114
Joined: Wed Aug 06, 2008 7:50 pm
Location: Almería


Return to JEvents 3.1 (Free Access)

cron
  • 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