Assignig template to menu positions - BUG

Responsive, suitable for any type of business, built for any needs elegant one-page Joomla template.
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
Tue Jul 18, 2017 2:58 pm
Reply with quote
Report this post
Well
I have a website that uses Creativity template. It is constructed in 4 languages. So I used 4 copies of template and assigned to different menu positions. In past months I used to regulary update Joomla. Today I tried to create new K2 Item and assign German template to this item. It is not possible. In the backend (admin panel) entering style is not showing all options. It dies showing only first tab.

http://imgur.com/a/FEfiD
User avatar
Fresh Boarder

teitbite
Sat Jul 22, 2017 12:25 pm
Reply with quote
Report this post
Hi,

Try to change the following line from /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
Sun Jul 23, 2017 10:11 am
Reply with quote
Report this post
yep
it does the trick
thank you
User avatar
Fresh Boarder

teitbite
Fri Jul 28, 2017 3:22 pm
Reply with quote
Report this post
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron