Support For Joomla 3 Is Ending: Migrate To Joomla 4 HIRE ME

Arrow up
Arrow down
Forum Access (04 Jul 2019)

These forums are READ-ONLY for Guests, and only WebKomp club members can post. If you are not a member, please look at joining one of our clubs to get access to this forum.

file Banner for cookie law

8 years 2 months ago - 8 years 2 months ago #1112 by GABRIELE
I try to insert cookie banner in two different way:

1) For this first solution I see one tutorial video...
I put the file cookiechoices.js on the root, I choose "no editor" (as the tutorial video say), I create e new module and I write this code:

I put this original code and second time I try to personalized it.
I set one module position, (I try to put footer position, and after saved the module I saw that footer height has increased)i set it show in all pages, I choose "no cache" in the module setting and saved. Result I don't show anything in my web site, only increased height in the footer. But position of the banner is set on the javascript file (TOP).

2) I gone to this site:
I put the file cookiechoices.js.html in the root, I personalized the banner and they give the code to insert before the <head> (I don't konw where and How). I try to put this code in module like the instructions above in point 1 but anything appear. So I try to put this code in component/banner/new banner and YES now I look the banner on my web site.
Can this one right this solution? (component and create banner)
One question... in a video tutorial one setting is to set the cache (in a module option) in: NO. But in a banner I can't set the cache, are there any problems?
I fear that some other device or computer does not see the banner and I get penalty.

3) If I go on joom, setting options at the bottom of the page there is:
Additional Scripts
Insert your Google Analytics tracking code or any other additional scripts here. They will be added before the closing body tag in the theme.
Is it possible to add here the code?
if yes, can I add google analytics code and cookie banner code?

4) In your site, what's your solution for cookie banner? If you use a plugin, wich plugin?


  • Posts: 26

  • Gender: Unknown
  • Birthdate: Unknown
  • Attachments:
    Last edit: 8 years 2 months ago by GABRIELE.

    Please Log in to join the conversation.

    8 years 2 months ago #1115 by __Mike__
    Replied by __Mike__ on topic Banner for cookie law

    Try use existing extensions:

    WebKomp, Support

    - Please search forums before posting.
    - Chrome DevTools is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions.
    - If a thread is solved please edit your original / first post and place "[SOLVED]".

  • Posts: 1634

  • Gender: Male
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Why Choose WebKomp?

    With all the Joomla Templates and WordPress Theme providers out there, why choose us?  Here are many reasons why a WebKomp template/theme would be a good fit for your website:

    • 47+ Templates and Themes
    • We offer a 14-day money-back guarantee
    • Nice Designs - We take pride in our work and we always looking ways to improve the next template release.
    • Affordable - Our prices are low.
    • Free Support - Need help? Just contact us
    • No Backlink Required - You can shut it off in the template's admin panel.
    • Nice Framework - WebKomp templates are powered by Warp7, Helix, T4, Gantry5 intuitive, wonderful  fast, lightweight, and feature-packed frameworks.
    • Easy to Customize - The admin panel provides many useful options that can be easily tweaked from the backend, easily, change fonts, colors, presets and more.
    • Our templates are based on the open Warp 7 , Helix, T4 and Gantry 5 Framework - Refer to the official Warp documentation, T4 Framework , Helix3/Ultimate, Gantry 5, Astroid for comprehensive info about how to use and expand the frameworks.
    • Sample Data Available - Quickstart Package allow you install in few clicks theme/template, extensions/plugins and demo data, in final you get full website exactly the same like on demo.
    • Mobile Friendly - All templates on this site are now responsive, meaning they automatically adjust to any screen resolution.  
    • The Single Template/Theme(12 Months Membership) is dedicated to all customer that need only one Template/Theme for their business or private project.