Re: cakephp requirements question

2010-10-26 Thread wrdevos
Hi, try setting the Apache settings for your webroot (var/www/ cakephp) to allowOverride All in /etc/apache2/sites-available/000- default, by default or you virtual host file if present. Using mod rewrite from the built in htaccess files in Cake requires this. On Oct 24, 10:46 pm, amarradi wrot

Re: date fields

2010-09-29 Thread wrdevos
Or you might just use PHP to do it: echo date('l, d-m-Y', strtotime($this->data['Model']['date_field'])); Further reading: http://php.net/manual/en/function.date.php http://www.php.net/manual/en/function.strtotime.php ~wrdevos On Sep 29, 4:50 pm, "Mike K

Re: Issue getting deeper info

2010-09-29 Thread wrdevos
Hi Michael, take a look at the Containable behavior: http://book.cakephp.org/view/1323/Containable That should fix your problems easy enough. ~wrdevos On Sep 30, 4:02 am, Michael Gaiser wrote: > Might this have anything to do with it using the tree behavior? > On Sep 29, 2010 7

How do I write $this->render() to a variable?

2010-05-18 Thread wrdevos
Hi, I have a mail layout, and two mail views (text and html). From my controller I can render emails just fine with these three, BUT I want to store the rendered emails in my mail queue in the database. Therefore I would like to *grab* the rendered result and put it into a variable before I write