How can i change the Text for Captcha Input
Permalink 2 users found helpful
Hello,
how can i change this Text?
Please type the letters and numbers shown in the image.
Best Regards
Thomas
how can i change this Text?
Please type the letters and numbers shown in the image.
Best Regards
Thomas
Yes i believe it is in the captcha helper
do you mean under /concrete/helpers/validation/captcha.php? I can't find this textstring.
Thomas
Thomas
no, it's not in the helper. It can be different for each block. Can't tell you what exactly you have to do without knowing which block you want to modify though..
If it is the guestbook, you'll find it in this file concrete\blocks\guestbook\view.php
If it is the guestbook, you'll find it in this file concrete\blocks\guestbook\view.php
thankyou, that was the right way ..
/concrete/blocks/form/controller.php.
Thomas
/concrete/blocks/form/controller.php.
Thomas
please tell me how can we change the input text that we use to be entered by the person?
also
how to change the background of text window
also
how to change the background of text window
You will have to build some CSS and apply it on that form field.
Hi. Thanks for the location of the sentence. Actually it was a laugh when after I made a portuguese form the sentence appeared! :D
I've just deleted what was between the echo:
echo(t(''));
It works fine, and since I'm trying to make a bilingual site I can add latter a sentence like "Please type the letters and numbers shown in the image." in whatever the language the form is made.
I've just deleted what was between the echo:
echo(t(''));
It works fine, and since I'm trying to make a bilingual site I can add latter a sentence like "Please type the letters and numbers shown in the image." in whatever the language the form is made.
I don't know if things were different when this thread started, but the file to change the captcha text is actually in:
concrete/models/system/captcha/types/securimage/controller.php
Hope this helps.
concrete/models/system/captcha/types/securimage/controller.php
Hope this helps.
Thanks! I needed that too.
Ubbo
The Netherlands
Ubbo
The Netherlands
..... close to what I was looking for!
I found the editable file located here where you do all the colour customising also:
\concrete\core\models\system\captcha\types\securimage\
but I'm sure thats naughty editing the core files so should I be copying the whole directory to the root folder instead?
I found the editable file located here where you do all the colour customising also:
\concrete\core\models\system\captcha\types\securimage\
but I'm sure thats naughty editing the core files so should I be copying the whole directory to the root folder instead?
Now I'm using concrete5 5.6.0.2 and I can't find where to edit the captcha text.
Would someone please advise?
Looking at this topic, it seems that the code for the captcha text changes location in every concrete5 release....
Would someone please advise?
Looking at this topic, it seems that the code for the captcha text changes location in every concrete5 release....
In 5.6.0.2 it seems to appear in:
concrete/core/models/system/captcha/types/securimage/controller.php
concrete/core/models/system/captcha/types/securimage/controller.php
I'd like to add a class to the div holding the text so I can style it for different sections in my site. Since the controller is now deep inside the concrete>core directory where would I copy the file to at the root level since there is no corresponding path? I just don't want to make the change and then sometime later have my client call telling me things have gone a-rye.
Bump bump bump... indeed. This would be a great thing to either a) have been originally developed with a class in place even if its just class="1" class="2" or b) be able to add an override so that changes are not wiped out with the next core update. Not to mention... don't mess with the core! oh, and don't mess with the core!
I have an fairly tight space that I need to fit the form and (recently with a pile of spam rolling in) a captcha block. I can do :first-of-type for the first div and monkey with the label but the last few divs are out of reach.
Is there another method in css?
What about that core override?
http://www.adamsmfg.com (click "not a fan of the phone?" in the right hand gray block.
Thanks in advance for any advise.
Chris
I have an fairly tight space that I need to fit the form and (recently with a pile of spam rolling in) a captcha block. I can do :first-of-type for the first div and monkey with the label but the last few divs are out of reach.
Is there another method in css?
What about that core override?
http://www.adamsmfg.com (click "not a fan of the phone?" in the right hand gray block.
Thanks in advance for any advise.
Chris
I was struggeling tho find where to edit this in Concrete 5.7, but I found it.
For who wants to know where to edit the text in the form of the conversation block in Concrete 5.7:
concrete/elements/conversation/message/author.php
edit the captcha text:
concrete/src/Captcha/SecureimageController.php
For who wants to know where to edit the text in the form of the conversation block in Concrete 5.7:
concrete/elements/conversation/message/author.php
edit the captcha text:
concrete/src/Captcha/SecureimageController.php
Thanks so much for this.