Menu Item Popup login

Professional eCommerce VirtueMart Joomla template with responsive design discussion forum.
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
Tue Jan 19, 2016 3:42 pm
Reply with quote
Report this post
Hello,

I try to get a menu item to show the popup login. I use gkLogin in the Additional class in Menu Params Column but it doesn't work. Could you please provide more information how activate this. I have the module published and published when the menu item is activated.

Thanks

Best Regards

Sultan
User avatar
Fresh Boarder

teitbite
Sat Jan 23, 2016 11:03 am
Reply with quote
Report this post
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

teitbite
Sun Jan 31, 2016 11:48 am
Reply with quote
Report this post
Hi

Class is added to <li></li> element while it should be to <a></a> inside it and it should be an "id" attribute instead of "class" in the matter of fact.

Anyway while You have it right now just go to /js/gk.scripts.js and change function:

Code: Select all
            jQuery('#gkLogin').click( function(e) {
               e.preventDefault();
               e.stopPropagation();
               popup_overlay.css({'opacity' : 0.01});
               popup_overlay.css({'opacity' : 0.45});
               popup_overlay.fadeIn('medium');
               
               setTimeout(function() {
                  popup_login.animate({'opacity':1, 'height': popup_login_h},200, 'swing');
                  opened_popup = 'login';
                  popup_login.addClass('gk3Danim');
               }, 450);
   
               (function() {
                  if(jQuery('#modlgn-username').length > 0) {
                     jQuery('#modlgn-username').focus();
                  }
               }).delay(600);
            });


into

Code: Select all
            jQuery('.gkLogin a').click( function(e) {
               e.preventDefault();
               e.stopPropagation();
               popup_overlay.css({'opacity' : 0.01});
               popup_overlay.css({'opacity' : 0.45});
               popup_overlay.fadeIn('medium');
               
               setTimeout(function() {
                  popup_login.animate({'opacity':1, 'height': popup_login_h},200, 'swing');
                  opened_popup = 'login';
                  popup_login.addClass('gk3Danim');
               }, 450);
   
               (function() {
                  if(jQuery('#modlgn-username').length > 0) {
                     jQuery('#modlgn-username').focus();
                  }
               }).delay(600);
            });


so it should work with Your setup.
User avatar
Moderator

GK User
Mon Feb 01, 2016 12:48 pm
Reply with quote
Report this post
Hello,

I tried this but nothing changes, it still doesnt work...

Best Regard

S
User avatar
Fresh Boarder

teitbite
Thu Feb 04, 2016 2:32 pm
Reply with quote
Report this post
Hi

In that case reverse changes to this file and send me an access to joomla panel and ftp. I'll figure it out.
User avatar
Moderator

teitbite
Fri Feb 26, 2016 12:54 pm
Reply with quote
Report this post
Hi

I had to send Your access to programmers for solution. Will inform You as soon as they will answer.
User avatar
Moderator

teitbite
Sat Feb 27, 2016 8:06 pm
Reply with quote
Report this post
Hi

I just go an information that programmers has fixed it by overwriting js file with the one from latest version.
User avatar
Moderator


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