Forums de discussion

EU Cookie Agreement portlet not works

thumbnail
Ivano Carrara, modifié il y a 8 années.

EU Cookie Agreement portlet not works

Expert Publications: 345 Date d'inscription: 03/07/05 Publications récentes
I got and installed EU Cookie Agreement portlet from Marketplace here

After deployed, clicking on Read More button the web content with the extended information was not opened.

Also other users can't use the portlet, as you can see in the Customer Reviews section of Marketplace: when click the “read moore” button...not works

Please anyone could you help me ?

Thank you in advance,
Ivano C.
thumbnail
Bijan Vakili, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 375 Date d'inscription: 10/03/09 Publications récentes
I think best to contact developer; that way the app will be updated too:
http://www.smc.it/

Otherwise your comment on app should help; and since they put in all this great effort; likely they'll resolve this bug soon, I hope.

Here's a way you can help to debug:
1. Start Firefox Developer Console ( or Chrome's or similar browser's console - https://developer.mozilla.org/en-US/docs/Tools/Web_Console )
2. Load the page with the portlet on the page; check for any errors on the console; reply back with any issues you see.
thumbnail
Ivano Carrara, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 345 Date d'inscription: 03/07/05 Publications récentes
Dear Bijan, thank you for your advice ...

To put the issue in their support section was my first intention but I was not able to find this section at http://www.smc.it - Do you found it ?

Thank you in advance for your support !
Ivano C.
thumbnail
Bijan Vakili, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 375 Date d'inscription: 10/03/09 Publications récentes
Hello Ivano, you may try this form:
http://www.smc.it/contattaci

Hope to hear whether they update or not.
thumbnail
Ivano Carrara, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 345 Date d'inscription: 03/07/05 Publications récentes
Bijan Vakili:
Hello Ivano, you may try this form:
http://www.smc.it/contattaci

Hope to hear whether they update or not.


Dear Bijan, I filled the form but after I clicked on Save button I got the "Impossible to contact the server" - the URL is
http://smcgroup.pjoon.com/grazie


How I can contact the developer that published this portlet on Liferay's Marketplace ?

Thank you for your support !

Ivano C.
thumbnail
JC Choi, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Junior Member Publications: 30 Date d'inscription: 23/05/13 Publications récentes
Hi Ivano,

Since this is a 3rd party app (not affiliated with Liferay), the correct path is to contact the 3rd party developer directly for support. I can see the following email address on their contact form page: smc@smc.it.

Hope that helps.
thumbnail
Ivano Carrara, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 345 Date d'inscription: 03/07/05 Publications récentes
Hi all,

I'm sorry but still the publisher of EU Cookie Agreement portlet from Liferay's Marketplace don't replied also from the official contact smc@smc.it

I got the return receipt about my email message on 13/11/2015 but not a reply:

Il messaggio

A: smc@smc.it
Oggetto: EU Cookie Agreement portlet from Marketplace
Inviato: 13/11/2015 09:31

è stato letto il giorno 13/11/2015 09:42.


Anyone can help me ?

Ivano C.
thumbnail
Bijan Vakili, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 375 Date d'inscription: 10/03/09 Publications récentes
I did a little research on issue; here's what I found and options you have:

As you know the portlet has bug; root cause:
"Dialog is an AlloyUI 1.5 component. Since Liferay 6.2 uses AlloyUI 2.0, Dialog will not work in Liferay 6.2. Instead you will need to use the AlloyUI 2.0 Modal component." -- Kyle Joseph Stiemann
https://www.liferay.com/community/forums/-/message_boards/message/40245940

The issue is in the following file:
display/view.jsp

This line's geared for 6.1's AUI:


                readMore.on('click', function(e) {
                        e.preventDefault();

                                var dialog = new A.Dialog({
                                                destroyOnClose: true,
                                                modal: true,
                                                centered: true,
                                                title: '<%= privacyPolicy.getTitle(locale) %>',
                                                width: 800,
                                                height:600
                                        }
                                ).plug(
                                        A.Plugin.IO,
                                                {
                                                        uri: '<%=viewPrivacyPolicyURL%>'
                                                }
                                ).render();
                        },
                        ['aui-dialog']
                );



So you can just change it to following:


                readMore.on('click', function(e) {
                        e.preventDefault();

                                var dialog = new A.Modal({
                                                destroyOnClose: true,
                                                modal: true,
                                                centered: true,
                                                title: '<%= privacyPolicy.getTitle(locale) %>',
                                                width: 800,
                                                height:600
                                        }
                                ).plug(
                                        A.Plugin.IO,
                                                {
                                                        uri: '<%=viewPrivacyPolicyURL%>'
                                                }
                                ).render();
                        },
                        ['aui-modal']
                );

Though when I tried, Ui didn't look good; so you may want to tweak a little more.


It seems plugin was made for 6.1; and uploaded for 6.2 instead.
thumbnail
Ivano Carrara, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Expert Publications: 345 Date d'inscription: 03/07/05 Publications récentes
Bijan Vakili:
I did a little research on issue; here's what I found and options you have:

As you know the portlet has bug; root cause:
"Dialog is an AlloyUI 1.5 component. Since Liferay 6.2 uses AlloyUI 2.0, Dialog will not work in Liferay 6.2. Instead you will need to use the AlloyUI 2.0 Modal component." -- Kyle Joseph Stiemann
https://www.liferay.com/community/forums/-/message_boards/message/40245940

The issue is in the following file:
display/view.jsp

This line's geared for 6.1's AUI:


                readMore.on('click', function(e) {
                        e.preventDefault();

                                var dialog = new A.Dialog({
                                                destroyOnClose: true,
                                                modal: true,
                                                centered: true,
                                                title: '<%= privacyPolicy.getTitle(locale) %>',
                                                width: 800,
                                                height:600
                                        }
                                ).plug(
                                        A.Plugin.IO,
                                                {
                                                        uri: '<%=viewPrivacyPolicyURL%>'
                                                }
                                ).render();
                        },
                        ['aui-dialog']
                );



So you can just change it to following:


                readMore.on('click', function(e) {
                        e.preventDefault();

                                var dialog = new A.Modal({
                                                destroyOnClose: true,
                                                modal: true,
                                                centered: true,
                                                title: '<%= privacyPolicy.getTitle(locale) %>',
                                                width: 800,
                                                height:600
                                        }
                                ).plug(
                                        A.Plugin.IO,
                                                {
                                                        uri: '<%=viewPrivacyPolicyURL%>'
                                                }
                                ).render();
                        },
                        ['aui-modal']
                );

Though when I tried, Ui didn't look good; so you may want to tweak a little more.


It seems plugin was made for 6.1; and uploaded for 6.2 instead.


Thank you Bijan !

I'll open a new thread in Marketplace forum about their wrong validation of the portlet for the 6.2 version.

Ivano C.
thumbnail
Mauro Mariuzzo, modifié il y a 8 années.

RE: EU Cookie Agreement portlet not works

Regular Member Publications: 142 Date d'inscription: 23/07/07 Publications récentes
Hi all,

as you already noticed a bug in our building environment makes a 6.1 code be packaged into a 6.2 artifact.

We have already provided the new package to Liferay Marketplace system, it will be approved soon (time doesn't depend on us).

From the begining this plugin is provided with sources, and is licensed as LGPL. This allows you to import it inside Liferay IDE and extend it or fix it.
Please honor LGPL conditions when you redistribute the derived plugin.

About the fix, I suggest to not use "A.Model()" because it may suffers z-index problems.

It is better to use "Liferay.Util.Window.getWindow()" as state in the Liferay 6.2 migration guide "https://www.liferay.com/it/documentation/liferay-portal/6.2/development/-/ai/alloyui-2-0-bootstrap-migration-liferay-portal-6-2-dev-guide-02-en"

Please apologize us for the inconvenience