Re: Saving to one model while updating another

2010-12-13 Thread base64
Hi casualman you can try this function afterSave($created){ if($created){ $diary_id= $this_id; $projects = $this->Project->find('all',array('conditions'=>array('Project.id'=>$diary_id))); $price_worked = $this->price_worked;

Re: Missing table !!!

2010-09-08 Thread base64
in the model you can use var $useTable = 'table_name'; On Wed, Sep 8, 2010 at 4:34 PM, Jeremy Burns | Class Outfit < jeremybu...@classoutfit.com> wrote: > What does your model code look like? > > Jeremy Burns > *Class Outfit* > * > * > jeremybu...@classoutfit.com > http://www.classoutfit.com > >

Re: cakephp email component

2008-09-22 Thread base64
> types of SMTP server. > > The Bakery has some useful articles for using 3rd party mail > components that support encrypted SMTP > > On Sep 22, 10:35 am, Predominant <[EMAIL PROTECTED]> wrote: > > Hey base64, > > > > This message "220-We do not autho

cakephp email component

2008-09-21 Thread base64
Dear all, I'm using CakePHP Email component, when i sent email and i set smtp_errors; $this->set('smtp-errors', $this->Email->smtpError); the variable *smtp-errors* return : *220-We do not authorize the use of this system to transport unsolicited, *and my email did'not sent.* *how to solved th

Re: Global Constants

2008-05-25 Thread base64
thanx... On Mon, May 26, 2008 at 5:43 AM, 3lancer.eu <[EMAIL PROTECTED]> wrote: > > Hi, > > > I'm newbie in CakePHP framework, now iam learning cakephp 1.2, i want to > set > > global constants, where do i put the code?, > > bootstrap.php file in app/config I guess? > > Piotr > > > --~--~---

Global Constants

2008-05-25 Thread base64
Dear all I'm newbie in CakePHP framework, now iam learning cakephp 1.2, i want to set global constants, where do i put the code?, I'm sorry if my english poor Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups