I am sorry @Anybody it is a complaint. I am new to Drupal and its extremely frustrating that features you expect to be standard in 2024 are just not there, or so hard to implement, or just do not work. I tried another extension just now, Simple ReCaptcha, it has V3 support. It does't work for me! I am not familiar enough with Drupal hooks and modules to do it myself, but I have created my own bespoke PHP form with Google ReCaptcha in a few hours. Less that I take to try and debug simple recaptcha. But thats not drupal, so not sure what I need to do for Drupal. Its just very frustrating especially after seeing this was raised 7 years ago.
Due to no other solution I can find, I will use v2 captcha on this for now. I do think v2 checkbox is more reliable in my experience anyway, just does not look as good.
One good thing from this though... I am very happy someone has replied to me! I have posted issues on many other extensions and no one ever replies. I often wonder if this website is even used! So now I know it is, and thank you for replying!
I found one issue, but this does not solve it...
The webform ID is contact_us
But when I dump the form_id passed to your code it's:
webform_submission_contact_us_block_content_4_add_form
So that's incorrect, you should be using the actual ID showing in the URL and the form ID called. Its in the $form array passed as "webform_id" but looks like you are using form_id.
I notice if I am logged in as admin it does not work.
So I logged out, and now I can see the relevant JS code and other HTML on the page for it, BUT, the V2 checkbox still does not appear. When I submit the form I get the error:
There was an error during validation of your form submission, please try to reload the page and submit form again.
If I switch to V3 I can see the badge, but the form submits OK. How can I know its implementing ReCaptcha when V2 is not working? I cant trust it.
Thanks
amityweb → created an issue.
Why is this so hard and so long to do? Why is it a patch? Come on guys this isn't rocket science
amityweb → created an issue.
@DamienMcKenna CKEditor Media Resize module does not allow to freely resize images, it is forcing to a set of default image styles your plugin creates, even if I have disabled using image styles in Media settings.
Another related issue: https://www.drupal.org/project/ckeditor_media_resize/issues/3458166 🐛 Cannot set exact width height Active
+1
DamienMcKenna → credited amityweb → .
The ONLy way I can get meta data to display is using this tag:
{{ page.attached }}
There is ZERO information about this online. There is ZERO information about what tag to use in the theme to add the code, only head_title for the tag.
If Drupal is supposed to magically add the meta information like descriptions, then it was not for me. In my template there is no tag to output it. So does that mean Drupal does some sort of find and replace to inject it? Which really is not good anyway.
Using {{ page.attached }} for me outputs all the correct extra META tags now. The strange thing is, even though I added that tag AFTER my tag, the code is added above it which is very strange and annoying.
amityweb → created an issue.
Once i manually download and install dompurify into the correct libraries folder, I get a new error. A 404:
jquery.min.js?v=3.7.1:2
GET https://mysite.com/autocompletion_callbacks_nodes%3A%3Anodes_autocomplet... 404 (Not Found)
amityweb → created an issue.
Still occurs 13 years later
amityweb → created an issue.
amityweb → created an issue.
amityweb → created an issue.
Sorry I know this is old but I could not help myself, its probably the oldest page I have ever read thinking it could help me until I noticed the date...
I searched for "drupal 10" custom post type on page. I always put the quotes around "drupal 10" because drupal is probably one the worse search term to find the most recent and relevant content!!!
19 years!!!!!!!!!!!!!!!