overriding concrete/authentication/concrete/form.php
Permalink
Hi Everyone
First of all, a huge compliment to the core developers. You did a great job with c5-5.7!!
Now, my problem:
I'd like to do a simple change on the login-form.
From:
to
I tried to copy the form to the application/authentication folder, but no success.
Thx for helping
First of all, a huge compliment to the core developers. You did a great job with c5-5.7!!
Now, my problem:
I'd like to do a simple change on the login-form.
From:
<input name="uName" class="form-control col-sm-12" placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : t('Username')?>" />
to
<input type="text" name="uName" class="form-control col-sm-12" placeholder="<?php echo Config::get('concrete.user.registration.email_registration') ? t('Email Address') : t('Username')?>" />
I tried to copy the form to the application/authentication folder, but no success.
Thx for helping
hi,
have you also tried to do that in a package? If that did work for you I would be very interested in your solution.
Thanks
Lars
have you also tried to do that in a package? If that did work for you I would be very interested in your solution.
Thanks
Lars
I would be interested as well in a solution for this.
Hi
No I didn't try overriding core classes in a package, sry
No I didn't try overriding core classes in a package, sry
This didn't work for me, I did exactly what you've said you've done, moved form.php to application/authentication/concrete and change one line of text in the file. It didn't work. If anyone has any thoughts please share as at the moment the only way I can change what I need to in my application is to edit the core which is a bit of a longer term issue for my project.
What are your cache settings? Did you empty the cache?
Some core classes may be designed not to be overridden in packages.
The following link has an explanation of why something like this would be in place.
https://www.concrete5.org/community/forums/customizing_c5/how-to-cus...
The following link has an explanation of why something like this would be in place.
https://www.concrete5.org/community/forums/customizing_c5/how-to-cus...
The overriding folder isn't
application/authentication
Sry for wasting some bytes ;-)