how to create search function.

2012-06-06 Thread madhuri yewale
Hi, I'm new in using cakephp I'm wants to create a simple search function in my application which will search a particular word in table and will disply all records related to serch word. how i can create this search function. -- Our newest site for the community: CakePHP Video Tutorials http

Re: how to create search function.

2012-06-06 Thread Chetan Patel
Hello Madhuri, Please check My blog: http://chetan4cake.blogspot.in/2012/06/search-plugin-demo-in-cakephp-20.html Thanks Chetan -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others

Re: how to create search function.

2012-06-06 Thread Nilson Pena
Chetan, This is a awesome cake blog, congratulations. Nilson On Wed, Jun 6, 2012 at 4:08 AM, Chetan Patel chetanspeed511...@gmail.comwrote: Hello Madhuri, Please check My blog: http://chetan4cake.blogspot.in/2012/06/search-plugin-demo-in-cakephp-20.html Thanks Chetan -- Our

adding a search function

2012-05-22 Thread webguy262
How do I add a search function to an existing CakePHP site I inherited? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe

Re: adding a search function

2012-05-22 Thread euromark
try https://github.com/cakedc/search Am Dienstag, 22. Mai 2012 19:35:29 UTC+2 schrieb webguy262: How do I add a search function to an existing CakePHP site I inherited? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions

Is it possible to have more than one CakeDC search function in a controller / model ?

2012-03-14 Thread Daniel
Is it possible to have more than one CakeDC search function in a controller / model? The reason I ask is because there is only one $filterArgs array in the model. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http

Search Function in PHP Excel Reader - Error

2011-08-01 Thread nilo
im using this php reader to retrieving data from xls sheet and its works well the xls sheet having 150 records. its limited to 20 records per page to show on result page .there is a search box and button to search some specific data , the search parameter giving the result from first page result

Re: Search Function in PHP Excel Reader - Error

2011-08-01 Thread Jens Dittrich
What does this have to do with CakePHP? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to

How to add search function in my e-commercial website?

2011-07-07 Thread AddOil
Dear all, I'm a beginner of CakePHP. I created an e-commercial website based on CakePHP. I'd like to add the search function to my website, which allow users to search goods. Are there any functions or open source libraries that I can use in CakePHP to do the search job? Thanks a lot! Qiang

Re: How to add search function in my e-commercial website?

2011-07-07 Thread euromark
try http://cakedc.com/downloads/view/cakephp_search_plugin On 7 Jul., 14:33, AddOil qiang.m...@gmail.com wrote: Dear all, I'm a beginner of CakePHP. I created an e-commercial website based on CakePHP. I'd like to add the search function to my website, which allow users to search goods

Re: search function results

2011-03-10 Thread Sam Bernard
What error are you getting? %20 is just a urlencoded space... it isn't an error. If you want to replace it with a space then just do your str_replace on your $url var right before $this-redirect($url);. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Re: search function results

2011-03-10 Thread chris...@yahoo.com
Thank you for your response Sam,... In fact I did that,... another version to attempt... but now I'm not getting search results, but the page is clean on URL bar,... and yes its a urlencoded space %20 here is what I have... function search($name = null) { if(!empty($this-data)) {

Re: search function results

2011-03-10 Thread cricket
On Thu, Mar 10, 2011 at 12:27 PM, chris...@yahoo.com chris...@yahoo.com wrote: Thank you for your response Sam,... In fact I did that,... another version to attempt... but now I'm not getting search results, but the page is clean on URL bar,... and yes its a urlencoded space %20 here is what

search function results

