Nov
26
Cook up Web sites fast with CakePHP knownusers.thtml
November 26, 2008 |
If you are a reader of Cook up Web sites fast with CakePHP published on IBM, you may find the following line from part 1 of the tutorial:
Replace the contents of knownusers.thtml with the following.
So what the heck is this knowusers.thtml? It’s mentioned nowhere else in the book. Actually it should be knownusers.ctp.
In CakePHP 1.1, .thtml is the extension for view template files, in CakePHP 1.2, it’s changed to .ctp. This tutorial was published sometime ago, in this republished one, the author may forgot to change the syntax.
Hope this helps! :)
Similar Posts
- CakePHP - the right syntax to use near ‘generateList’
- CakePHP Solution for Could not open input file: acl.php
- Cook up Web sites fast with CakePHP MySQL Syntax Problem
- CakePHP Solution for Warning: Cannot modify header information - headers already sent
- Cook up Web sites fast with CakePHP ACL Problem
- Cook up Web sites fast with CakePHP - Invalid Login
- CakePHP acl delete aro Correct Systax


































