Front editing joomla content problem

GK User
Wed Jun 22, 2016 2:54 pm
front end edit, joomla article, when you click any of tabs "images and links", "publishing" "laguange" etc... form act like you clicked "cancel" and return to previous page. K2 front editing works fine.
User avatar
Fresh Boarder

teitbite
Sun Jun 26, 2016 4:16 pm
Hi

Please make sure template is updated to latest version and if it is please send me an access to ftp and joomla panel so I'll be bale to check this problem.
User avatar
Moderator

GK User
Sat Jul 02, 2016 9:00 am
I sent data to Your private mail,
but, till waiting Your answer, We try another remplate, "Rockwall".
Situation is the same, front-end editing joomla articles have problem, and front editing modules, too : when You click any of tabs, on front editing form, form exits, like You clicked "cancel"
User avatar
Fresh Boarder

teitbite
Mon Jul 04, 2016 6:51 pm
Hi

I've reported this to programmers. Will inform You as soon as I'll hear from them.
User avatar
Moderator

teitbite
Sun Jul 10, 2016 8:52 am
Hi

Please edit file /js/gk.scripts.js in template folder and replace Smooth Scrolling script with this one:

Code: Select all
    // smooth anchor scrolling
    if(
        !(
            jQuery('#gkMainbody').find('.subpage').length &&
            jQuery('#gkMainbody').find('.subpage').hasClass('edit')
        ) && !(
            jQuery('#modules-form').length
        )
    ) {
        jQuery('a[href*="#"]').on('click', function (e) {
            e.preventDefault();
            if(
                this.hash !== '' &&
                this.hash.indexOf('carousel') === -1 &&
                this.hash.indexOf('advancedSearch') === -1
            ) {
                var target = jQuery(this.hash);

                if(this.hash !== '' && this.href.replace(this.hash, '') == window.location.href.replace(window.location.hash, '')) {   
                    if(target.length && this.hash !== '#') {
                        jQuery('html, body').stop().animate({
                            'scrollTop': target.offset().top
                        }, 1000, 'swing', function () {
                            if(this.hash !== '#') {
                                window.location.hash = target.selector;
                            }
                        });
                    } else if(this.hash !== '' && this.href.replace(this.hash, '') !== '') {
                        window.location.href = this.href;
                    }
                } else if(this.hash !== '' && this.href.replace(this.hash, '') !== '') {
                    window.location.href = this.href;
                }
            }
        });
    }
User avatar
Moderator

GK User
Mon Jul 11, 2016 8:08 am
changed, cleared cache, but nothing has changed.
However, We turn off "Smoth scrooling" in template settings, and everything work like charm. So Your answer really helped. Thanks !
User avatar
Fresh Boarder

teitbite
Wed Jul 13, 2016 7:19 pm
Hi

Ok. Glad to hear I could have helped somehow. If this can stay this way than just leave it like that. If You want smooth scrolling to work than please send me an access to joomla panel and ftp.
User avatar
Moderator


cron