Bugger,
I always get that one wrong, I obviously don't use it enough...
On Mar 11, 8:05 pm, mscdex msc...@gmail.com wrote:
On Mar 10, 7:32 am, Walther waltherl...@gmail.com wrote:
Just add in your model:
var $table = false;
Close, it's actually $useTable.
As per your direction, i have used this code in model:
class contact extends AppModel
{
var $name = 'Contact';
var $table = false;
}
and this code in controller:
class ContactsController extends AppController
{
var $name = 'Contacts';
var $components = array('RequestHandler');
var $helpers =
On Mar 12, 2:21 am, kaushik kaushikwo...@gmail.com wrote:
var $table = false;
As previously noted, it should be $useTable and not $table.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to
On Thu, Mar 12, 2009 at 3:21 AM, mscdex msc...@gmail.com wrote:
On Mar 12, 2:21 am, kaushik kaushikwo...@gmail.com wrote:
var $table = false;
Also, make the c in contact uppercase::
class Contact extends AppModel
--~--~-~--~~~---~--~~
You received this
Check out Jonathan Snook's article:
http://snook.ca/archives/cakephp/contact_form_cakephp/
On Mar 10, 8:10 am, kaushik kaushikwo...@gmail.com wrote:
I am going to develop a section in a site, where there is no database
operation. Only there will a form and a mail will fire on submit of
the
On Mar 10, 7:32 am, Walther waltherl...@gmail.com wrote:
Just add in your model:
var $table = false;
Close, it's actually $useTable.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this
Just add in your model:
var $table = false;
That will tell cake that there is no table associated with that model.
On Mar 10, 10:10 am, kaushik kaushikwo...@gmail.com wrote:
I am going to develop a section in a site, where there is no database
operation. Only there will a form and a mail
by the way, for those that need a contact form these are my views:
---
views/contacts/index.ctp