Jump to content
vekia

[FREE MODULE] European Union Cookie Law Block responsive 1.7 1.6 1.5 1.4

Recommended Posts

hello

in this case it's necessary to increase z-index param for whole cookie info block

for example z-index:999999;

Share this post


Link to post
Share on other sites

hello

in this case it's necessary to increase z-index param for whole cookie info block

for example z-index:999999;

Hi Vekia

 

I changed the z-index param in the file: top.tpl to 999999. But it had no effect. I cleared smarty cache and did force compile, but nothing happened - Zopim is still on top and makes it impossible to close the cookie window.

 

Should I set it higher to a higher value or?

 

I appreciate your advice.

 

Best regards

 

Thomas

Edited by thokip (see edit history)

Share this post


Link to post
Share on other sites

Hi Vekia

 

I changed the z-index param in the file: top.tpl to 999999. But it had no effect. I cleared smarty cache and did force compile, but nothing happened - Zopim is still on top and makes it impossible to close the cookie window.

 

Should I set it higher to a higher value or?

 

I appreciate your advice.

 

Best regards

 

Thomas

can you share url? i will inspect it

Share this post


Link to post
Share on other sites

Hi Vekia

 

Thanks for sharing this module with the community. So far it seems to be working perfectly. Exactly what I was looking for. I spent a full day this week trying to tweak another module without success and then I found yours which worked out of the box. 

 

Many thanks for the work

Share this post


Link to post
Share on other sites

Hi Vekia

 

Thanks for sharing this module with the community. So far it seems to be working perfectly. Exactly what I was looking for. I spent a full day this week trying to tweak another module without success and then I found yours which worked out of the box. 

 

Many thanks for the work

 

thank you for your nice words,

i want to update this addon with some new features.

if you've got any suggestions related to this module - just let me know

i will implement new functions immediately :)

  • Like 1

Share this post


Link to post
Share on other sites

Hi Vekia

 

I do have one thought.

 

I have been testing a support module called videodesk and there are quite a few others as well, zopim etc. They always pop up in the lower right corner. I think a quite common problem could be that the cookie module ends up behind the chat module, at least that is what happened in my case with videodesk. The cookie Accept button is almost not visible since the other module is on top.

 

Is it maybe possible to add a manual z index setting or something, allowing the shop to force the cookie module to go on top if needed? In the default mode, this never has to change but in our case it might make sense?

  • Like 1

Share this post


Link to post
Share on other sites

ok thank you for your suggestion

module will be updated ASAP :)

Share this post


Link to post
Share on other sites

Hi Vekia

 

That sound great. Thanks.

 

I have a problem though. The cookie accept question keeps coming back after some time. Is there a timeout setting that is very short or something else thats failing. 

 

I have tested it on 3 different computers, all of them are using Chrome and at some point when I come back to a computer where I know I have accepted the cookie law, the question is there again. I have not cleared the cache or anything like that.

 

I would expect the Accept to be valid for a year or something, do you have any idea on what might be wrong?

Share this post


Link to post
Share on other sites

now module hasn't got feature to define the time to remember cookie.

it is coded inside top.tpl file

<script>
{literal}
    function setcook() {
        var nazwa = 'cookie_ue';
        var wartosc = '1';
        var expire = new Date();
        expire.setMonth(expire.getMonth()+12);
        document.cookie = nazwa + "=" + escape(wartosc) + ((expire==null)?"" : ("; expires=" + expire.toGMTString()))
    }
{/literal}
</script>

i mean this part:
 

expire.setMonth(expire.getMonth()+12);

browser will remember cookie for one year (12 months)

you can increase this limit, for example to 24 monts

Share this post


Link to post
Share on other sites

Hi Vekia

 

1 year is fine, no problem. I am just pretty sure that it pops up occasionally anyway, even if it has been accepted and the cache is not emptied. I will test some more the coming days and see.

Share this post


Link to post
Share on other sites

Hi

 

Will you please help me?

 

I have installed your module, and it's hooked to the footer (test.stickersshoppen.dk). But the issue is that my footer is seperated in 4 parts. Your module is only showing in 25% of the total width. Is it possible to change that so it will apear in 100% width?

 

