I am continuing to work on this as I want more than one model on my
site searchable.

It looks like the problem is occurring in the Searchable Behavior
setup function.

function setup(&$model, $settings = array()) {
                $settings = array_merge($this->_defaults, $settings);
                $this->settings[$model->name] = $settings;
                $this->model = &$model;
        }

For some reason regardless of what model I am using it always gets
returned at the Users model.  Because of this the the id will only
populate correctly when adding a User and not when adding a Post (as
there is no new Post id to return).

Since I didn't hear back from anyone, I'm guessing not many people use
this searchable behavior. But as a n00b I would still appreciate any
insight people have as to why this may be failing.

Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to