1.0.4 to 1.0.6 error

September 2015 Joomla Template
GK User
Thu Aug 03, 2017 9:05 am
Hi,
After I did update from 1.0.4 to 1.0.6 version of a template I got this error in style settings:
https://yadi.sk/i/L-jslzYs3Lfzjj
I didn't see any settings of a template.
How to fix it?
User avatar
Junior Boarder

teitbite
Mon Aug 07, 2017 2:23 pm
Hi

I do not think all the files got updated. Try to install the latest version of the template again or replace it via FTP.

Also You can 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
Tue Aug 08, 2017 4:54 pm
Hi,
I was checked this file - i found only
Code: Select all
var type = !isNaN(items[i].split('=')[0]) ? 'ItemID' : 'Option';

also i uploaded "admin" folder to server one more time.
Nothing changed.
Do you have more ideas?
User avatar
Junior Boarder

GK User
Tue Aug 08, 2017 5:02 pm
I found that you removed this code from templateDetails.xml:
From <!-- Menu settings -->
Code: Select all
<field name="gk_line_3" type="line" text="TPL_GK_LANG_TEXT_FB_LOGIN" desc="TPL_GK_LANG_TEXT_FB_LOGIN_DESC" />
                    <field name="fb_login" type="radio" class="btn-group" default="0" label="TPL_GK_LANG_FB_LOGIN" description="TPL_GK_LANG_FB_LOGIN_DESC">
                         <option value="1">TPL_GK_LANG_ENABLED</option>
                         <option value="0">TPL_GK_LANG_DISABLED</option>
                    </field>


From <!-- Cookie consent settings -->
Code: Select all
                    <field name="consenttype" type="list"  default="explicit" label="TPL_GK_LANG_CONSENT_TYPE" description="TPL_GK_LANG_CONSENT_TYPE_DESC">
                         <option value="implicit">TPL_GK_LANG_IMPLIED</option>
                         <option value="explicit">TPL_GK_LANG_EXPLICIT</option>
                    </field>
                    <field name="cookie_use_ssl" type="radio" class="btn-group" default="0" label="TPL_GK_LANG_COOKIE_SSL" description="TPL_GK_LANG_COOKIE_SSL_DESC">
                         <option value="1">TPL_GK_LANG_ENABLED</option>
                         <option value="0">TPL_GK_LANG_DISABLED</option>
                    </field>
                    <field name="banner_position" type="list"  default="bottom" label="TPL_GK_LANG_BANNER_POSITION" description="TPL_GK_LANG_BANNER_POSITION_DESC">
                         <option value="top">TPL_GK_LANG_TOP</option>
                         <option value="bottom">TPL_GK_LANG_BOTTOM</option>
                         <option value="push">TPL_GK_LANG_PUSH</option>
                    </field>


                    <field name="banner_tag_placement" type="list"  default="bottom-right" label="TPL_GK_LANG_TAG_PLACEMENT" description="TPL_GK_LANG_TAG_PLACEMENT_DESC">
                         <option value="bottom-right">TPL_GK_LANG_BR</option>
                         <option value="bottom-left">TPL_GK_LANG_BL</option>
                         <option value="vertical-left">TPL_GK_LANG_VL</option>
                         <option value="vertical-right">TPL_GK_LANG_VR</option>
                    </field>
                    <field name="refreshOnConsent" type="radio" class="btn-group" default="0" label="TPL_GK_LANG_REFRESH_CONSENT" description="TPL_GK_LANG_REFRESH_CONSENT_DESC">

                         <option value="1">TPL_GK_LANG_ENABLED</option>
                         <option value="0">TPL_GK_LANG_DISABLED</option>
User avatar
Junior Boarder

teitbite
Tue Aug 15, 2017 11:34 am
Hi

Yes, plugin was replaced since the last one we were using was took over by hackers.

Are You using joomla 3.7 ? Becuause the fix I've mentioned is for that joomla only. Try clear cache of browser and server to be 100% sure You are using this updated file.

It's a fix for the exact problem You are mentioning, so I do not know why it may not work.
User avatar
Moderator

GK User
Mon Aug 21, 2017 11:35 am
3.7.4
User avatar
Junior Boarder

teitbite
Sat Aug 26, 2017 10:48 am
Hi

Please send me joomla panel access and ftp access to my private email [email protected] so I'll see why it's not working for You.
User avatar
Moderator

GK User
Tue Sep 12, 2017 9:33 am
Hi,
I was fixed this issue when restore code, which I posted at post Tue Aug 08, 2017 4:02 pm .
User avatar
Junior Boarder

GK User
Sat Sep 16, 2017 8:33 pm
From 1.0.4 i can not update all the buttons in template backend are missing!
Also in my account i can not download technews only other templates that i had purchased! Is there any solution? I Use joomla 3.7.5
User avatar
Fresh Boarder


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