Access layout HTML in controller variable

2014-10-31 Thread Jipson Thomas
HI, In my cakephp 3 project I am using mandrill API to send email campaigns. So from a controller function I am creating the html section of the email and pass it to mandrill. Is there any way that I can access the html generating by a layout in controller function and to create the html to pass

Re: Migrate Passwords

2014-10-31 Thread Dr. Tarique Sani
When users login successfully just take the password form the request data and hash it using Blowfish. Store the the new hash in a new column. Delete the simple hash for that user. Modify your login to match Blowfish as well as Simple hash for some time. Once all your users have logged in at least

Re: Conditionally set defaultConnectionName

2014-10-31 Thread José Lorenzo
The easiest way is to alias the connection: \Cake\Datasource\ConnectionManager::alias('default', 'admin'); What it does is that, when a table is created instead of passing the default connection it will pass the admin one. On Friday, October 31, 2014 1:42:42 AM UTC+1, Joe Theuerkauf wrote: > >