2011-03-09 Thread chris...@yahoo.com
Hi ALL, can someone help me with search function... When I have 2 or more words in search field I'm getting en error on URL bar with %20 where I'm missing str_replace(' ', '+', and don't know where to put here is what I have in my controller ... function search() { $this-paginate

RE: Search function

2011-02-25 Thread Krissy Masters
: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of MeatSandwich Sent: Thursday, February 24, 2011 3:43 PM To: CakePHP Subject: Search function Hi all, I'm new to cakephp and only know a bit of php so I'm on a steep learning curve since although I've made websites using php

Re: Search function

2011-02-25 Thread MeatSandwich
To: CakePHP Subject: Search function Hi all, I'm new to cakephp and only know a bit of php so I'm on a steep learning curve since although I've made websites using php and mysql before they were all a bit simple. I'm not looking for code here but some pointers for me so I know what to learn

Re: Search function

2011-02-25 Thread acl68
. The app I'm making will end up with lots of members and I'd like to make a search function so people can find other people easily. I've discovered searchable-behaviour-for-cakephp and hopefully that'll provide most of what I want but as another way to search rather than a text box, I'd also

Re: Search function

2011-02-25 Thread MeatSandwich
. The app I'm making will end up with lots of members and I'd like to make a search function so people can find other people easily. I've discovered searchable-behaviour-for-cakephp and hopefully that'll provide most of what I want but as another way to search rather than a text box, I'd also like

Re: Search function

2011-02-25 Thread euromark
up with lots of members and I'd like to make a search function so people can find other people easily. I've discovered searchable-behaviour-for-cakephp and hopefully that'll provide most of what I want but as another way to search rather than a text box, I'd also like to have the letters

RE: Search function

2011-02-25 Thread Krissy Masters
PM To: CakePHP Subject: Re: Search function @Krissy Masters instead of 25 single queries you could probably use a group by statement and a single query :) but nice idea, though On 25 Feb., 15:43, MeatSandwich i...@babyclothingcentral.co.uk wrote: Hey acl68, thanks for that, definitely does point

RE: Search function

2011-02-25 Thread Krissy Masters
To: CakePHP Subject: Re: Search function Hi Krissy, that sounds absolutely perfect for the alphabet part of what I want to do, thank you :) Sorry for being such a noob but could you give me a bit more detail about how to use this code. Does that all go into the users_controller at the end

Re: Search function

2011-02-25 Thread MeatSandwich
That should get you going. K @ Krissy, indeed it will. Thank you very much for taking the time. Much appreciated. I'll get stuck into this this evening :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Search function

2011-02-24 Thread MeatSandwich
of members and I'd like to make a search function so people can find other people easily. I've discovered searchable-behaviour-for-cakephp and hopefully that'll provide most of what I want but as another way to search rather than a text box, I'd also like to have the letters of the alphabet so

RE: Search function

2009-08-14 Thread Dave Maharaj :: WidePixels.com
Good point! Will look into it, but when I do a search now if I type in Mary or mary I get the same results. What would you suggest? Dave -Original Message- From: John Andersen [mailto:j.andersen...@gmail.com] Sent: August-14-09 2:45 AM To: CakePHP Subject: Re: Search function Hi

RE: Search function

2009-08-13 Thread Dave Maharaj :: WidePixels.com
LIKE '%something%' -Original Message- From: Luke [mailto:eik...@hotmail.com] Sent: August-12-09 1:45 PM To: CakePHP Subject: Re: Search function You are missing a few OR in your below text, I have tried it out and get all the needed OR, did you just keft it out below or what is the issue

Re: Search function

2009-08-13 Thread John Andersen
%' OR Post.title LIKE '%something%' OR Post.description LIKE '%something%' -Original Message- From: Luke [mailto:eik...@hotmail.com] Sent: August-12-09 1:45 PM To: CakePHP Subject: Re: Search function You are missing a few OR in your below text, I have tried it out and get all the needed

Re: Search function

2009-08-12 Thread Smelly Eddie
conditions array should get it done. The trick is formatting your array. http://book.cakephp.org/view/74/Complex-Find-Conditions On Aug 11, 8:55 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I am building a new search function for a input single field. I have the basic set

RE: Search function

