In my controller I have...
function index()
{
return $this-set('data', $this-Enquiry-findAll());
}
In my view (template/index.thtml) I have..
?php echo $this-renderElement('index',
Thanks, that's very interesting.
Can you tell me once called, how do you link the view back to it's
controller.
At the moment I get
Fatal error: Call to a member function on a non-object in
/app/views/elements/tasks/index.thtml on line 9
the file index.thtml i'm calling from being in
Thank you very much for your reply, I have been reading it closely and
try to apply it to my work, however I have found myself stuck in the
same rut.
My problem is really very simply but I've tried everything and can get
a solution. All I need is to populate a field in my appointments form
with
Hi, I've read that you can automatically generate an email after saving
a form like below...
function afterSave()
{
// mail me when a new bookmark is added
mail('[EMAIL PROTECTED]', 'Bookmark saved to database');
return true;
But what im