-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
November 7, 2016 at 2:39 am #983930How to fix crazy dates and times showing incorrectly ? http://printindustrynews.com/en/events/967-xerox-spark-innovation-expo-on-17-november-2016
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
November 7, 2016 at 6:15 pm #984216The date works now after @ninjalead mod but Time still doesn’t.
Open templates/ja_teline_v/html/layouts/joomla/content/item/event.php file
find and change
$config = JFactory::getConfig();
$tz = new DateTimeZone($config->get(‘offset’));
$date_start = new JDate($item->params->get(‘ctm_start’,”));
$date_end = new JDate($item->params->get(‘ctm_end’,”));
to$config = JFactory::getConfig();
$attribs = new JRegistry($item->attribs);
$tz = new DateTimeZone($config->get(‘offset’));
$date_start = new JDate($attribs->get(‘ctm_start’,”));
$date_end = new JDate($attribs->get(‘ctm_end’,”));John FriendJohn
- Join date:
- November 2007
- Posts:
- 168
- Downloads:
- 151
- Uploads:
- 51
- Thanks:
- 46
- Thanked:
- 3 times in 3 posts
November 8, 2016 at 4:48 am #984351Tim,
I have had the same problem with events dates along with quite a few others, such as mouse over editing etc., and rear end CSS & JS errors. I have restored an older version of Joomla and am staying there until there is a ja teline update for Joomla 3.6.4.
I will save on doing patches to patch my own fixes for the future.
John
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 9, 2016 at 8:20 am #984759Hi Tim,
I changed the configuration from Event page on your site and it needs to work with Event layout of JA Teline V template style: http://prntscr.com/d4zd20 and I assigned Event page with ja_teline_v – Events template style and now, you can see it’s working as well on your site
Regards
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
November 9, 2016 at 1:21 pm #984884Hi Tam,
I still get wrong closing date (18th) on http://printindustrynews.com/en/events and no Times.
And map error ? And small screen logo misplaced.
Tim
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 10, 2016 at 3:29 am #985045Hi Tim,
I see you added the small logo on your site http://prntscr.com/d5cvcx
About the wrong date on your site, I just fixed it from /ja_teline_v/html/layouts/joomla/content/item/event.php file with added new format date d F Y H:i to start time and end time. Now, it’s working as well: http://prntscr.com/d5cwgo
About the google map problem on your site, the Google map does not support non-key on Google Map that’s why your site didn’t load the map on your site and follow step below to get the key of Google map
-
Go to this link: https://developers.google.com/maps/documentation/javascript/get-api-key and get the API with your domain
- Open /ja_teline_v/html/layouts/joomla/content/item/event.php file
find and changehttp://maps.google.com/maps/api/js?sensor=false
to
https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap
with YOUR_API_KEY: the key from Google Map with your domain
Hope it helps
Regards
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
November 10, 2016 at 3:46 pm #985235Hi Tam,
Your screenshot still shows wrong end date (should be 17th) and completely wrong Times. See the article intro text. I find that the dates go wrong if I add times but OK if I don’t. Smells like a BUG !
Thanks for the map API info. I’ll add it.
Tim
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2016 at 1:41 am #985337Hi Tim,
This is not a bug from our product, I checked on "Xerox – SPARK Innovation Expo on 17 November, 2016" article and saw end time has been changed to 17th: http://prntscr.com/d5rhm7 and front-end: http://prntscr.com/d5rhqk. The time shows here from Event Info tab with start time and end time from backend of your site: http://prntscr.com/d5rhm7
Regards
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
November 11, 2016 at 2:15 am #985350Hi Tam,
Did you try putting in the correct Start and End times, namely 09.30 and 18.00 ? I have and upon Save the end Date goes to 18th and no Times at all are shown in front end.
Tim
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
-
AuthorPosts
Viewing 10 posts - 1 through 10 (of 10 total)This topic contains 9 replies, has 3 voices, and was last updated by Ninja Lead 8 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum