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
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
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
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