Re: Email Component and Model

2010-06-16 Thread Andrei Mita
Thanks. Will do. On Wed, Jun 16, 2010 at 5:21 PM, Dr. Loboto wrote: > Your should rename model. > > On Jun 16, 7:39 pm, Andrei Mita wrote: > > How can I rename the E-mail component? > > > > > > > > On Wed, Jun 16, 2010 at 3:26 PM, jodator wrote: > > > I had the same issue ;) Fastest: rename m

Re: Email Component and Model

2010-06-16 Thread Dr. Loboto
Your should rename model. On Jun 16, 7:39 pm, Andrei Mita wrote: > How can I rename the E-mail component? > > > > On Wed, Jun 16, 2010 at 3:26 PM, jodator wrote: > > I had the same issue ;) Fastest: rename model or component. > > > Or you could try use email model in controller like this (I havn

Re: Email Component and Model

2010-06-16 Thread Andrei Mita
How can I rename the E-mail component? On Wed, Jun 16, 2010 at 3:26 PM, jodator wrote: > I had the same issue ;) Fastest: rename model or component. > > Or you could try use email model in controller like this (I havn't > tested it before): > > $uses = array('MyOtherModel'); > > ... > function

Re: Email Component and Model

2010-06-16 Thread jodator
I had the same issue ;) Fastest: rename model or component. Or you could try use email model in controller like this (I havn't tested it before): $uses = array('MyOtherModel'); ... function mail_me($id) { $emailModel = ClassRegistry::init('Model'); $emailField = $emailModel->find('email', array(

Email Component and Model

2010-06-16 Thread Andrei Mita
Hello, I have a model Email that conflicts with the component when I try to send emails. I have researched the group and saw that other people had the same issue but did not find a solution. Is there a standard way to deal with the problem or do I have to rename my model, controller and view folde