J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Mon May 20, 2013 3:36 am

Day of week in Weekly View  Topic is solved

Forum for JEvents 3.0 for Joomla 3.0 and 2.5.

Day of week in Weekly View

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

Re: Day of week in Weekly View

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: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Day of week in Weekly View

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

Re: Day of week in Weekly View  Topic is solved

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

Re: Day of week in Weekly View

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.
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba


Return to JEvents 3.0 (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

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

Login Form