error after update to joomla 3.7

Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Apr 29, 2017 11:23 am
Reply with quote
Report this post
After updating the site to Joomla 3.7 the template settings are not there anymore.
Any information about an update would be welcome.

Greetings,
Paul
User avatar
Expert Boarder

Joshua M
Sat Apr 29, 2017 9:30 pm
Reply with quote
Report this post
Hi,
Try to change the following line from gk_mo/admin/scripts/js file:

Code: Select all
var type = items[i].split('=')[0].test(/^\d+$/) ? 'ItemID' : 'Option';


into:
Code: Select all
var type = !isNaN(items[i].split('=')[0]) ? 'ItemID' : 'Option';
User avatar
Moderator

GK User
Tue May 02, 2017 1:37 pm
Reply with quote
Report this post
Hi,
Try to change the following line from gk_mo/admin/scripts/js file: (...)


I tried, and it did not work as intended.
The tabs stayed invisible, and I got some extra errorcode in the .js file: see attached image.

Thank you.

Greetings,
Paul
User avatar
Expert Boarder

Joshua M
Thu May 04, 2017 7:34 am
Reply with quote
Report this post
Try to paste this line again:
Code: Select all
var type = !isNaN(items[i].split('=')[0]) ? 'ItemID' : 'Option';

There was wrong quote at the end.

If that won't help, please send me your website FTP access (Private message) and I'll try to help.
User avatar
Moderator

GK User
Thu May 04, 2017 11:06 am
Reply with quote
Report this post
Thank you: that solved it.

I read both code lines, but for the life of me, I cannot see any difference between them. But in the site it made all the difference.

Greetings,
Paul
User avatar
Expert Boarder


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.