Re: Another password question
hey i think its a good practice to empty both passwords and let the user re-enter his password. this is some sort of critical information and user must be sure what he has entered. up to you.. but if you want to preserve... firstly decide what you want to preserve the password or confirm password. in case of preserving password you should change the name of the field of password to some password1 so that it is not automatically hashed and you can hash it when need to save after validation. On Jul 14, 8:31 am, "Dave Maharaj :: WidePixels.com" wrote: > I have the confirm password working now, but if another field fails > validation the passwords entered becomes ● > ●●● in both password and confirm > , meaning the user now has to re-enter the password even if there was no > problem with the confirmation between the 2. > > I can set the fields to be empty if validation fails anywhere, but still > leaves the user entering them over again, which is not ideal > > How an it be set so they remain what the user typed? > > Thanks, > > Dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Separate admin and client views
i want to maintain two different directories for admin and client views. and want to make it themeable as well. .. any idea. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Need Suggesstion about ACL
I am using ACL in following way AROs Pattern Groups > Users ACOs Pattern All->Controllers->Actions Now if i check certain Action against certain group, the System make 4 queries at every execution. So is it useful using ACl.. Can it make any prob if the application gets heavy? Coz its seems to heat up mySql --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
ACL Component is useful or Not?
I am using ACL in following way AROs Pattern Groups > Users ACOs Pattern All->Controllers->Actions Now if i check certain Action against certain group, the System make 4 queries at every execution. So is it useful using ACl.. Can it make any prob if the application gets heavy? Coz its seems to heat up mySql --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
ACL Cache
is there any sort of caching, the acl component provides by default. and would there be any speed issue if i use acl. if so, is it possible to optimize acl. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
ACL Cache
is there any sort of caching, the acl component provides by default. and would there be any speed issue if i use acl. if so, is it possible to optimize acl. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: How to Save Configuration in Database
ya i will have to figure out the way to store and retrieve from table.. well i am doing this by creating a component. and in its constructor i load the data from database and put it in cache and check for cache next time. and a few more functions of this component like get, set, update, delete which will enable me to communicate with the data.. is there any better way.. or i am doing right On Jul 1, 4:15 pm, Paul Webster wrote: > We save sets of configuration data into a config table, and pull it > out from the db, or from cache before passing to Configure::write at > the start of the app load. > > No pre made solutions for this one! > > HTH, > > Paul. > > On Jul 1, 10:55 pm, CMNAJS wrote: > > > > > how can i manage configuration system in cakephp like in wordpress. In > > wordpress we save all the settings in database table named Options. If > > i use Configuration class, how can i manage all the settings > > separately i am doubtful about. So how should i do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to Load Model in Component
how can i load model in components.. in cakephp 1.2.x.x. should i use App::import('Model', 'modelname') ??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
How to Save Configuration in Database
how can i manage configuration system in cakephp like in wordpress. In wordpress we save all the settings in database table named Options. If i use Configuration class, how can i manage all the settings separately i am doubtful about. So how should i do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Save Configuration in Database
how can i manage configuration system in cakephp like in wordpress. In wordpress we save all the settings in database table named Options. If i use Configuration class, how can i manage all the settings separately i am doubtful about. So how should i do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Benchmarking
how can i perform benchmarking in cakephp. i had a library in codigniter to perform this but how should i do this in cakephp. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: ACL, Auth, and terminology.
That makes things bit clear.. But Why we need roles and groups both? Isn't either of them is enough.. and fulfill the requirement.. As We can have users under groups in AROs and assign certain ACOs to a group so that the usres of that group have access to those ACOs.. What you think?? And I am a bit worried about the management of all this... Any idea for simplicity --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Validation Rules Implementation Sequence
Hello geeks.. what about the implementation of validation rules... whether the first defined rule is implemented first or the last is implemented first. In more fields i got the last to be implemented to be first but in few there is no sequence.. Any idea?? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---