Day of week in Weekly View 
Forum for JEvents 3.0 for Joomla 3.0 and 2.5.
Day of week in Weekly View
by 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!
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
by 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!
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: 30518
- Joined: Fri Feb 15, 2008 6:14 pm
Re: Day of week in Weekly View
by 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 
by 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:
changed into
Just the "2" into "0" at the almost end of the line and now I have the right format.
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
by 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.
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
5 posts
• Page 1 of 1
Return to JEvents 3.0 (Free Access)
Who is online
Users browsing this forum: No registered users

