Hi,
I've checked again and found no custom code to explain this.
The buttons are positionned reject-agree-withdraw and "visually-hidden" class is applied to reject or withdraw depending what you click.
Here is the HTML when withdraw is selected and agree button on the right :
<div id="popup-buttons" class="eu-cookie-compliance-buttons eu-cookie-compliance-has-categories">
<button type="button" class="eu-cookie-compliance-default-button eu-cookie-compliance-reject-button" tabindex="0">Tout rejeter</button>
<button type="button" class="agree-button eu-cookie-compliance-default-button" tabindex="0">Tout accepter</button>
<button type="button" class="eu-cookie-withdraw-button visually-hidden" tabindex="0">Tout refuser</button>
</div>
I copy here the settings export in case it would be due to a parameter (I've made several tests but could not find any) :
_core:
default_config_hash: EspchZru2hYTTeNNAnTw2uWwT-mjJ46KrM5XEVHJzS0
langcode: fr
dependencies:
config:
- filter.format.html_ultra
- filter.format.full_html
uuid: f5b6d259-c917-49b3-b51a-051f3f3e864e
popup_enabled: true
popup_clicking_confirmation: false
popup_scrolling_confirmation: false
eu_only: false
eu_only_js: false
popup_position: false
fixed_top_position: true
popup_info:
value: "<h2>Ce site utilise des cookies pour améliorer votre navigation.</h2>\r\n\r\n<p>En cliquant sur \"Tout accepter\", vous acceptez l'utilisation de ces cookies.</p>\r\n"
format: full_html
mobile_popup_info:
value: ''
format: html_ultra
popup_info_template: new
popup_agree_button_message: Accepter
popup_more_info_button_message: 'En savoir plus'
mobile_breakpoint: 768
popup_agreed_enabled: false
popup_hide_agreed: false
disagree_button_label: 'Je refuse'
popup_agreed:
value: "<h2>Merci d'avoir accepté les cookies</h2><p>Vous pouvez désormais masquer ce message ou en apprendre plus à propos des cookies.</p>"
format: full_html
popup_find_more_button_message: 'En savoir plus'
popup_hide_button_message: Hide
popup_link: /politique-de-protection-des-donnees-personnelles-de-lancv
popup_link_new_window: true
popup_height: null
popup_width: 100%
popup_delay: 1000
show_more_info: true
popup_bg_hex: e8f4f8
popup_text_hex: 003f7d
domain: ''
domains_option: 0
domains_list: ''
exclude_paths: ''
exclude_admin_theme: false
cookie_session: 0
set_cookie_session_zero_on_disagree: 0
cookie_lifetime: 10
use_mobile_message: false
use_bare_css: false
use_olivero_css: false
disagree_do_not_show_popup: false
reload_page: true
reload_options: 0
reload_routes_list: ''
cookie_name: Cookies
exclude_uid_1: false
better_support_for_screen_readers: true
method: categories
disabled_javascripts: ''
automatic_cookies_removal: true
allowed_cookies: "cookies_de_statistique:_gid\r\ncookies_de_statistique:_gat_UA-48827688-1\r\ncookies_de_statistique:_gat_gtag_UA_48827688_1\r\ncookies_de_statistique:_ga\r\ncookies_de_statistique:_ga_B0CGR52T91\r\ncookies_publicitaires:__troRUID\r\ncookies_publicitaires:__trossion\r\ncookies_publicitaires:RUID\r\ncookies_de_statistique:ar_debug\r\ncookies_fonctionnels:has_js\r\ncookies_publicitaires:_fbp"
consent_storage_method: basic
withdraw_message:
value: "<h2>Nous utilisons des cookies sur ce site pour améliorer votre expérience d'utilisateur.</h2><p>Vous avez consenti à l'ajout de cookies.</p>"
format: full_html
withdraw_tab_button_label: 'Gestion cookies'
withdraw_action_button_label: 'Tout refuser'
withdraw_enabled: true
withdraw_button_on_info_popup: true
save_preferences_button_label: 'Sauvegarder les préférences'
accept_all_categories_button_label: 'Tout accepter'
enable_save_preferences_button: true
domain_all_sites: true
settings_tab_enabled: true
containing_element: body
cookie_policy_version: 1.0.0
cookie_value_disagreed: '0'
cookie_value_agreed_show_thank_you: '1'
cookie_value_agreed: '2'
accessibility_focus: true
close_button_action: close_banner
reject_button_label: 'Tout rejeter'
reject_button_enabled: true
close_button_enabled: false
I can also tell you the url of my site so you can check by your own, but I don't know if it's permitted by rules here.
Thanks.
lucky723 → created an issue.
Sorry for Metadata, I only added a comment, don't know why it changed back the category ans status, seems like it keeps the ones of original request. This time I ensure it remains as you set it up ;)
Well, my home page is the one by default /node
I assume I should use a content instead. I'll explore this way.
Thanks a lot for your answers.
Sorry I don't get it.
I think the home page is expected to have a last modification date in sitemap.xml file. Am I right with this ?
If so, how can I do it with standard Drupal and/or module settings ? (I mean not changing the code)
The blocks embedded in the home page are setup to be indexed in sitemap. What else should I do ?
Thanks in advance for you help and advises.
lucky723 → created an issue.
I've found where the problem is.
When you check "Include a reset button", some new choices appear, including "Always show reset button".
If you check "Always show reset button" but then you uncheck "Include a reset button", the value "reset_button_always_show" remains TRUE.
In the previous version "reset_button_always_show" turned to FALSE if you uncheck "Include a reset button".
Thanks.
Indeed, I have a second View. I've deactivated the reset button and it doesn't appear anymore (expected behavior). BEF setup are the same.
In the export of each view I find :
View with error : reset_button_always_show: true
View without error : reset_button_always_show: false
Would it help if I post the export of the View ?
Lucky723 → created an issue.
Hi,
Thanks a lot for taking it.
Does it mean it will be included in the next update ? If so, do you about when the next version should be available ? (I don't know how to add it in my custom theme).