Unable to set parent_id = id in add or edit actions in self assoc model

2013-03-21 Thread mk
Hi I posted a question on stack overflow that I was hoping someone here could help me figure out. (should have probably posted here first...). Anyway I am having some issues trying to save (both add & edit) into a parent_id column in a Model that I have setup as a self association. Basically I

Re: Self Association parent_id doesn't display in view drop down

2013-03-20 Thread mk
perfect... thanks. I knew it would be something simple after spending too many hours trying everything but that, On Wednesday, March 20, 2013 2:24:07 AM UTC-5, AD7six wrote: > > $parentItems -> $parents > > AD > > On Wednesday, 20 March 2013 03:28:09 UTC+1, mk wrote: >&

Self Association parent_id doesn't display in view drop down

2013-03-19 Thread mk
Hi I am having some trouble getting a self association parent_id to show up in the scaffolding drop down list of a view. I have the following baked add action in my controller public function add() { if ($this->request->is('post')) { $this->Item->create(); if

Extending Plugin Question - location of new controllers/models/views

2013-01-10 Thread mk
Hi I’m using the cakedc users plugin in my app and have it working well. I’d like to extend it now and I have read through the readme “How to extend the plugin” https://github.com/CakeDC/users#how-to-extend-the-plugin, where they give example controller called AppUsersController and model c

Re: Displayfield from plugin not used from main app

2013-01-04 Thread mk
ey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '' ) Thanks again for your help. On Thursday, January 3, 2013 8:58:34 PM UTC-6, cricket wrote: > >

Re: Displayfield from plugin not used from main app

2013-01-03 Thread mk
UTC-6, cricket wrote: > > On Thu, Jan 3, 2013 at 5:14 PM, mk > > wrote: > > Hi, > > > > I'm using the CakeDC Users plugin and have it working, however when I > access > > it from a View in the main app, it is showing only the user id rath

Displayfield from plugin not used from main app

2013-01-03 Thread mk
Hi, I'm using the CakeDC Users plugin and have it working, however when I access it from a View in the main app, it is showing only the user id rather than the displayfield = 'username'; Plugin User Model contains public $displayField = 'username'; Main App View (add.ctp) Contains ech

Re: CakeDC User Plugin not sending verification email

2012-07-10 Thread mk
> Just to close loop on this... This is resolved, I was not calling correct > config from my email.php. once I added > > ->config('smtp') > > it worked... > > Thanks again > > On Monday, July 9, 2012 8:04:26 PM UTC-5, mk wrote: >> >> Thank

Re: CakeDC User Plugin not sending verification email

2012-07-10 Thread mk
Just to close loop on this... This is resolved, I was not calling correct config from my email.php. once I added ->config('smtp') it worked... Thanks again On Monday, July 9, 2012 8:04:26 PM UTC-5, mk wrote: > > Thanks for the reply... I will review my email.php again and

Re: CakeDC User Plugin not sending verification email

2012-07-09 Thread mk
Thanks for the reply... I will review my email.php again and hope to find my error. thanks again mk On Monday, July 9, 2012 6:25:48 PM UTC-5, sams wrote: > > Your email cfg is incorrect with your app - see Config/email.php > > - S > On 9 Jul 2012 23:45, "mk" wrote: &g

Re: CakeDC User Plugin not sending verification email

2012-07-09 Thread mk
5:03:32 PM UTC-5, cricket wrote: > > I don't see an error message, just the stacktrace. > > Is this a typo? Configure::wrote (should be write) > > On Mon, Jul 9, 2012 at 4:34 PM, mk wrote: > > Hi > > > > > > > > I’m trying to implemen

Re: Save then FindAll misses recently saved?

2007-01-24 Thread mk
most recent addition to the database. On Jan 24, 2:13 pm, "mk" wrote: > My problem is pretty simple. I add a new item to the database via the > model->save() method. I then try to retrieve the full list of items > including the one that I just saved via model->fin

Save then FindAll misses recently saved?

2007-01-24 Thread mk
My problem is pretty simple. I add a new item to the database via the model->save() method. I then try to retrieve the full list of items including the one that I just saved via model->findall() so I can make an ajax update. The first time I add something, the add is made in the database, but t