Bad redirect in frontend editor (nav tab and buttons)

Support desk for Multipurpose Quark Theme
GK User
Wed Oct 05, 2016 10:35 am
Hi,
I have this troublesome problem in editing front-end.
When I change tab selector (Content, Images, Publishing, Language, Metadata) the page is redirect in previous page menu. Same problem after pressing buttons command (Save, Cancel, Version).
Thank you.

Vittorio
User avatar
Fresh Boarder

teitbite
Thu Oct 06, 2016 1:04 pm
Hi

Are You editing joomla articles or k2 items ? Please send me url and access to joomla panel via PM.
User avatar
Moderator

teitbite
Sun Oct 09, 2016 12:32 pm
Hi

I will need You to show me exactly what page and where I should click to see edit. When I hit "Modifica" in some of the articles I'm selecting, I'm being redirected to Your hosting page with message that I have no access to it. Please guide me so I'll be able to see the error.
User avatar
Moderator

GK User
Thu Oct 13, 2016 3:10 pm
Hi,
sorry for the delay.
The problem is in all articles in Italian or English version.
In English version, for example: http://www.geocachingitalia.it/en/tutor ... sign-up-en
if I click on any tab or button after 2 seconds I am redirect in category page.

PS
Host page redirect is solved: I've missed some attachments in online articles (com_attachment)
User avatar
Fresh Boarder

teitbite
Sat Oct 15, 2016 5:21 pm
Hi

Acctually I meant that I cannot see an edit button. Can You please show me on article. Or maybe my user doesn't have permissions to edit.

Anyway, make sure template is up to date and tell me if those are K2 items or joomla regular articles. If it's K2 make sure jQuery is enabled in K2 configuration.
User avatar
Moderator

teitbite
Fri Oct 21, 2016 11:09 am
Hi

The new access You've send me is not working:

Code: Select all
Username and password do not match or you do not have an account yet.


please just rise the old access You gave me previously to Super User, I'll be able to see edit button than and check the problem.
User avatar
Moderator

GK User
Thu Nov 17, 2016 11:43 am
Hi,
I found an uneasy solution.
1. Click on the tab
2. Fast, very fast, click in the browser's stop button.
Sometimes they are not fast enough ...

Thank you
User avatar
Fresh Boarder

teitbite
Tue Nov 22, 2016 1:42 pm
Hi

I'm sure it's some conflict issue, but I still was not able to see it. Your access is still not working for me the way so I'll be able to :(
User avatar
Moderator

GK User
Wed Nov 23, 2016 1:07 pm
I'm sorry, but I have sent you my personal access keys... and they work.
I try again with a new Private Message :)
Thank you.
User avatar
Fresh Boarder

teitbite
Wed Nov 30, 2016 2:53 pm
Hi

Finally was able to log in :) I see what the issue is. Please edit file /js/gk.scripts.js in template's folder and remove this script:

Code: Select all
    // smooth anchor scrolling
    jQuery('a[href*="#"]').on('click', function (e) {
        e.preventDefault();
        if(this.hash !== '') {
            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


cron