Best regards 

Ronni

Share this post


Link to post
Share on other sites

autumn.css - at the very end of the file paste this:

div#cookieNotice {
    width:100%!important;
}

Share this post


Link to post
Share on other sites

 

autumn.css - at the very end of the file paste this:

div#cookieNotice {
    width:100%!important;
}

Thanks alot.

 

It works perfekt.

Share this post


Link to post
Share on other sites

you're very welcome

if you've got any kind of suggestions related to this module

feel free to write

 

with regards

Milos

Share this post


Link to post
Share on other sites

you're very welcome

if you've got any kind of suggestions related to this module

feel free to write

 

with regards

Milos

 

My theme is responsive. So can i do a simular change so it will work og small screens?

Now it only works on desktop versions.

 

Regards 

Ronni

Share this post


Link to post
Share on other sites

sure you can,

paste the same code at the end of this file:

http://www.test.stickersshoppen.dk/themes/autumn/css/responsive.css

 

Perfect, that works to :-)

 

My last question:

I have 2 language in my shop. Is it possible to use the module for both language? At the moment I can only change the default language (danish)

 

Best regards

Ronni

Share this post


Link to post
Share on other sites

hello yes module supports language

near the content filed you should have got possibility to change langue, ahve you got this feature? can you verify please?

 

xQTXZGe.png

Share this post


Link to post
Share on other sites

hello yes module supports language

near the content filed you should have got possibility to change langue, ahve you got this feature? can you verify please?

 

xQTXZGe.png

It works fine. I just had the danish flag and thought that I neded all of them. I didn't push the flag :-) When I do, they are all there.

 

Thanks again.

Share this post


Link to post
Share on other sites

Hi Vekia,

 

First of all thanks once again for a beautiful free module!

 

I do however have a small problem. I can't select the language at all in the module configuration like above. I don't even see the default flag so the text doesn't save.. Do you have any idea on how I can fix this? 

 

Thanks!

 

Best regards,

 

Jasper

 

 

Update: I've fixed the text problem by hardcoding the text in the top.tpl, however the complete cookiebar is partialy behind content wrapper. I've tried to set (almost all) of the divs op z-index 999999(+), but it doesn't help. 

Any ideas?

 

Update 2: It doesn't seem to hook on top.. How can I fix that?

 

Thanks!

Edited by Dampers (see edit history)

Share this post


Link to post
Share on other sites

new version released!

- module works with prestashop 1.6 now

- fixed problems with hiding notification bar

Share this post


Link to post
Share on other sites

Hi Vekia,

 

I've installed the new version but the problem still persists. When I unhook the module from the footer the entire cookiebar doesn't show anymore. However,in the backoffice it's hooked to top (even tried header aswell by editing the uecookie.php)

 

Any ideas?

 

Thanks

Share this post


Link to post
Share on other sites

you can't unhook module from footer. for what purposes you want to unhook them from this section? 

this module uses this hook to work. it's necessary.

Share this post


Link to post
Share on other sites

Hi Vekia,

 

The code in total needs to be in the beginning of my sourcecode, else everything will overlay (almost) the entire bar.

 

I had hardcoded it in the header.tpl, which actually did make the bar on top. However when I go to a different page the bar comes back again and again and again. 

 

So it though, What if I unhook it from the footer so it'll be forced to hook on top of everything else, but that obviously didn't work also  :P

 

Do you have any idea on how to make it on top (I've tried everything else aswell like the z-index !important etc.)

 

Thanks in advance!

Share this post


Link to post
Share on other sites

you're very welcome ;) 

may i know where you use it? 

Share this post


Link to post
Share on other sites

thank you for url, im always so curious where my modules are used

Now i see that in Croatia :) i remember holidays in Croatia with ... Croatian honey rakija ;)

Share this post


Link to post
Share on other sites

thank you for url, im always so curious where my modules are used

Now i see that in Croatia :) i remember holidays in Croatia with ... Croatian honey rakija ;)

 Well, from 01.07.2013. we are in European union so we have to follow EU law :rolleyes:.

