Login pop up and K2 add new item pop up

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Oct 23, 2013 3:52 pm
Reply with quote
Report this post
Hello!

I changed the default login module to K2 user login module. And it works nice. But the problem that I have is that when I click on the "add new item" link...

1.jpg


The K2 add new item pop up loads up in the background but the login module pop up does not close...

2.jpg


I understand that the problem is, that the site is not reloaded - other links work fine that way.

How can I make the first link make the login module pop up close on mouse click (not on reload, as it is right now)?

A.
User avatar
Junior Boarder

teitbite
Thu Oct 24, 2013 4:37 pm
Reply with quote
Report this post
Hi

Please send me an url to the site and an access to I'll be able to click the Add Article link and see this problem.
User avatar
Moderator

GK User
Thu Oct 24, 2013 5:16 pm
Reply with quote
Report this post
E-mail sent!

A.
User avatar
Junior Boarder

teitbite
Thu Oct 24, 2013 10:23 pm
Reply with quote
Report this post
Hi

Please add this to override.css , remember to allow using override in template settings in order to have this code used by site.

Code: Select all
#gkPopupOverlay {
    z-index: 65555;
}

#gkPopupLogin {
    z-index: 65556;
}
User avatar
Moderator

GK User
Fri Oct 25, 2013 8:10 am
Reply with quote
Report this post
Thanks! It worked! I also added my own little touch:

Code: Select all
#gkPopupOverlay {
    z-index: 65555;
    opacity: 0!important;
}


That way the pop up background stays equally dim and is not doubled by the second pop up going on top of the first one.

A.
User avatar
Junior Boarder

teitbite
Sun Oct 27, 2013 5:56 pm
Reply with quote
Report this post
Hi

Yes it is, but this popup is used in numerous ocassions, so there may be actions that You will not have an overlay background at all. And if You want to remove it than:

Code: Select all
#gkPopupOverlay { display: none; }


is better since IE8 is still in use and do not support opacity rule.
User avatar
Moderator


cron