CAKEDC Search i want use search with and/or connectors

2015-08-19 Thread kostali hassan
i want search by competence forexample $data['competences'] =java+oracle,sql then the method of the request competence must know java is first oracle is second and sql is third. favorite i want search by competence forexample $data['competences'] =java+oracle,sql th

Re: Result of function search is very large

2015-06-29 Thread euromark
Looks to me as if you could have done the same thing properly (not using session but PRG pattern) and with 3 lines of code using https://github.com/CakeDC/search mark Am Montag, 29. Juni 2015 10:30:50 UTC+2 schrieb Eb ook: > > Hello all, > > Result of function search is ve

Result of function search is very large

2015-06-29 Thread Eb ook
Hello all, Result of function search is very large, It sometime is wrong. Can you help me to fix it. This is source this function. public function find(){ $this->layout = 'listimage'; $this->set('title_for_layout', __('Search Results', tru

Re: cakephp search

2015-06-18 Thread euromark
You need to be more precise. Mark Am Donnerstag, 18. Juni 2015 10:17:17 UTC+2 schrieb SURYA PANDEY: > > *how to create search system using database in cake php.. plz suggest > me* > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter

cakephp search

2015-06-18 Thread SURYA PANDEY
*how to create search system using database in cake php.. plz suggest me* -- 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 u

Cakephp Search Plugin problem

2015-06-13 Thread B Solana
I hope you can help me. I've done all steps like here "http://stackoverflow.com/questions/10590199/cakephp-basic-help-to-use-cakedc-search-plugin"; but the searcher doesn't anything. My project is about one User's List and I want to filter for the fields &#x

Search a foreign key - crud

2015-06-02 Thread Elton Antunes
records, that's using a drop down list isn't a viable option. I was thinking in the user press a button, then open a modal window. This new window would have a grid, with search options (for filtering the data) and the user would choose one, and go back to the original form, bring

Re: I need some help with CakeDC Search

2015-06-02 Thread Christian Quispe
Hola También hablo español. Cuentame exactamente que no funciona Saludos Enviado desde Gmail para Android en Moto G www.oxicode.io El jun. 1, 2015 4:57 AM, "euromark" escribió: > See http://sandbox3.dereuromark.de/sandbox/search-examples and the code > to it for example. >

Re: I need some help with CakeDC Search

2015-06-01 Thread euromark
See http://sandbox3.dereuromark.de/sandbox/search-examples and the code to it for example. Am Sonntag, 31. Mai 2015 23:39:15 UTC+2 schrieb Jekill CR: > > > *I need some help with CakeDC Search i configured the plugin with the > instructions and nothing happens.* > > Only sh

I need some help with CakeDC Search

2015-05-31 Thread Jekill CR
*I need some help with CakeDC Search i configured the plugin with the instructions and nothing happens.* Only show the text of the search on the Web Browser search input. Please if someone have a working configuration and can share with me. thanks in advance! I need the most simple

Re: Index View with search filter option on Cake PHP 3

2015-05-17 Thread Yasser
thanks! this work perfect El viernes, 1 de agosto de 2014, 0:28:27 (UTC-4), Dakota escribió: > > Hi Jipson. > > I'm the one who migrated the search plugin to cake3. It has not been > updated to the New structure yet, so you need to use ./plugins/Search in > composer

Dynamically set $filterArgs array (search plugin)

2015-05-15 Thread Patrick Breiter
Hi all I am offering my customers the ability to create customer specific input fields and try to make them searchable with the search <https://github.com/CakeDC/search> plugin. I do not have any problem by creating static search condition in the $filterArgs array. In order to suppo

Re: Retrieving data from different models on passing different parameters in cakephp for advance search feature

2015-04-04 Thread John Andersen
Please provide more details on what you are trying to do! Guessing - Is this what you are asking about? You have a database with several tables and you want to search any field in any table for the parameters and return the id (or more info) of the rows in which the parameters are found. Enjoy

Retrieving data from different models on passing different parameters in cakephp for advance search feature

2015-04-03 Thread Apoorva Purohit
I have made code with all data through different models but data based on ids is not relevant. What to do? -- 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 "CakeP

Re: how can i return to page with same search filters

2015-02-19 Thread euromark
Trust me, it is easier than what you are trying to do :) And only 1-2 lines of code and it works out of the box. Am Donnerstag, 19. Februar 2015 23:18:56 UTC+1 schrieb ajt: > > I had a look it and it looks difficult to use. > NOt sure if this is the best way to go and where is a complete example

Re: how can i return to page with same search filters

2015-02-19 Thread ajt
I had a look it and it looks difficult to use. NOt sure if this is the best way to go and where is a complete example and ability to go back to the page? This doesnt really help -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You rece

Re: how can i return to page with same search filters

2015-02-19 Thread euromark
IMO you shouldnt reinvent the wheel (with design flaws in it), but re-use best practice approaches via plugin form that have been working for many years with ease: https://github.com/CakeDC/search is the de facto standard for easy filtering of your paginated data Mark Am Donnerstag, 19

how can i return to page with same search filters

2015-02-19 Thread ajt
Hi, In cakephp I can add search filters and change the post vars into Get as below. This works fine. My problem is how do go to another page found from the list of searches and return to the same page? All search filters are gone when i return as I am not storing them. eg I search for

Re: How to associate 3 models (or structure a search) to achieve the following structure (Cake 2.x)

2014-12-22 Thread Chris
will identify the customer for things like invoicing etc. CustomerAddress would store the addresses of the coffee shops. CustomerContact would store details of people who work for Starbucks. Using my first example, you could search for contacts at a particular address maybe for an email ale

Re: How to associate 3 models (or structure a search) to achieve the following structure (Cake 2.x)

2014-12-22 Thread John Andersen
> relationships get a little complicated. I have 3 models, Customer, > CustomerAddress and CustomerContact. A customer can have many addresses, > and many contacts, but the contacts are also based at one address so an > address has many contacts. > > The end result I'm tryi

How to associate 3 models (or structure a search) to achieve the following structure (Cake 2.x)

2014-12-21 Thread Chris
tacts, but the contacts are also based at one address so an address has many contacts. The end result I'm trying to achieve is to be able to search the data both ways, e.g. Customer -> Address 1 -> Contact 1 Contact 2

Re: CakeDC Search plugin find in hasmany

2014-11-17 Thread Salines
Solved, // @Model Order 'order_date' => array( 'type' => 'subquery', 'method' => 'orderDate', 'field' => 'User.id' ), public function orderDate($data = array()) { } -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received t

CakeDC Search plugin find in hasmany

2014-11-17 Thread Salines
Hi, can someone show me how it looks correct $filterArgs settings if I need to search data in hasmany related model. example, User hasMany Orders. User model: public $filterArgs = array( 'id' => array( 'type' => 'value' ), 'name' => arr

Re: Index View with search filter option on Cake PHP 3

2014-08-01 Thread Jipson Thomas
cakephp 3? Thank you very much for your time and the help. Regards, Jipson On Friday, 1 August 2014 05:28:27 UTC+1, Dakota wrote: > > Hi Jipson. > > I'm the one who migrated the search plugin to cake3. It has not been > updated to the New structure yet, so you need to use ./plug

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread Dakota
Hi Jipson. I'm the one who migrated the search plugin to cake3. It has not been updated to the New structure yet, so you need to use ./plugins/Search in composer.json -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread Jipson Thomas
UTC+2, Jipson Thomas wrote: >>>> >>>> Hi Euromark & Stephen >>>> >>>> Thank you very much. But on loading the plugin I am getting an error as >>>> following. >>>> *Error: * *Search.PrgComponent* could not be found. >>>> *Er

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread José Lorenzo
t; following. >>> *Error: * *Search.PrgComponent* could not be found. >>> *Error: * Create the class *PrgComponent* below in file: >>> /Applications/XAMPP/xamppfiles/htdocs/ >>> prms.panovus.com/public_html/plugins/Search//Controller/Component/PrgComponent.php &g

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread Jipson Thomas
t; Thank you very much. But on loading the plugin I am getting an error as >> following. >> *Error: * *Search.PrgComponent* could not be found. >> *Error: * Create the class *PrgComponent* below in file: >> /Applications/XAMPP/xamppfiles/htdocs/ >> prms.panovus.com/pub

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread José Lorenzo
as > following. > *Error: * *Search.PrgComponent* could not be found. > *Error: * Create the class *PrgComponent* below in file: > /Applications/XAMPP/xamppfiles/htdocs/ > prms.panovus.com/public_html/plugins/Search//Controller/Component/PrgComponent.php > > Actually I have the

Re: Index View with search filter option on Cake PHP 3

2014-07-31 Thread Jipson Thomas
Hi Euromark & Stephen Thank you very much. But on loading the plugin I am getting an error as following. *Error: * *Search.PrgComponent* could not be found. *Error: * Create the class *PrgComponent* below in file: /Applications/XAMPP/xamppfiles/htdocs/prms.panovus.com/public_html/plugins/Se

Re: Index View with search filter option on Cake PHP 3

2014-07-30 Thread Stephen S
My mistake, I overlooked this was for CakePHP3 (it has been a long day), please disregard my comment. On 30 July 2014 18:12, euromark wrote: > Look into the cake3 branch of https://github.com/CakeDC/search/tree/3.0 > > > Am Mittwoch, 30. Juli 2014 17:34:01 UTC+2 schrieb Jipson Tho

Re: Index View with search filter option on Cake PHP 3

2014-07-30 Thread euromark
Look into the cake3 branch of https://github.com/CakeDC/search/tree/3.0 Am Mittwoch, 30. Juli 2014 17:34:01 UTC+2 schrieb Jipson Thomas: > > Hi, > Would you please let me know whether cakephp3 have an option for search > filters on index view. > Regards, > Jipson > --

Re: Index View with search filter option on Cake PHP 3

2014-07-30 Thread Stephen S
ice but something you will have to attempt yourself and then ask more specific questions if you get stuck, not something that is included as a full feature by default. HTH, Stephen On 30 July 2014 16:34, Jipson Thomas wrote: > Hi, > Would you please let me know whether cakephp3 have an

Index View with search filter option on Cake PHP 3

2014-07-30 Thread Jipson Thomas
Hi, Would you please let me know whether cakephp3 have an option for search filters on index view. Regards, Jipson -- 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

Re: Search Plugin Problem (?)

2014-05-23 Thread Hungle
echo $this->Paginator->numbers(array('separator' => ' ')); > echo $this->Paginator->next(' 次へ >', array(), null, array('class'=> > 'next disabled')); > echo $this->Paginator->last(' 最後のページへ', array(

Search Plugin Problem (?)

2014-05-23 Thread 山本広樹
-- Database Error *Error: *SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n

Re: How to integrate Apache Lucene search engine with cakephp 2.x

2014-04-22 Thread José Lorenzo
I would strongly suggest using ElasticSearch. It is the easiest way of integrating lucene in any project. On Tuesday, April 22, 2014 6:11:19 AM UTC+2, Pawan Kumar wrote: > > I want to integrate *Apache Lucene Search engine* with *cakephp*, here > is the link for Apache Lucene sera

How to integrate Apache Lucene search engine with cakephp 2.x

2014-04-22 Thread Pawan Kumar
I want to integrate *Apache Lucene Search engine* with *cakephp*, here is the link for Apache Lucene serach engine http://lucene.apache.org/core/ -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

CakeDC Search $filterArgs

2013-11-25 Thread Charles Blackwell
Can someone explain to me the filterArgs property? Is it like a pre-search filter? Am I restricting what users can search for? -- 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

Re: CakeDC Search plugin for CakePhp 2.0, multiple models

2013-11-22 Thread Charles Blackwell
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%2

Re: CakeDC Search plugin for CakePhp 2.0, multiple models

2013-11-22 Thread Charles Blackwell
s: > > class Article extends AppModel { > public $filterArgs = array( > 'enhanced_search' => array('type' => 'like', 'field' => > array('Article.name', 'OtherModel.name')) > } > } > > But what is not e

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

2013-11-15 Thread Charles Blackwell
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

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

2013-11-15 Thread Charles Blackwell
#x27;, $this->Paginator->paginate()); } //View code echo $this->Form->create('Venue', array( 'url' => array_merge(array('action' => 'find'), $this->params['pass']) )); echo $this->Form->input('name', ar

CakeDC Search: Filter Method

2013-11-15 Thread Charles Blackwell
Do I need to add a filter method for the search plugin to work? -- 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

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

2013-11-15 Thread euromark
Did you follow the readme? You need to be more specific when you ask a question - ideally including what you already tried so far. Am Freitag, 15. November 2013 05:32:13 UTC+1 schrieb Charles Blackwell: > > Do you need a create a search function of some sort to get it to work? I > am

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

2013-11-14 Thread Charles Blackwell
Do you need a create a search function of some sort to get it to work? I am stuck on how to get it working. On Tuesday, December 13, 2011 6:51:30 PM UTC-5, Daniel wrote: > > OK, forget it, I got a basic search up and running now. > -- Like Us on FaceBook https://www.facebook.com/Cak

Re: CAKEPHP can not bake a search in view ?

2013-10-25 Thread euromark
See https://github.com/CakeDC/search for solid search functionality Doesn't need to be baked (even though it can easily be added to your custom bake templates), you can just add it afterwards. Am Donnerstag, 24. Oktober 2013 11:12:40 UTC+2 schrieb Trần Michael: > > Hi Expert,

Re: CAKEPHP can not bake a search in view ?

2013-10-25 Thread Anja Liebermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Michael, other as index, add, edit a search is more complex. I have been building search methods and forms since I started with cake and in most cases they get quite complicated very soon, because in most cases your users not only want to perform

CAKEPHP can not bake a search in view ?

2013-10-25 Thread Trần Michael
Hi Expert, Why new version, we can not bake a view that have search module ? it's dufficult to make it ? . I hope new version CAKEPHP can have it. Thks your time. I am a newbie. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---

Re: Records search using CakeDC/search

2013-09-26 Thread cakenewb
_quote`, `Book`.`imprint`, `Book`.`publisher`, `Book`.`pub_status`, `Book`.`pub_date`, `Book`.`height`, `Book`.`width`, `Book`.`url`, `Book`.`extras` FROM `titles`.`books` AS `Book` WHERE 1 = 1LIMIT 20 The weird thing is that when I debug the search action line: debug($this->paginate[

Re: Records search using CakeDC/search

2013-09-26 Thread cakenewb
> > wrote: > >> I've made the amendment to the code but still the result are same. no >> search result produced and i notice there is warning on top of the page say: >> >> Notice (8): Indirect modification of overloaded property >> PatientsController::$

Simple search working but not in an intended way

2013-09-15 Thread Yssa
Hi guys, I would like to ask for guidance :) I just started using cakephp yesterday. So I'm still on the learning process. So yeah, I have this search action. It's working (at least it's what I think). But when I press the search button, no matter what I input, the action outpu

i18n Search for string in multiple translations

2013-09-03 Thread aka
Hi there, Im trying to set up a search function for a multilingual website. I'm using cake's (2.2) translation behavior and my translated fields are saved in a separate table (for example: I18n__titleTranslation) Now i would like to search these records and their translations but the

Re: CakeDC search plugin issue

2013-07-22 Thread euromark
ontag, 22. Juli 2013 06:38:53 UTC+2 schrieb Asyraf Wahi Anuar: > > Hi, > > CakePHP version: 2.3.6 > > i try to implement the CakeDC search function by add this code to my > controller: > > class QuestionsController extends AppController { > public $paginate = ar

CakeDC search plugin issue

2013-07-21 Thread Asyraf Wahi Anuar
Hi, CakePHP version: 2.3.6 i try to implement the CakeDC search function by add this code to my controller: class QuestionsController extends AppController { public $paginate = array(); //create array for record page public $components = array('Search.Prg'); public $presetV

Re: One page with Search/Edit/Add and Delete Buttons

2013-06-20 Thread Eric Haskins
the controller etc Eric On Thursday, June 20, 2013 8:04:03 AM UTC-4, Mahdi Miad wrote: > > Hi all, > I am new in CakePHP, I developed some applications before and now I need > to create my application same as before but with cakePHP, so what I need is > one page with add,edit,s

One page with Search/Edit/Add and Delete Buttons

2013-06-20 Thread Mahdi Miad
Hi all, I am new in CakePHP, I developed some applications before and now I need to create my application same as before but with cakePHP, so what I need is one page with add,edit,search and delete button, if I click on search button I need to call search method and edit button with edit method

Re: search by field

2013-05-17 Thread Jeremy Burns | Class Outfit
$this->find('all', array('conditions' => array('descripcion' => > $descripcion))); > } > > > and controller ProductosController.php > ---- > public function show() { >

search by field

2013-05-17 Thread Victor Daniel Ojeda
and controller ProductosController.php public function show() { $descripcion = $this->request->data['Producto']['search']; $prod = $this->Producto->getProducto($descripcion); $this->set(compact(&

Re: Problem with Pagination of search results

2013-04-30 Thread Lilit
That's perfect! thanks again! -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714707.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find

Re: Problem with Pagination of search results

2013-04-29 Thread Reuben
Just having another look at your code that is using sessions... It looks as though when someone submits the form that contains the 'search' field, you are saving that to the session, but then checking for it's existence, reading it straight back out, and never doing the pag

Re: Problem with Pagination of search results

2013-04-29 Thread Lilit
I only had $this->Paginator->numbers() in view. I'll try to make it via GET.. but after knowing how to use with sessions :) Thanks for your reply ! -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714704.htm

Re: Paginate search results

2013-04-29 Thread Reuben
It looks like you are making a call to the PaginatorHelper in the view, when no actual pagination has taken place. And this happens when you submit the search form. Firstly, I would recommend not using a POST for your search form. Use a GET instead, so that everything is on the query string

Re: Problem with Pagination of search results

2013-04-28 Thread Lilit
I see nobody knows... -- View this message in context: http://cakephp.1045679.n5.nabble.com/Problem-with-Pagination-of-search-results-tp5714685p5714690.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

General Search on Every Page - CakeDC Search

2013-04-28 Thread Brett Forath
Hello, I'm very new to CakePHP and I'm liking it so far, but I'm running into some trouble when searching the database. I'm using the CakeDC Search plugin and I'm able to search on a particular page, but I'm not sure how I would implement it so that I have

Paginate search results

2013-04-28 Thread Lilit
Hi people. I'm new to cakephp and need your help. I have this search function in my UsersController, so there's a problem with search result pagination. The first page shows first five names properly, but next pages does not show anything. I need that this session save all my users, then

Re: Records search using CakeDC/search

2013-04-15 Thread Muhammad Asyraf
currently the searching only for searching for name field. the result only select the name that equivalent to the search query. now i try to create condition for example like search based on name and gender. need to figure out how to do that.hmmm On Tuesday, 16 April 2013 07:14:46 UTC+8

Re: Records search using CakeDC/search

2013-04-15 Thread Muhammad Asyraf
> var: > > public $paginate = array(); > public $components = ... > > > On Mon, Apr 15, 2013 at 8:22 AM, Muhammad Asyraf > > > wrote: > >> I've made the amendment to the code but still the result are same. no >> search result produced and i notice t

Re: Records search using CakeDC/search

2013-04-15 Thread lowpass
What does the resulting query look like? Does it include the condition with the submitted name? On Mon, Apr 15, 2013 at 1:44 AM, Muhammad Asyraf wrote: > Actually i already Google several search plugin for CakePHP but most of > CakePHP user recommended search plugin from CakeDC. So, i do

Re: Records search using CakeDC/search

2013-04-15 Thread lowpass
You can get rid of that notice by declaring the $paginate array as a class var: public $paginate = array(); public $components = ... On Mon, Apr 15, 2013 at 8:22 AM, Muhammad Asyraf wrote: > I've made the amendment to the code but still the result are same. no > search result pro

Simple Search Engine

2013-04-15 Thread Reza Talamkhani
hi, I need my website search all content about user query... contents that be searched is news table, articles table, etc. I do'nt know how to implement this that easiest & local search... please help me. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twi

Re: Records search using CakeDC/search

2013-04-15 Thread Muhammad Asyraf
I've made the amendment to the code but still the result are same. no search result produced and i notice there is warning on top of the page say: Notice (8): Indirect modification of overloaded property PatientsController::$paginate has no effect [APP\Controller\PatientsController.php,

Re: Records search using CakeDC/search

2013-04-15 Thread euromark
s enough, as it automatically posts to itself Am Montag, 15. April 2013 07:44:40 UTC+2 schrieb Muhammad Asyraf: > > Actually i already Google several search plugin for CakePHP but most of > CakePHP user recommended search plugin from CakeDC. So, i download the > plugin from h

Records search using CakeDC/search

2013-04-14 Thread Muhammad Asyraf
Actually i already Google several search plugin for CakePHP but most of CakePHP user recommended search plugin from CakeDC. So, i download the plugin from https://github.com/dereuromark/search and load the plugin with code: CakePlugin::load('Search'); in bootstrap.php Then i implemen

Share : CakeStrap - Ajax Template (CRUD, Search)

2013-04-01 Thread Sutikno
i was integrated : - CakePHP + Bootstrap + JQuery (CakeStrap) - Table : Categories -* id int primary key auto inc -* name varchar check this : http://www.itoey.com/hexa.zip note: Indonesian Language -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/Ca

Re: CakeDC Search Plugin - How to search 2 fields in DB using only 1 form field?

2013-04-01 Thread chapus
this message in context: http://cakephp.1045679.n5.nabble.com/CakeDC-Search-Plugin-How-to-search-2-fields-in-DB-using-only-1-form-field-tp5164502p5714325.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://

Re: CakeDC Search Plugin - How to search 2 fields in DB using only 1 form field?

2013-03-29 Thread euromark
#x27;User.name', 'User.email', 'Profile.name', 'Profile.phone') Note that you got 4 array elements here instead of one long one as in your case. Am Donnerstag, 28. März 2013 20:33:20 UTC+1 schrieb Sergio Eustaquio Pereda Saviñón: > > > > with my bug

Re: CakeDC Search Plugin - How to search 2 fields in DB using only 1 form field?

2013-03-28 Thread chapus
> > with my bugfixed and enhanced version you can:https://github.com/dereuromark/search > > > but you should use an array structure then - like that: > > > 'field'=>array('Model1.entry1', 'Model1.entry2', > > 'Mode

Re: search filter in cake 1.3

2013-03-05 Thread chris69m
anyone,...? -- View this message in context: http://cakephp.1045679.n5.nabble.com/search-filter-in-cake-1-3-tp5713935p5713955.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: search filter in cake 1.3

2013-03-04 Thread Marcus James
Try this function search() { $this->User->recursive = 0; $params = $this->params['url']; if (!array_key_exists("find", $params)) { $this->set('users', $this->paginate('User'));

Re: search filter in cake 1.3

2013-03-04 Thread Chris
uest. And you really > should be escaping the find param with the Sanitize class. The "IN > BOOLEAN MODE"part is of course optional. > > On Mon, Mar 4, 2013 at 6:49 PM, Chris > > wrote: > > anyone? > > > > On Sunday, March 3, 2013 4:45:08 PM U

Re: search filter in cake 1.3

2013-03-04 Thread lowpass
8 PM UTC-8, Chris wrote: >> >> hi guys,... can anyone help please,... I'm using cake 1.3 >> how can I filter search results by user firstname >> >> this is my form input: >> >> Form->create('User', array('action' => 'se

Re: search filter in cake 1.3

2013-03-04 Thread Chris
anyone? On Sunday, March 3, 2013 4:45:08 PM UTC-8, Chris wrote: > > hi guys,... can anyone help please,... I'm using cake 1.3 > how can I filter search results by user firstname > > this is my form input: > > Form->create('User', array('action&#

search filter in cake 1.3

2013-03-03 Thread Chris
hi guys,... can anyone help please,... I'm using cake 1.3 how can I filter search results by user firstname this is my form input: Form->create('User', array('action' => 'search')); ?> Form->text('find', array('style' => &

Re: Cake PHP Search Component not working and giving an error

2013-02-18 Thread euromark
Lets not try to duplicate everything and stay on http://stackoverflow.com/questions/14936595/search-functionality-not-working-using-id-field-input The main question still stands: If you use "name" as form field, why are you declaring they key in your behavior as "id"? it

Re: Cake PHP Search Component not working and giving an error

2013-02-18 Thread Victor Musvibe
Hi Euromark I am using the search plugin on https://github.com/cakedc/search. I am trying to search for records using the ID field only, that is if i type in 1 on my form input it must show a record with user ID 1. The challenge that i am having now is when i specify that the input should be the

Re: Cake PHP Search Component not working and giving an error

2013-02-18 Thread euromark
You would need to properly upgrade the component and make it work with your version of cake. I propose you try https://github.com/cakedc/search It is up to date, more sophisticated and does the job with less configuration Am Montag, 18. Februar 2013 09:43:46 UTC+1 schrieb Victor Musvibe

Cake PHP Search Component not working and giving an error

2013-02-18 Thread Victor Musvibe
Hi Bakers I implemented a search component from this url http://www.designaeon.com/cake-php-search-component/ but I have a few problems. At first Cake didn’t recognize the component. After I renamed search.php in SearchComponent.php I got another Error: Declaration of SearchComponent

Re: How do I search all the columns at once?

2013-02-12 Thread AD7six
What have you tried, what sql query does what you want to do? AD On Tuesday, 12 February 2013 05:57:43 UTC+1, Shahruk Khan wrote: > > Say I have column_1 and column_2 for a row. column_1 value is A and > column_2 value is B. My query is A B. How can I perform this kind of search >

How do I search all the columns at once?

2013-02-11 Thread Shahruk Khan
Say I have column_1 and column_2 for a row. column_1 value is A and column_2 value is B. My query is A B. How can I perform this kind of search with CakePHP? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Re: search by username or email

2012-12-25 Thread euromark
t; 'conditions' => array( > 'OR' => array( >'User.username' => $value, >'User.email' => $value >) > ) > )); > > > On Saturday, December 15, 2012 4:12:13 AM U

Re: search by username or email

2012-12-24 Thread zuha
'User.email' => $value ) ) )); On Saturday, December 15, 2012 4:12:13 AM UTC-5, Chris wrote: > > hi guys,... I have a admin function that need find users by username or > email from search field,... and used to work on cake1.2 > I m

search by username or email

2012-12-15 Thread Chris
hi guys,... I have a admin function that need find users by username or email from search field,... and used to work on cake1.2 I moved script to 1.3 ,... and it's not working what am I doing wrong,... ?? please help $filter = $this->params['pass']; u

Re: cakedc sample search

2012-10-06 Thread Matthew Kaufman
LOL... I am reading inline so sorry if I missed the part that made this line... not funny... because that's funny hehehe. Matt On Fri, Oct 5, 2012 at 1:49 AM, AD7six wrote: > Unfortunately, all CakePHP applications require CakePHP. > > AD > > -- > Like Us on FacekBook https://www.facebook.com/C

Re: cakedc sample search

2012-10-05 Thread Dakota
Vicky, what AD7six is saying (in his own delightful way) is to read carefully what the error message says. It actually describes exactly what the problem is and how to solve it. -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You rece

Re: cakedc sample search

2012-10-05 Thread vicky
Thank u very much. On Friday, 5 October 2012 11:19:53 UTC+5:30, AD7six wrote: > > Unfortunately, all CakePHP applications require CakePHP. > > AD > -- Like Us on FacekBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

cakedc sample search

2012-10-04 Thread AD7six
Unfortunately, all CakePHP applications require CakePHP. AD -- Like Us on FacekBook 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 post to this group, send email t

cakedc sample search

2012-10-04 Thread vicky
I am new to cakephp I got the code from https://github.com/CakeDC/Sample-Search-Application I unziped, and pasted in www folder I am getting the following errors Warning: include(cake\bootstrap.php) [function.include<http://localhost/CakeDC-Sample-Search-Application-a2d2b00/function.incl

Re: radius search zip code in cake php

2012-08-31 Thread AD7six
On Friday, 31 August 2012 16:12:40 UTC+2, Rana Singh wrote: > > Hello guys Please Help Me i want to implement radius search in cake php > but i am not having script ,the script which i have it takes to much time > to find all zipcode with in a mile I recommend: 1) you get the

radius search zip code in cake php

2012-08-31 Thread Rana Singh
Hello guys Please Help Me i want to implement radius search in cake php but i am not having script ,the script which i have it takes to much time to find all zipcode with in a mile -- You received this message because you are subscribed to the Google Groups "CakePHP" group. To po

  1   2   3   4   5   6   7   8   9   10   >