Cookiespolicy plugin update problem

Please believe that I am absolutely sorry to bother with this issue.

especially @Sommerregen that helped me before.

[to @Sommerregen: I tried to send you a message 3 h ago… thrue this forum’s message possibility…]

You probably remember how brilliantly you solved my issue with succeeding in making the cookiespolicy multilingual… I really appreciated it, and it’s a little, but a progress for grav also.

Unfortunately, yesterday, I blindly upgraded the plugin thrue GPM from version 1.04 to 1.06 thinking that the changes you made where included in the upgrade!

And there were not.

I have made a backup before, but I don’t no how to restore it right now as there is a command for back up, but no command called restore.

[Of course, I thought I would be able BY MYSELF, to have the plugin multilingual again, but even being trying from early this morning hard did not get me to the point: I just became paranoïnac as *the plugin have been changed and is not exactly the same: I don’t understand exactly what is what and it’s a technical issue there.]

[ I thought I had the previous files that you gentely sent to me to restore the previous version, but in fact, confindent in backup system of grav, I just kept the one of the plugin directory…]

[I tried to download again the file you kindly send again from your server, but there is no target anymore (which is evident, I beg your pardon to mention it).]

[I have written to `@Giansi`, the writer of the plugin, to expose the problem of this morning: [link](https://github.com/giansi/grav-plugin-cookies-policy/issues/7). But there is no answer yet, nor to the previous issue…]

Therefore right now plugin is not working.

I would like you to agree with me to help getting this plugin completely and defenitively multilingual, that is to say ublished and present in its multilingual form in the repository under, for instance, your name and credit to @giansi.

Thank you in advance for the consideration to this request.

tidivoit ♪

@tidivoit No worry. I have a backup with the changes I made. Unfortunately I forgot to provide a PR for Cookiespolicy plugin. I will do it tomorrow. For now you can find a backup here http://sommerregen.benjamin-regler.de/Ntx4GdJE44HGduWnhAt3Lo2NKGUS00Za/cookiespolicy.zip .

See you,
Sommerregen

I just wake up ♪ sorry …
I would like to thank you again
As I finally got the modular page to work, I understood how I can use it and therefore I am now ajusting pictures, photos and so on… it is going to be great !
Downloaded is done, so it’s safe now.
I am looking foward to the PR… ♪

@Sommerregen
I would like to thank you again for your help yesterday ♪

This morning, thank to the files you gave me to download, I was able to get plugin cookiespolicy back to normal ☆

I had a look to its javascript structure: I am not a specialist, but it seems that there is plenty of things that is not needed.

I was surprised to see that this plugin does not just display a bar but can also be displayed differently.

According to the audit tool of my browser (SRWare Iron, eq. Chrome) its looks that cookiespolicy is sending things to Google… I am not quite sure about that though…
Frankly, is it a little too much for what we are asking it to do?
I mean that I don’t want to be tracked just for displaying something that aims to tell my visitors that I am tracking legally and GENTLY ! ? ! ♪ !

If you would like to make a multilingual PR of this plugin, Can I suggest also to just keep the bar display, get rid of the tracking to google also?

In a near future, I would like to be able, like you, to get along directly with php code too…

Thanks ☆

Hi @tidivoit I’ve pushed a PR with the changes. When @giansi will merge this, the plugin will be multi-language compatible.

Concerning Google request. It doesn’t have to do with the Cookies Policy plugin. What I think is more likely that your website is loading fonts from the Google servers. This is what Antimatter is doing (see here https://github.com/getgrav/grav-theme-antimatter/blob/develop/css-compiled/template.css#L1 ). Frankly you don’t need to load such a font. Any arial font does the job, too.

Thank you for answering ♪ and also for cookiespolicy PR ☆

I already disabled google fonts for the Blog part… ☆
… but not yet for the new snipcart part of the site that I just tried.
I made some question about performance.

Regarding fonts,
I have a specific issue because I display my site in japanese language and the arial font is not really nice displayed… I found a solution with a Meiryo font but then even french and english language are displayed with it…

I should find a way to change css according to the adress as japanese is always my-site/ja/something_else… but I did not get until there so far: there are so many things to do ☆ !!!

Also I would like to be able to set a few things relatively to the session cookie: for instance to have a part of the styling randomly set for a session:
on first visit,
values would be set for all pages… so that jumping for page to pages does not change the experience,
but on anonther visit, there would be a slightly different design… ♪