Hide the tab and add a menu link

Created on 1 December 2022, over 2 years ago
Updated 11 August 2025, 4 days ago

Hi,
I'd like this behavior : once the user makes his choice on first visit (accept / withdraw), the tab totally disappears, and it can be accessed again from a link (navigation, footer, ...).

1/ I can't find any option to hide the tab.
2/ I have checked the option below but nothing is proposed when I create a new menu link and start entering "Cookies" in link definition.

Adds a floating privacy settings tab and withdraw consent banner. This option also provides a "Cookie settings" button block and menu item suggestion in "Navigation" menu.

Thanks.

Feature request
Status

Postponed: needs info

Version

1.24

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇳🇿New Zealand atowl

    Hi @lucky723,

    Is this still an issue? Otherwise i'll close it.

    Thanks!

  • Hi @atowl,
    I still don't see any menu suggestion related to cookies when I try to create a new one. Would you check on your side and tell me the procedure please ?

    Thanks.

  • 🇳🇿New Zealand atowl

    Hi @lucky723,

    So you can try in the settings under the "Withdraw consent" for the option "Enable floating privacy settings tab and withdraw consent banner". When saved, this will bring up a button at the bottom of the page that the user can click on and reopen the cookie selection.
    Alternatively, place a link on your page somewhere with the class name "eu-cookie-withdraw-tab", this will have the same effect.

  • Hi @atowl,
    Thanks for you replies.
    Yes I did it already. But as explained in my first message, this option also says

    Adds a floating privacy settings tab and withdraw consent banner. This option also provides a "Cookie settings" button block and menu item suggestion in "Navigation" menu.

    The menu item is not proposed when I create a new one, to add in the footer for instance.
    Thanks.

  • 🇳🇿New Zealand atowl

    Hi @lucky723,

    Thanks for the description update, i see what you mean now.

    This isn't something i've done before so i had to dig dow a little to find it, but apparently in the drupal under structure->menu->tools there's a menu item it adds in there for cookie settings.

    You can then place this block in a region to your liking.

  • Ok !!!!! great I found it !
    In conclusion, for other users interested, it's not handled as usual links. You can't create a new link and define it. You must find the existing link "cookies parameters" (by default in structure>menu>tools), edit it, and change it's parent link to place it in the menu you wish.
    Seems like it's not possible to place it in 2 menus (for instance main header menu + footer).

    Thanks again @atowl for your replies and help !
    This issue can be closed then.

  • 🇳🇿New Zealand atowl

    Hi @lucky723,

    Glad you have found a solution. Our site just has a link we put on a template with the correct features. eg if you scroll to the bottom of our page and look at the "Privacy settings" link. This is just defined as
    <span class=.... eu-cookie-withdraw-tab ....">Privacy settings</span>
    Which is picked up by the main JS of the eu cookie complaince.

    Happy to have helped you out, and I'll close this issue off now.

Production build 0.71.5 2024