Jump to content

3waccess

Member
  • Posts

    1
  • Joined

  • Last visited

About 3waccess

3waccess's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. Bonjour, Voici une solution pour ceux qui chercheraient à intégrer une barre Cookie sur leur homepage (frontage thème whmcs) Adaptez ce script selon vos besoins. Si cela peut aider quelqu'un ********************************* Hi, Here a soluce for add cookie bar on the front page (homepage) for your WHMCS Theme. Change info at yours needs Hope this help ********************************* Ajoutez ce code juste avant la balise </head> de votre fichier header.tpl de votre thème WHMCS ou du fichier header que vous utilisez: Add this code just before the balise </head> into the header.tpl file of your theme or into another header file you use: <link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" /> <script*src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script> <script> window.addEventListener("load", function(){ window.cookieconsent.initialise({ "palette": { "popup": { "background": "#252e39" }, "button": { "background": "#14a7d0" } }, "theme": "edgeless", "type": "opt-out", "content": { "message": "Agree with cookie ?", "dismiss": "Ok", "deny": "Refuser", "link": "More infos", "href": "/cgv.php" } })}); </script> Vous pouvez adapter directement ce script sur le site internet de l'éditeur ici : You can change design of this script directly on the editor's website here : Enjoy !
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated