Nov

26

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

Comments

Name (required)

Email (required)

Website

Speak your mind

Sponsors




Links