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 wrote: > 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

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

how to create search function.

2012-06-05 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 Tutor

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 Que

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

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

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 cake

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 on

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 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

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 "s

Re: search function results

2011-03-10 Thread cricket
On Thu, Mar 10, 2011 at 12:27 PM, 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 I have... >

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 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 Ch

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 control

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 http

RE: Search function

2011-02-25 Thread Krissy Masters
; $selected ),false); else: $output .= $letter; That should get you going. K -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of MeatSandwich Sent: Friday, February 25, 2011 8:2

RE: Search function

2011-02-25 Thread Krissy Masters
y, February 25, 2011 1:29 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 wrote: > Hey acl68, thanks for that, de

Re: Search function

2011-02-25 Thread euromark
    echo utf8_decode ( ''.$value.'');} > > > echo ''; > > ?> > > > In Javascript a dropdown is easier to handle than checkboxes, as you might > > know, but they should also work. > > > Hoep that example helps > > > Anja &

Re: Search function

2011-02-25 Thread MeatSandwich
> know, but they should also work. > > Hoep that example helps > > Anja > > Am Donnerstag, 24. Februar 2011, um 20:13:03 schrieb MeatSandwich: > > > Hi all, > > > I'm new to cakephp and only know a bit of php so I'm on a steep > > learning curve

Re: Search function

2011-02-25 Thread acl68
a dropdown is easier to handle than checkboxes, as you might know, but they should also work. Hoep that example helps Anja Am Donnerstag, 24. Februar 2011, um 20:13:03 schrieb MeatSandwich: > Hi all, > > I'm new to cakephp and only know a bit of php so I'm on a steep > lea

Re: Search function

2011-02-25 Thread MeatSandwich
t; 1 // C has a record > > ___ > Each array key represents the numeric count of the letter(offset by 1) > 0 => A > 1 => B > > 25 => Z > > Hope that gets you started. > > K > > -Original Message- > From: cake-php@go

RE: Search function

2011-02-25 Thread Krissy Masters
Each array key represents the numeric count of the letter(offset by 1) 0 => A 1 => B 25 => Z Hope that gets you started. K -Original Message- From: cake-php@googlegroups.com [mailto:cake-php@googlegroups.com] On Behalf Of MeatSandwich Sent: Thursday

Search function

2011-02-24 Thread MeatSandwich
ing 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

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 John Andersen
               $q = $this->find('all', $params); > >                  return $q; > >           } > > Pass the $sql to the conditions and I end up with > Post.title LIKE '%mary%' OR Post.description LIKE '%mary%' OR Post.title > LIKE '%t

RE: Search function

2009-08-13 Thread Dave Maharaj :: WidePixels.com
'%mary%' OR Post.description LIKE '%mary%' OR Post.title LIKE '%test%' OR Post.description LIKE '%test%' OR Post.title LIKE '%something%' OR Post.description LIKE '%something%' -Original Message- From: Luke [mailto:eik...@hotmail

Re: Search function

2009-08-12 Thread Luke
;;"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: S

RE: Search function

2009-08-12 Thread Dave Maharaj :: WidePixels.com
ue. "%' OR Post.description LIKE '%" . $value . "%' ";"Post.title LIKE '%" . $value. "%' OR Post.description LIKE '%" . $value . "%' ";"Post.title LIKE '%" . $value. "%' OR Post.description LIKE

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
ieve has to go but I cant figure out how to add to the "Post.title LIKE '%" . $value . "%' OR Post.description LIKE '%" . $value . "%' OR "; for each in a loop. Ideas? Thanks, Dave -Original Message- From: John Andersen [mailto:j.andersen..

Re: Search function

2009-08-12 Thread John Andersen
itions > > > On Aug 11, 8:55 pm, "Dave Maharaj :: WidePixels.com" > > > wrote: > > > 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

Re: Search function

2009-08-12 Thread Smelly Eddie
ions 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" > > > > wrote: > > I am building a new search function for a input

Re: Search function

2009-08-11 Thread JamesF
some fancy combos 'LIKE' and 'OR' in your find 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" wrote: > I am building a new s

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 v

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 cake-

RE: Search Function

2009-03-13 Thread Dave Maharaj :: WidePixels.com
e just started looking into this myself. You could try these links; http://www.assembla.com/wiki/show/searchable_behavior http://thechaw.com/cakebook/source/plugins/searchable http://bakery.cakephp.org/articles/view/search-feature-to-cakephp-blog-examp le http://bakery.cakephp.org/articles/view

Re: Search Function

2009-03-13 Thread Mike Cook
p.org/articles/view/integrating-zend-framework-lucene-with-your-cake-application Hope this helps. On Mar 13, 7:15 pm, "Dave Maharaj :: 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 PO

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

Re: Search function for application

2007-04-11 Thread [EMAIL PROTECTED]
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre > de digital spaghetti > Enviado el: Miércoles, 11 de Abril de 2007 05:23 a.m. > Para: [EMAIL PROTECTED] > Asunto: Re: Search function for application > > If its a search controller, rather

RE: Search function for application

2007-04-11 Thread Mariano Iglesias
D] En 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 cont

Re: Search function for application

2007-04-11 Thread digital spaghetti
ses at the top of the contoller $uses = array('User'); 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

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 th