您应该不要,因为它适用于Symfony 1.0,并且您正在使用Symfony 1.4.相反,您可以看到sfDoctrineGuardPlugin如何处理其重置密码系统(指向模块文件夹的链接,但还要查看表单和模型文件夹).I want to add a Reset Password option for my User login module. So I've followed Askeet Tutorial (symfony 1.0).But I'm getting errors when I click forgot password it redirect to "Password request Action" with this error:Why am I getting erros for those keywords? Is that mean those are not compatible with my symfony version (i'm using symfony 1.4, tutorial is for symfony 1.0)OR Can any one suggest me any other way to develop this (without using a plugin) ? 解决方案 These keywords are related to the old form system of Symfony 1.0. Since Symfony 1.2, there is no more a FormHelper wich containt all its helper (input_tag, textarea_tag, etc ..) because they are now called widget (sfWidgetFormInput, sfWidgetFormTextarea, etc ..).You should NOT follow this tutorial since it's for Symfony 1.0 and you are using Symfony 1.4.Instead, you can see how sfDoctrineGuardPlugin handle its reset password system (the link point to the module folder, but take also a look into form and model folders). 这篇关于如何在Symfony 1.4中重置密码? (不使用插件)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-04 21:07