Ooo yes rakija rules  :)

Share this post


Link to post
Share on other sites

new version released!

- module works with prestashop 1.6 now

- fixed problems with hiding notification bar

Uh when I upload on 1.6.0.4 nothing happens..

Share this post


Link to post
Share on other sites

Uh when I upload on 1.6.0.4 nothing happens..

TyBXMpF.png

 

+

 

gzWK3ZL.png

 

 

 

and finally front office:

 

WsYK7QM.png

 

 

 

 

make sure that your host supports file_get_contents function.

Share this post


Link to post
Share on other sites

you're welcome :) glad to hear that you use it and it works as you expected.

In addition i just want to inform that after the weekend i will release new version :)

  • Like 1

Share this post


Link to post
Share on other sites

Hello, i have a problem with this plugin. 

 

I've installa on my website but not function. If you go to s.it you show the block cookies for a fiew second (look the attachment). Why? How can i resolve?

Edited by warriorwoman (see edit history)

Share this post


Link to post
Share on other sites

at the moment i don't see the cookie bar,

even in the page source

it is disabled?

Share this post


Link to post
Share on other sites

Hello guys. I've tried everything to change 'close' translation button for this module without success. Please take a look for my site

 

Also the label "close" does not appear on module translation section. 

 

Regards,

 

Keylen Jaimes

 

 

Share this post


Link to post
Share on other sites

Hola Vekia,

 

No consigo ver el módulo en hilodetrapo.com (PS 1.6.0.6).

 

Me comenta la persona que controla el hosting que aparece un error vinculado a la versión:

 

"e=uecookie&tab_module=others"

i que en la línea 110 parece que no contemple al v1.6: "if ($this->psversion()==4 || $this->psversion()==5)"

 

 

¿Sabes algo? Muchas gracias de antemano, saludos!

 

 

Oriol

Share this post


Link to post
Share on other sites

qué versión del módulo se utiliza?

Share this post


Link to post
Share on other sites

Hola de nuevo vekia,

 

 

Me decía que la 1.3.0, aunque viendo tu comentario, he eliminado el módulo e instalado de nuevo y ahora funciona.

 

Gracias de nuevo por todo, recibe un saludo!

 

 

 

Oriol

Share this post


Link to post
Share on other sites

thank you for information

now please continue discussion in english (we are in english section)

thanks in advance,

Milos

Share this post


Link to post
Share on other sites

I apologize to everyone, sorry I didn't realized about being in the English section.

 

Summarizing:

I had problems about the module not showing. It appear to be the last version, but not. Solved by deleting and reinstalling the modules.

 

Works perfect! Thanks for your splendid work vekia

Share this post


Link to post
Share on other sites

Hello.

 

Thank you for this module.

 

I have a little problem. When somebody come again on my website, this message appers again.

 

Can you help me please?

 

Module version: 1.3.0

PS: 1.5.6.1

 

Link: http://ceao-bijoux.ro

 

Vekia: Also, another problem (with grid/list view): http://www.prestashop.com/forums/topic/290792-tutorial-grid-list-mini-list-products-view-switcher/page-3   see my message please, is the last one

 

Thank you!

Share this post


Link to post
Share on other sites

can you test something? disable temporarily ccc for js files

will see whats going on then

Share this post


Link to post
Share on other sites

new version released!

- module contains extended tinymce editor in prestashop 1.6

  • Like 1

Share this post


Link to post
Share on other sites

Sorry! My fault! it was a problem with the languages! Now all works fine! Thank you!!

_______________________________

 

Hello!, I have installed this module and it works very well, excepts on my iphone...the module appears, the button "close" appears, but the message is not visible...I only see the banner and the button, but not the text. This happens only in my iphone, (ipad works well)...

 

Can you help me with this? 

 

I use PrestaShop™ 1.5.6.2

 

thank you!

Edited by caffaratti (see edit history)

Share this post


Link to post
Share on other sites

glad to hear that it was not module fault :) thank you for choosing my free addon

with regards,

Milos

Share this post


