By Joroslav on Tuesday, 01 May 2018
Posted in General Issues
Likes 0
Views 720
Votes 0
I have a problem.
EasyDiscuss module - Quick Question Module causes me wrong operation of magnificPopup and fancybox libraries.
Hey there,

I am really sorry for the delay of this reply as it is a public holiday for us here.

Can you elaborate more details regarding this issue? For example :

1. what do you mean by 'causes me wrong operation of magnificPopup and fancybox libraries'?

2. Which page display that module?

3. It would be best if you can provide us some screenshot which part not working and re-activate your site user account so we can better have a check.
·
Tuesday, 01 May 2018 08:41
·
0 Likes
·
0 Votes
·
0 Comments
·
The problem is that the popups called by these libraries will not open.
This is a gdpr component and a custom popup call API.
·
Tuesday, 01 May 2018 15:56
·
0 Likes
·
0 Votes
·
0 Comments
·
The problem is that the popups called by these libraries will not open.
This is a gdpr component and a custom popup call API.
Picture one 2,3.
The module displayed is EasyDiscuss - Quick Question Module name "polozit dotaz". picture one - 1
If enabled, the popup will not be displayed.
if disabled, the popup will show. Picture two

Write and I will immediately allow you access
·
Tuesday, 01 May 2018 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
this is related to the GDPR plug-in, which gives its consent to privacy terms. (picture 3).
And only if it is specified to display these conditions in the pupup window.
In this case, there is a problem with popup magnificPopup elsewhere on the web.
The GDPR component uses the fancybox.
If it is specified to open the conditions in a new order, everything is OK
·
Tuesday, 01 May 2018 17:05
·
0 Likes
·
0 Votes
·
0 Comments
·
the simplest option might be to add a mandatory checkbox to the module.
Can you tell me how to add it to /www/templates/eximium/html/mod_easydiscuss_quickquestion/default.php?
·
Tuesday, 01 May 2018 23:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Joroslav,

I could not access your backend or ftp to test the popup(http://take.ms/0jqO6, http://take.ms/7O4M5). Please advice.

Do you mean that when you click on the link, you want the box in the lower right to be expanded? http://take.ms/vLHbf
·
Wednesday, 02 May 2018 14:04
·
0 Likes
·
0 Votes
·
0 Comments
·
I have given you access.
If I choose Figure One option 3, I do not get popup and I will not switch to Option 2. There is a conflict between your module (1) and the GDPR component.

If module (1) turns off, the links in 2 are opened correctly in popup - picture two.

The easiest option is not to use this plug-in and add a required field instead to the module.
Can you tell me how to add to /www/templates/eximium/html/mod_easydiscuss_quickquestion/default.php?

write to me when you do not need access
·
Wednesday, 02 May 2018 16:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Joroslav,

I think I understand the issue now. When the module is displayed on the page, the popup from the gdpr plugin is invisible.

There may be a css conflict here. Can you try applying the following custom css codes and see how it goes?

.fancybox-container.fancybox-is-open .fancybox-inner {
position: absolute;
}
·
Wednesday, 02 May 2018 19:44
·
0 Likes
·
0 Votes
·
0 Comments
·
great, thank you

can you please advise but how to make the chcekbox in EasyDiscuss - Quick Question Module

do I have to set up a new ticket?
·
Wednesday, 02 May 2018 20:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, not really sure if I understand you here. Do you mean you want to insert a checkbox in the module? You can always customize the module's template file in /modules/mod_easydiscuss_quickquestion/tmpl/default.php and insert your html codes there.
·
Wednesday, 02 May 2018 23:40
·
0 Likes
·
0 Votes
·
0 Comments
·
you understand correctly.
I can be there in the form insert checbox, but I can not make it required.
·
Thursday, 03 May 2018 00:35
·
0 Likes
·
0 Votes
·
0 Comments
·
You need to write javascript to ensure that the checkbox is checked. If it isn't checked, the script would then prevent the form to be submitted.
·
Thursday, 03 May 2018 01:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for the info, but I do not dare to write javascript.

Ideally it would be if there were to agree to conditions such as the component.
I could already edit it, as here: https://www.eshop-diochi.cz/index.php?option=com_easydiscuss&view=ask&Itemid=1123
·
Thursday, 03 May 2018 02:38
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Joroslav,

I checked your module and it looks like there is already a js validation in place(http://take.ms/T3BVn). Am I missing something here?

By the way, I have attached the file for JoomlaFolder/templates/eximium/html/mod_easydiscuss_quickquestion/default.php which you can try using.
·
Thursday, 03 May 2018 14:09
·
0 Likes
·
0 Votes
·
0 Comments
·
thank you very much
Authentication was completed with the GDPR component plugin.
But I prefer to have the treatment right in the module because it is better adapted.

That's why I prefer to use the code that you sent me and it works correctly.

I just went there from line 93 to make a change to another popup


<?php echo JText::_('COM_EASYDISCUSS_I_HAVE_READ_AND_AGREED');?>
<!--<a href="javascript:void(0);" style="text-decoration: underline;" data-ed-ask-tnc-link>
<?php echo JText::_('COM_EASYDISCUSS_TERMS_AND_CONDITIONS');?>
</a>-->
<a href="/?id=15:souhlas&catid=2:uncategorised" class="jcepopup" data-mediabox="1" type="text/html" data-mediabox-width="1200" data-mediabox-height="800"> <?php echo JText::_('COM_EASYDISCUSS_TERMS_AND_CONDITIONS');?></a>
·
Thursday, 03 May 2018 17:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Alright Joroslav and you're most welcome. Glad to know it helps.

Will close this thread for now. Feel free to start a new thread if you have any other issues.

Regards.
·
Thursday, 03 May 2018 17:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post