Your template stop to work on Joomla! 3.7.0

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
Fri Apr 28, 2017 3:35 pm
Reply with quote
Report this post
Hi
I just updated my Joomla verstion to Joomla! 3.7.0 Stable
And I notice that your template now can not be edit on aministration panel
any ideas?

Thanks

Peter
User avatar
Fresh Boarder

Joshua M
Sat Apr 29, 2017 9:32 pm
Reply with quote
Report this post
Hi,
Try to change the following line from gk_shop_and_buy/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
Mon May 01, 2017 2:08 pm
Reply with quote
Report this post
thank you
User avatar
Fresh Boarder

GK User
Tue May 09, 2017 1:27 am
Reply with quote
Report this post
Works fine for me too...Thank you
User avatar
Fresh Boarder

GK User
Wed Sep 06, 2017 12:55 pm
Reply with quote
Report this post
I upgrade to version 3.21.4 of the template today in preparation for upgrading Joomla 3.6.5 to 3.75. I did the template upgrade and it worked. Then I upgraded Joomla to 3.7.5. However now the admin tabs have disappeared. See attached file. It just says 'site' in the place where all the tabs used to be. I checked the script.js file but it already has the suggested code. Please help.
Thanks
User avatar
Junior Boarder

Joshua M
Thu Sep 07, 2017 8:00 am
Reply with quote
Report this post
I can't see the problem with Joomla 3.7.5, did you clear joomla, plugins and your browser's cache?
User avatar
Moderator


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