Link to post
Share on other sites

Everything is working fine now. Seems to be a problem with SSL certificate.

 

Thank you very much for this module.

Share this post


Link to post
Share on other sites

Everything is working fine now. Seems to be a problem with SSL certificate.

 

Thank you very much for this module.

 

what is your problem with ssl?

Share this post


Link to post
Share on other sites

With SSL activated, that message ( we are using cookies...) appears every time when somebody visit my website, even he already closed that message.

Share this post


Link to post
Share on other sites
Nice module, although my graphic designer is of the opinion that the Close button should be flush with the cart. 

 

Could you even install a "Show More" button, which refers to a CMS page? Just as Google is currently implementing ...

Share this post


Link to post
Share on other sites

 

 

Could you even install a "Show More" button, which refers to a CMS page?

You can do that right now.

 

Just put a link for words "Show more" with you cms page.

 

Have a look at my website.

 

I've made this modification just for you to see what I am talking about. Tell me when can I change it back

 

Site: http://mywallbed.co.uk

  • Like 1

Share this post


Link to post
Share on other sites

Hola vekia.

 

Gracias por tu módulo. ¿Cómo puedo hacer que la barra del módulo sea más estrecha, de menor altura?.

Thanks for your module. How I can make the module bar be narrower, lower height?

 

Saludos.

Share this post


Link to post
Share on other sites

Hola.

 

Ya lo he resuelto es en top.tpl, linea 84, padding: 10px, cambiar el nº. Lo pongo por si a alguien más le viene bien.

I have already solved, is in top.tpl, line 84, padding: 10px, change the number. I put it, in case someone else come it well.

 

Saludos.

Share this post


Link to post
Share on other sites

I know this is strange after reading the older responses (people wants to prevent advise from appearing every time someone enters to the website) but i want the opposite, i want to force this message to appear every time someone enters the site, even if he closed it. This is 'cause my lawyer told me to. How can i do that?

 

Thanks you very much!

Share this post


Link to post
Share on other sites

I know this is strange after reading the older responses (people wants to prevent advise from appearing every time someone enters to the website) but i want the opposite, i want to force this message to appear every time someone enters the site, even if he closed it. This is 'cause my lawyer told me to. How can i do that?

 

Thanks you very much!

 

 

open module .php file and change

	public function hookFooter($params){
		if (!isset($_COOKIE['cookie_ue'])){
		    $var=$this->getconf();
            global $smarty;
		    $smarty->assign('vareu', $var);
            if ($this->psversion()==5){
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $this->context->language->id)
				));
			} else {
				global $cookie;
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $cookie->id_lang)
				));	
			}
			return $this->display(__FILE__, 'top.tpl');
		}
	}

to:

	public function hookFooter($params){
		    $var=$this->getconf();
            global $smarty;
		    $smarty->assign('vareu', $var);
            if ($this->psversion()==5){
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $this->context->language->id)
				));
			} else {
				global $cookie;
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $cookie->id_lang)
				));	
			}
			return $this->display(__FILE__, 'top.tpl');
	
	}
  • Like 2

Share this post


Link to post
Share on other sites

Hi,

 

how can i make it to hide it's self after some time (or pageviews)?

 

For example if a customer browse 5 pages or after 5 minutes.

 

Thank you,

 

PS. This EU Cookie module is the best and the only i like to stay with!

Share this post


Link to post
Share on other sites

 

open module .php file and change

	public function hookFooter($params){
		if (!isset($_COOKIE['cookie_ue'])){
		    $var=$this->getconf();
            global $smarty;
		    $smarty->assign('vareu', $var);
            if ($this->psversion()==5){
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $this->context->language->id)
				));
			} else {
				global $cookie;
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $cookie->id_lang)
				));	
			}
			return $this->display(__FILE__, 'top.tpl');
		}
	}

to:

	public function hookFooter($params){
		    $var=$this->getconf();
            global $smarty;
		    $smarty->assign('vareu', $var);
            if ($this->psversion()==5){
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $this->context->language->id)
				));
			} else {
				global $cookie;
				$smarty->assign(array(
					'uecookie' => $message = Configuration::get('uecookie_text', $cookie->id_lang)
				));	
			}
			return $this->display(__FILE__, 'top.tpl');
	
	}

 

 

