Hi jarthel,
please did you find the answer to the first question, i want me to to
change the place of the error msg (required, invalid), i want to
replace them far from the form
i searched in a lot of class and files and i didn't find them
best regards
On Sep 3, 2:09 am, jarthel
you're in luck!
$form['fieldname_here']-renderError(). It returns a string. not empty
= error. You need to use widgets to create the form tags (input,
textarea and etc) or else it wouldn't work.
On Sep 4, 6:12 pm, sweetgirl ezziani.cha...@gmail.com wrote:
Hi jarthel,
please did you find the
In answer to your second question.
Towards the end of the sfGuard doc there is a section regarding this.
Cut and paste from there: (http://www.symfony-project.org/plugins/
sfGuardPlugin)
You can change the redirect values in app.yml:
all:
sf_guard_plugin:
success_signin_url:
new questions please :)
I want to change the validation. username uses sfValidatorString. I
want to use sfCallbackValidator. Do I need to edit the original class
or do I need to create my own?
thank you
--~--~-~--~~~---~--~~
You received this message because you
I need to use a custom validators because the username can be either
username or an email address. If the user supplied an email address, I
need to check if the email address supplied is valid.
I have created 4 files which I have mentioned below.
my custom validator (usernameChecker) throws an
You have a typo in your template.
$applicatonName is missing an i.
On Sep 2, 12:42 am, jarthel jart...@gmail.com wrote:
also, there's a topic about Customize the sfGuardUser model. It
seems I can make changes to the schema.yml for user profiles. Does
that mean I need to also make appropriate
doh!
thank you! :D
On Sep 2, 9:16 pm, pcummins patwcumm...@gmail.com wrote:
You have a typo in your template.
$applicatonName is missing an i.
On Sep 2, 12:42 am, jarthel jart...@gmail.com wrote:
also, there's a topic about Customize the sfGuardUser model. It
seems I can make changes
more questions please :)
1. how do I display validation errors in custom template? I was able
to find the source of the default signinSuccess.php but it's unclear
on what to include in my template. I believe the default form uses
this class = sfGuardFormSignin.class.php.
2. How do I tell
also, there's a topic about Customize the sfGuardUser model. It
seems I can make changes to the schema.yml for user profiles. Does
that mean I need to also make appropriate changes to my DB?
thanks again
--~--~-~--~~~---~--~~
You received this message because you