Is your version different than the CakeDC version? The readme looks exactly the same.
CoderDJ412 On Friday, June 15, 2012 4:08:11 AM UTC-4, euromark wrote: > > try this one: > https://github.com/dereuromark/search<https://www.google.com/url?q=https%3A%2F%2Fgithub.com%2Fdereuromark%2Fsearch&sa=D&sntz=1&usg=AFQjCNFXx3wLOL6ZnMqqbpOpqx_xLzlvUA> > > > it can handle multiple fields across models for a like term etc > > 'field' => array('Primary.field', 'Secondary.other_field') > > > Am Freitag, 15. Juni 2012 00:06:03 UTC+2 schrieb Bob Bowen: >> >> Is there any way to make this work? As I understand it you have to >> enable Search.Searchable in the $actsAs, and define $filterArgs for each >> Model, then add Search.Prg to $components and define $presetVars in the >> Controller. >> >> Then in your .ctp file you put something like this: >> >> echo $this->Form->create('MyModel', array('url' => >> array_merge(array('action' => 'find'), $this->params['pass']))); >> echo $this->Form->input('search', array('div' => false)); >> echo $this->Form->submit(__('Search', true), array('div' => false)); >> echo $this->Form->end(); >> >> But this allows you to search in one Model at a time. Is there any way to >> define a search form with one search field and have it look in various >> fields within various Models? >> >> Thanks >> Bob >> > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