Thank you very much Vekia! It works perfectly :)

Share this post


Link to post
Share on other sites

thank you, your italian translation will be added tommorow morning to official package

thank you so much for your contributeion

Share this post


Link to post
Share on other sites

Hi, Thank you for the module. It's great ! Much better than the one I got in my theme package.

 

One question. Can I change the Close button to say something else ? Like 'accept' ? Any code file I can edit to do that ?

 

Many thanks !

Share this post


Link to post
Share on other sites

Hi, Thank you for the module. It's great ! Much better than the one I got in my theme package.

 

One question. Can I change the Close button to say something else ? Like 'accept' ? Any code file I can edit to do that ?

 

Many thanks !

 

yes you can.

localization > translations 

from first dropdown select installed modules translations

from second your theme

then click on language you want to change

 

then search for translation fields related to uecookie module

then just translate "close" to any other thing you want

Share this post


Link to post
Share on other sites

Hi, I got request to help me solve a problem with appearing message at every opened page, even if the close button was closed. I have even reinstalled the module and updated to last version 1.3.1.  Shop is installed on  PrestaShop 1.5.4.0 engine.

Problem: Even if the user click the close button, going to any other link makes the box about cookies appears every time.

 

What more - I am just making some tweaks and fixes and I dont know what previous admins changed in the code or what modifiactions were introduced.

 

Please, can you guide me how to fix it or what to change to make it work .......

 

Thanks in advance, Have  nice evening.

Share this post


Link to post
Share on other sites

new version released

- updated translations

Share this post


Link to post
Share on other sites

new version released

- updated translations

 

Surprising ... 
I sent you a French translation because the one proposed was not "correct", but you have ignored it. 
I have done something wrong?

Share this post


Link to post
Share on other sites

noo i attached it :( you haven't got this in your version ? 

Share this post


Link to post
Share on other sites

noo i attached it :( you haven't got this in your version ? 

 

No, he is not there :wacko:

Share this post


Link to post
Share on other sites

I've updated the version but I always say that it is the old one.

Share this post


Link to post
Share on other sites

new version released 1.3.3

updated translations, fixed problem with information about new version

Share this post


Link to post
Share on other sites

new version released 1.3.3

updated translations, fixed problem with information about new version

 

It's ok, thanks !

Share this post


Link to post
Share on other sites

Hi Vekia,

 

the module is not working on Opera browsers. "I accept" button is dead, you cannot shut the warning screen.

 

Best regards

Conny

Share this post


Link to post
Share on other sites

Hi Vekia,

 

the module is not working on Opera browsers. "I accept" button is dead, you cannot shut the warning screen.

 

Best regards

Conny

 

opera test:

Share this post


Link to post
Share on other sites

opera test:

Well your screen is of PS 1.5. On PS 1.6. not working. Please check here: lusadesign.de.  Only adaptation made is the height of button (css) to have the whole text in it.

Share this post


Link to post
Share on other sites

hello

check this:

 

time 1:45, safari test in 1.6

Share this post


Link to post
Share on other sites

Hey, I love your module!!!

 

But I have a small question, how can I change the height of the block? I also don't know how to program, so pls explain where and how I can change this. THX!!!

 

Will definitely buy some modules from your shop.

Share this post


Link to post
Share on other sites

you can do it with css styles

are you familiar with customizing colors / sizes via css ?

Share this post


Link to post
Share on other sites

you can do it with css styles

are you familiar with customizing colors / sizes via css ?

 

Hey,

 

No not really. But if can say what part of the file I need to adjust, I can do it myself.

Share this post


Link to post
Share on other sites

Hey,

 

No not really. But if can say what part of the file I need to adjust, I can do it myself.

 

share url to your website

i will write what file to change and where (everything depends on theme that you use, ps version and in some cases also on other theme-related stuff - this is why i need to inspect it)

Share this post


Link to post
Share on other sites