Re: User management and authentication plugin for CakePHP 2
Hi!
On Saturday, July 21, 2012 11:23:52 AM UTC+2, Piotr Beschel wrote:
If i'm right u can use echo __('some text') in your email views.
Yes, but that is inefficient. You'd have to split the text in small chunks (length limits!) and translate them through the .po files. I'd rather have texts in different languages and have the system pick up one. There is only a couple of variables and the rest is, well, just text in a particular language.
My tip for you: Do not repeat yourself! Write a private function __blockRobots(){end call it when you need it in other actions like:
A long overdue action and not only there. I will. Thanks a lot!
Albert
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home