Friday, November 15, 2013

Re: What code to put for using the CakeDC search plugin?

Finally got it working!!!

It must have been my version of Cake or something but we're in there!

Finally!

On Tuesday, December 13, 2011 5:28:16 PM UTC-5, Daniel wrote:
I want to do a search on fields in two tables, body and title fields
(in posts table) and body field (in comments table).  I have installed
the CakeDC search plugin.  In the models I have added the 'Searchable'
code:

var $actsAs = array('Containable', 'Searchable');

I am trying to follow the page on the CakeDC site:
http://cakedc.com/eng/downloads/view/cakephp_search_plugin

... but I don't understand the example.

What should I put next in the model?

Thanks.

--
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 cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: