Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
From discussion in comment #9 in issue #2808087: Improve captcha_install(), correctly create dynamic captcha points, move static captcha points to default config
The second drupal_set_message is broken (page cache is a module now, not a setting).
Other modules don't do this either, the modules page has links to settings and help built-in.
Proposed resolution
Possibly add a link to the settings instead
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#8 | 2811777-8-8.x-1.x-dev.patch | 2.2 KB | amit.drupal |
| |||
#6 | interdiff-6.txt | 1.29 KB | Prashant.c |
#6 | 2811777-6-8.x-1.x-dev.patch | 1.61 KB | Prashant.c |
| |||
#2 | changes_2811777.png | 31.05 KB | lomasr |
#2 | 2811777_2.patch | 1.61 KB | lomasr |
|
Comments
Comment #2
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedI agree with the proposed solution . Added a patch.
Comment #3
lomasr CreditAttribution: lomasr at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedComment #4
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedI guess this is an important message, I suggest to make it bold, to take user attention on it.
Comment #5
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedComment #6
Prashant.cRe-submitting the patch by adding
<b>
tag to the returned output.Comment #7
ddrozdik CreditAttribution: ddrozdik as a volunteer commentedlooks good.
Comment #8
amit.drupal CreditAttribution: amit.drupal as a volunteer and at gai Technologies Pvt Ltd for gai Technologies Pvt Ltd commentedRe-submitting Patch #6 .
+++ b/captcha.module
+ return $output;
return render array rest looks good.
return ['#markup' => $output];
Comment #9
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedComment #10
wundo CreditAttribution: wundo at Chuva Inc. for Chuva Inc. commentedComment #13
jomik CreditAttribution: jomik commentedHi all,
when I trey to install CAPTCHA by drupal 8, I get this message:
Unable to install CAPTCHA, captcha.captcha_point.contact_message_feedback_form, captcha.captcha_point.contact_message_personal_form, captcha.captcha_point.user_login_form, captcha.captcha_point.user_pass, captcha.captcha_point.user_register_form, captcha.settings already exist in active configuration.
Can anybody help me?
Thanks in advance,
Joseph