Newsletter popup not closed

Support desk for Villa Belluci Joomla Hotel Template
GK User
Tue Oct 20, 2015 4:49 pm
Install the module as described in the documentation
module is displayed, but the visitor can not close it
please tell me how to fix :)
User avatar
Senior Boarder

GK User
Tue Oct 20, 2015 11:54 pm
forvox wrote:please tell me how to fix :)

Had the same thing. Figured it out it was a conflict with another plugin. Try turning plugins off and then turn on one by one. Could be slow, but that's what worked for me. When I've found the one guilty, I've replaced it with another one and the bug was gone.
User avatar
Platinum Boarder

GK User
Wed Oct 21, 2015 3:20 pm
plug-ins from gavick or system joomla ?
User avatar
Senior Boarder

GK User
Wed Oct 21, 2015 3:25 pm
forvox wrote:plug-ins from gavick or system joomla ?

I did turn off all that are possible to be turned off - crucial ones are blocked and you can't turn 'em off anyway. In my case it was a plugin from another developer. Neither Joomla, nor Gavick.
User avatar
Platinum Boarder

GK User
Wed Oct 21, 2015 7:39 pm
Did not help
User avatar
Senior Boarder

GK User
Fri Oct 23, 2015 9:08 pm
How to solve the problem ?
installed joomla
installed template Hotel
configure the module Newsletter, as documented
Module can not be closed
you need to install additional components?
User avatar
Senior Boarder

teitbite
Mon Oct 26, 2015 2:35 pm
Hi

Can I please see Your site ? Are You using the newest version of template ?
User avatar
Moderator

GK User
Mon Oct 26, 2015 4:06 pm
Hello
In a private message address and access to the site
User avatar
Senior Boarder

teitbite
Wed Oct 28, 2015 4:50 pm
Hi

Please add this to css:

Code: Select all
#gk-newsletter-popup-close {
    z-index: 100;
}


and this to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>
User avatar
Moderator

GK User
Wed Oct 28, 2015 5:49 pm
Hi
Thank you
everything is working
User avatar
Senior Boarder

GK User
Mon Dec 07, 2015 7:46 pm
Hey.
I have completed all of the steps, but my site has not closed that window.
And then in general no longer be displayed. I returned everything as it was, but nothing helped. Could you help me?
User avatar
Fresh Boarder

GK User
Mon Dec 07, 2015 8:11 pm
Please check whether you have inserted
as described in the post above

template.css
#gk-newsletter-popup-close {
z-index: 100;
}

and this to /layout/blocks/head.php
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>
User avatar
Senior Boarder

GK User
Tue Dec 08, 2015 11:05 am
This code I added. But now, no pop-up window appears.
gtory.ru
User avatar
Fresh Boarder

GK User
Tue Dec 08, 2015 5:05 pm
I have a window
if you closed it - it appears after clearing the browser cache
User avatar
Senior Boarder

GK User
Tue Dec 08, 2015 8:41 pm
Well, I understand, but what about the fact that it does not close? Or do you close it?
User avatar
Fresh Boarder

GK User
Tue Dec 08, 2015 9:11 pm
sharpns wrote:Well, I understand, but what about the fact that it does not close? Or do you close it?

Of course you close it yourself. What's a reason for that window, if it hides before site visitor will decide if they want to subscribe or not? But if they decided "No", why should the window reappear ffor them? So, everything is quite logical....
User avatar
Platinum Boarder

GK User
Wed Dec 09, 2015 8:56 am
It's clear. I'm talking about the fact that the window does not close when you click on the cross. You want to say that it should be?
User avatar
Fresh Boarder

GK User
Thu Dec 10, 2015 8:30 am
sharpns wrote:It's clear. I'm talking about the fact that the window does not close when you click on the cross. You want to say that it should be?

If you click the cross and it won't close, in my case that meant scripts conflict on the page. Try turning off script relying modules on the page and then see if it will close, if it will, turn each module on and check will it close then (clear browser cookies cache - it'll make subscribe window popup again). When it stops, you’ll see what module has conflicting script.
If that doesn't help, your case different from mine and I can't help much beyond that. It did work for me...
User avatar
Platinum Boarder

teitbite
Sat Dec 12, 2015 12:37 pm
Hi

@sharpns I cannot see this part of code being added to site:

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>


please edit /layout/blocks/head.php and copy it at the very end. Remember to put it outside <?php ?> tags.
User avatar
Moderator

GK User
Sun Apr 10, 2016 1:05 pm
teitbite wrote:Hi

Please add this to css:

Code: Select all
#gk-newsletter-popup-close {
    z-index: 100;
}


and this to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>


This saved me today, I had the same problem on my Hotel template. Seems to work fine with that now :cheer:
User avatar
Fresh Boarder

GK User
Sun Apr 10, 2016 2:46 pm
OK, sort of worked. Now my newsletter keeps coming back after reloading the page every time. Confusing and annoying, will have to sort this out though. If I should have any idea I will tell you.
User avatar
Fresh Boarder

GK User
Tue Aug 09, 2016 8:02 pm
teitbite wrote:Hi

Please add this to css:

Code: Select all
#gk-newsletter-popup-close {
    z-index: 100;
}


and this to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>



Thank you! Solved problem! please recommend these changes are added to the actual template
User avatar
Fresh Boarder

teitbite
Thu Aug 11, 2016 4:16 pm
Hi

This is actually an override, so I cannot advice it, but I will let programmers know that this need to be checked and fixed if it's still an issue.
User avatar
Moderator

GK User
Thu Aug 11, 2016 4:20 pm
thank you so much! yes after installation of the template the newsletter popup would not close when I hit the X in the top right of the box.
User avatar
Fresh Boarder

teitbite
Sat Aug 13, 2016 2:59 pm
Hi

Reported to programmers. Will inform when adjustments will be make in packages.
User avatar
Moderator

GK User
Sat Aug 13, 2016 5:44 pm
Thank you!
User avatar
Fresh Boarder

teitbite
Thu Aug 18, 2016 1:50 pm
Hi

Unfortunately programmers has checked it and problem does not appear on our or programmers private servers. So this problem has to be connected with some specific configuration. This means that for whoever will encounter it best solution will be to use my override.

I'll copy it again:


Please add this to css:

Code: Select all
#gk-newsletter-popup-close {
    z-index: 100;
}


and this to /layout/blocks/head.php

Code: Select all
<script type="text/javascript">(function($) {$(document).ready(function() {
$('#gk-newsletter-popup-close').click(function(){
$('#gk-newsletter-popup').hide();
});
});})(jQuery)</script>
User avatar
Moderator

GK User
Thu Aug 18, 2016 4:32 pm
thanks man! do they think it is a PHP configuration
User avatar
Fresh Boarder

teitbite
Mon Aug 22, 2016 1:34 pm
Hi

Really hard to tell what can be causing it since we have no access to sever where this problem exists. If one of You can share an ftp access I'll send it to programmers so they will be able to work on that.
User avatar
Moderator


cron