2009-08-12 Thread Dave Maharaj :: WidePixels.com
LIKE '% . $value . %' OR ; for each in a loop. Ideas? Thanks, Dave -Original Message- From: John Andersen [mailto:j.andersen...@gmail.com] Sent: August-12-09 8:24 AM To: CakePHP Subject: Re: Search function As soon as you have more than one word, for which to make a search

Re: Search function

2009-08-12 Thread Luke
Hi Dave, Maybe not the nicest solution, but this should work: $i=0; // This is your counter // Now build your SQL String $sql = SELECT * FROM table; foreach ($string as $key = $value) { $value = trim($value); //strip white space befor and

RE: Search function

2009-08-12 Thread Dave Maharaj :: WidePixels.com
. %' OR Post.description LIKE '% . $value . %' ;Post.title LIKE '% . $value. %' OR Post.description LIKE '% . $value . %' ; -Original Message- From: Luke [mailto:eik...@hotmail.com] Sent: August-12-09 11:43 AM To: CakePHP Subject: Re: Search function Hi Dave, Maybe not the nicest solution

Re: Search function

2009-08-12 Thread Luke
: Search function Hi Dave, Maybe not the nicest solution, but this should work: $i=0;  // This is your counter // Now build your SQL String $sql = SELECT * FROM table; foreach ($string as $key = $value) {                         $value = trim($value);                          //strip white

Search function

2009-08-11 Thread Dave Maharaj :: WidePixels.com
I am building a new search function for a input single field. I have the basic set up running but as I move forward I want the user to be able to enter more than 1 word coma separated. How would I do this? spilt the $queryValues = $query split ',' So i now have an array of values

Search Function

2009-03-13 Thread Dave Maharaj :: WidePixels.com
Does anyone know a starting place to read up on creating a search function? I want to put the search on my POSTS controller where the search will look thru not only the POSTS but related HABTM tables. So for example if the POST article has a TAG Beauty and the person searching types in Beauty

Re: Search Function

2009-03-13 Thread Mike Cook
/articles/view/integrating-zend-framework-lucene-with-your-cake-application Hope this helps. On Mar 13, 7:15 pm, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: Does anyone know a starting place to read up on creating a search function? I want to put the search on my POSTS controller

RE: Search Function

2009-03-13 Thread Dave Maharaj :: WidePixels.com
-end('Submit'); ? -Original Message- From: Mike Cook [mailto:m...@epubbooks.com] Sent: March-13-09 4:02 PM To: CakePHP Subject: Re: Search Function Hi Dave, I've just started looking into this myself. You could try these links; http://www.assembla.com/wiki/show/searchable_behavior http

Re: Search Function

2009-03-13 Thread Miles J
You should build it into pagination. --~--~-~--~~~---~--~~ 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

Search function for application

2007-04-11 Thread szeta
Hello, I am using CakePHP in a project and would like to integrate a 'search' function. I'm not talking about a full index for the site (like htdig), but mainly a search function for specific fields. e.g. search for a person by name etc.. I'm not sure what's the best way to do this. 1

Re: Search function for application

2007-04-11 Thread digital spaghetti
'); As long as your table fields follow cake conventions you can do any findByField(), check out the API docs for more info on it Tane On 4/11/07, szeta [EMAIL PROTECTED] wrote: Hello, I am using CakePHP in a project and would like to integrate a 'search' function. I'm not talking about a full

RE: Search function for application

2007-04-11 Thread Mariano Iglesias
nombre de digital spaghetti Enviado el: Miércoles, 11 de Abril de 2007 05:23 a.m. Para: cake-php@googlegroups.com Asunto: Re: Search function for application If its a search controller, rather than in the users controller you need to make sure you delare $uses at the top of the contoller

Re: Search function for application

2007-04-11 Thread [EMAIL PROTECTED]
Abril de 2007 05:23 a.m. Para: [EMAIL PROTECTED] Asunto: Re: Search function for application If its a search controller, rather than in the users controller you need to make sure you delare $uses at the top of the contoller --~--~-~--~~~---~--~~ You received