Re: CakePHP 3.0 location for API-Access

2016-02-21 Thread Anthony GRASSIOT
Didn't use it personnaly but I know that this exists: You might want to have a look at it. Regards Anto > On Feb 21 2016, at 5:33 pm, euromark dereurom...@gmail.com wrote: > > Take a look at twitter, and how they did it: >

Re: CakePHP 3.0 location for API-Access

2016-02-21 Thread euromark
Take a look at twitter, and how they did it: https://github.com/cvo-technologies/cakephp-twitter Am Sonntag, 21. Februar 2016 15:06:29 UTC+1 schrieb web tools: > > Hello, > > I would like to use the API of OpenWeatherMap ( > http://openweathermap.org/api) in my CakePHP 3.x Application, but I am

CakePHP 3.0 location for API-Access

2016-02-21 Thread web tools
Hello, I would like to use the API of OpenWeatherMap (http://openweathermap.org/api) in my CakePHP 3.x Application, but I am not sure where to put my API-Calls like "*getWeatherByCityname()*" in, because ' *Table*', '*Entity*' and '*Behaviour*' only belongs to relational Databases. Is there a

cakephp 3.0 and snelg/cakephp-3-oracle [ Error: [Cake\Database\Exception] Cannot describe s_i18_n. It has 0 columns.]

2016-01-29 Thread Mbhd90
When i try to perform bake command i receive this exception Exception: Cannot describe s_i18_n. It has 0 columns. in [/var/www/html/3.0/app-master/vendor/cakephp/cakephp/src/Database/Schema/Collection.php, line 98] 2016-01-21 15:07:24 Error: [Cake\Database\Exception] Cannot describe s_i18_n.

Cakephp 3.0 unit testing for plugins

2016-01-12 Thread Ravi Kanth
hi, when i execute the plugin/firstplugin folder iam getting following error 1) SamplePlugin\Test\TestCase\Controller\CustomersControllerTest::testIndex include(D:\xampp\htdocs\MyApp\vendor\cakephp\cakephp\tests\test_app\config\routes.php): failed to open stream: No such file or

Help CakePhp 3.0

2015-10-27 Thread Ricardo Franco
How to write the tags below to the version 3.0 of the cake? * New * Thank you! -- 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

dateFormat doesn't work anymore in cakephp 3.0

2015-10-14 Thread Filippo Giordano
Somebody knows how to format $this->Form->input in 'DMY'? The option dateFormat doesn't work anymore in cakephp 3.0. Thanks in advance. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message becau

Re: JQuery autocomplete on Cakephp 3.0

2015-10-13 Thread Raul Magdalena Catala
hola, Solucionado, para que jquery autocomplete, los campos devueltos deben llamarse "value" y "label" El dilluns, 12 octubre de 2015 22:48:52 UTC+2, Christian Quispe va escriure: > > Revisa si tienes los css incluidos. > > > > Enviado con MailTrack >

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
Aqui está el error $carNames = $this->Car->getCarNames($term); Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro: * *GDG Lima (Google Developer Group Lima)* *Portafolio:

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Raul Magdalena Catala
Hola Christian, si ejecuto: $carNames=$this->getCarNames($term); el mensaje de error es: "message": "Call to undefined method App\\Controller\\CarsController::getCarNames()" creo que por aquí no es El dilluns, 12 octubre de 2015 19:14:11 UTC+2, Christian Quispe va escriure: > > Aqui está

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Raul Magdalena Catala
hola de nuevo Christian, finalmente he consegido una respuesta json de un controlador pero el input intenta autocompletar pero se queda a medio camino. Pego la pantalla que es más facil verlo que explicarlo

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
El mensaje dice que no se conoce el método. ¬¬ Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro: * *GDG Lima (Google Developer Group Lima)* *Portafolio: www.oxicode.io

Re: JQuery autocomplete on Cakephp 3.0

2015-10-12 Thread Christian Quispe
Revisa si tienes los css incluidos. Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro: * *GDG Lima (Google Developer Group Lima)* *Portafolio: www.oxicode.io

Re: JQuery autocomplete on Cakephp 3.0

2015-10-09 Thread Raul Magdalena Catala
hola el código del controladores muy sencillo http://www.php.net/array>('RequestHandler'); public function index() { if ($this->request->is('ajax')) { $term = $this->request->query('term'); $carNames = $this->Car->getCarNames($term); $this->set(compact

Re: JQuery autocomplete on Cakephp 3.0

2015-10-08 Thread Raul Magdalena Catala
Hola Christian, tengo un archivo creado para la vista en , src/Template/Cars/index.ctp. la ruta en el script es correcta: $(document).ready(function(){ $('#autocomplete').autocomplete({ source: "/cars/index.json", }); }); finalmente te paso la pertaña network

Re: JQuery autocomplete on Cakephp 3.0

2015-10-08 Thread Christian Quispe
Ahiy esta el error. Hay un problema con la función. Este tema del jquey, ajax y json es bien fácil. Fresh. Compartenos el código del controlador para ver en que has metido la pata Enviado desde Gmail para Moto G www.oxicode.io El oct. 8, 2015 2:08 AM, "Raul Magdalena Catala"

JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Raul Magdalena Catala
Hello, i'm trying to use the following example of JQuery autocomplete with Cakephp http://zenofcoding.com/2013/08/27/cakephp-and-jquery-auto-complete-revisited/ The important change between versions (if i'm not wrong) is how to enable the parsing of extensions in both cases it is done in the

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Raul Magdalena Catala
Gracias Christian, ya he consegido, creo, que se realice la llamada cuando escribo algo en el input pero siguen sin autocompletarse. Ahora cuando escribo la misma url

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Christian Quispe
Hola Raul Nos compares los debugs? o algún pantallazo de la consola de chromeDev cuando intentas ejecutarlo Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro: * *GDG Lima (Google

Re: JQuery autocomplete on Cakephp 3.0

2015-10-07 Thread Christian Quispe
Ya veo, el problema viene por la vista, tienes el archivo creado en la vista?, si usas solo controlador debes tener $this->set('_serialize', ['articles']); tambien checa la ruta, la url destino, el u0022 es un ' por ahi puede hacer conflicto pasame un pantallazo de la pestaña Network, el ultimo

Re: Which is the right way to check if find() returns any record? cakephp 3.0

2015-10-04 Thread Raul Magdalena Catala
now i can reply myself just checking the API there is a count() method for the query object :) El diumenge, 4 octubre de 2015 20:44:10 UTC+2, Raul Magdalena Catala va escriure: > > hello, > > i'm looking for the right way in cakephp 3.0 to check is a find() query > ret

Which is the right way to check if find() returns any record? cakephp 3.0

2015-10-04 Thread Raul Magdalena Catala
hello, i'm looking for the right way in cakephp 3.0 to check is a find() query returns any record. By now i'm executing the query with a $result = find()->toArray and checking if $result is empty or not, but the problem is that i can not sent $result to $this->paginate() as paginate

Authentication with multiple tables (using myAuthComponent) doesn't work in Cakephp 3.0

2015-08-24 Thread Sacha Muratori
Hello Everyone, Since i've started my project from the analysis and not from coding, i came to diagram models with* 3 tables that need an authentication*. For these reason i don't want to use one 'users' table, but 3 of them: 'clients', 'administrators' and 'employers'. I tried to follow the

google recaptcha - send post request (cakephp 3.0)

2015-08-22 Thread Ádám Domaföldi
Hi! I created successfully a php implementation for google recaptcha it is for testing purposes at the moment. I tried to implement in my cakephp dev enviroment (cakephp 3.0). I've just put the code into the controller. It is not working. I tried with the cakephp http client as well

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Florian Krämer
? MySpecialHelper extends MyBaseHelper {...} MyOtherSpecialHelper extends MyBaseHelper {...} And MyBaseHelper implementds addClass(). On Friday, July 24, 2015 at 10:23:43 AM UTC+2, Mikaël Capelle wrote: Hi everyone, I am writing a CakePHP 3.0 plugins, and I have multiple helpers (inheriting from

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Mikaël Capelle
wrote: Hi everyone, I am writing a CakePHP 3.0 plugins, and I have multiple helpers (inheriting from either HTMLHelper, FormHelper, PaginatorHelper, etc.). In each of these new helpers, I have a function *addClass* (copy/paste from helper to helper... ). I don't really like having

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Mikaël Capelle
, 2015 at 10:23:43 AM UTC+2, Mikaël Capelle wrote: Hi everyone, I am writing a CakePHP 3.0 plugins, and I have multiple helpers (inheriting from either HTMLHelper, FormHelper, PaginatorHelper, etc.). In each of these new helpers, I have a function *addClass* (copy/paste from helper

Re: CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-27 Thread Florian Krämer
Simple OOP? MySpecialHelper extends MyBaseHelper {...} MyOtherSpecialHelper extends MyBaseHelper {...} And MyBaseHelper implementds addClass(). On Friday, July 24, 2015 at 10:23:43 AM UTC+2, Mikaël Capelle wrote: Hi everyone, I am writing a CakePHP 3.0 plugins, and I have multiple helpers

CakePHP 3.0 Plugin - Where to put a « global » function for multiple helpers

2015-07-24 Thread Mikaël Capelle
Hi everyone, I am writing a CakePHP 3.0 plugins, and I have multiple helpers (inheriting from either HTMLHelper, FormHelper, PaginatorHelper, etc.). In each of these new helpers, I have a function *addClass* (copy/paste from helper to helper... ). I don't really like having duplicated code (5

cakephp 3.0 session not supported in safari browser

2015-07-22 Thread Karthik Keyan
Hi, We have created the application using cakephp 3.0 that an application runs in an Iframe. Now the problem is **not able to get the session value in the safari browser**. We have tried this solution added header ('P3P: CP=CAO PSA OUR') ---It works fine in IE browser Anyone please, help

Cakephp 3.0 Session setting

2015-07-21 Thread Karthik Keyan
Hi, I am Try setting the Session.checkAgent configuration to false. How to change the session setting in cakephp 3.0 -- 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

Basic usage of cakePHP 3.0 Upgrade tool - Where to install the upgrade tool?

2015-07-03 Thread glk
Ok, you got me into cakePHP 3.0, but now it's time to actually upgrade a V2 site to V3. The Upgrade tool README.md says After downloading/cloning the upgrade tool, you need to install dependencies with 'composer' OK, but the what FOLDER was I supposed to download and unpack the upgrade

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-14 Thread Paulo Terra
. On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote: Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-14 Thread Paulo Terra
been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-14 Thread Anthony GRASSIOT
have been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Paulo Terra
, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread José Lorenzo
Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Paulo Terra
Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Paulo Terra
PM UTC+2, Paulo Terra wrote: Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
a working version for CakePHP 3.0? Thanks. Paulo Terra -- 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

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
validation provider. On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote: Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Anthony GRASSIOT
for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com

Re: Is there a working Localized plugin for CakePHP 3.0?

2015-06-13 Thread Paulo Terra
, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you

Is there a working Localized plugin for CakePHP 3.0?

2015-06-12 Thread Paulo Terra
Hi, I have been looking for a plugin to validate Person ID, Phone, ZIP Code, etc, but all I can find is for old versions of CakePHP. Does anybody know where I can find a working version for CakePHP 3.0? Thanks. Paulo Terra -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: cakephp 3.0- login and registration using custom tables

2015-06-08 Thread José Lorenzo
Read this part of the manual: http://book.cakephp.org/3.0/en/controllers/components/authentication.html#configuring-authentication-handlers Specifically the part regarding 'userModel' and 'fields' On Sunday, June 7, 2015 at 9:33:23 PM UTC+2, Leo Wong wrote: Hello, I have the same question,

Re: cakephp 3.0- login and registration using custom tables

2015-06-07 Thread Leo Wong
Hello, I have the same question, cakephp provide advance feature but require some specific Talbe/Field, How can we know more detail about those name ? Thank you. On Monday, June 1, 2015 at 5:39:15 AM UTC+8, sakshi bhalla wrote: Hello, can anyone please help me with the source code for

cakephp 3.0- login and registration using custom tables

2015-05-31 Thread sakshi bhalla
Hello, can anyone please help me with the source code for login and registration using custom tables. I am able to do using users table but not able to do using my existing db tables. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---

Re: Forgot password in cakephp 3.0

2015-05-30 Thread euromark
See https://github.com/dereuromark/cakefest/blob/3.0/src/Controller/AccountController.php#L82 for an example Am Dienstag, 26. Mai 2015 14:39:33 UTC+2 schrieb Karthik Keyan: Hi, How we set the validation for the forgot password. Password can be send to email *please send the

cakephp 3.0 same controller name for admin and users

2015-05-29 Thread Thomas
I am using cakephp 3.0 and want to write some admin actions and some users actions in users controller. admin actions should be accessible from admin routing and user actions should be accessible without admin routing I know in cakephp 3.0 for admin, users controller should be in src

How to set Authorization wise view in the Form in CakePHP-3.0

2015-05-28 Thread Md Bayezid Alam
Hi All, I want to set an authorization in the registration of a form using CakePHP 3.0. Before asking here, i tried below things but no luck in my favor. Suppose i have role field in the usersTable like 'superuser', 'admin', 'user'. I want to provide permission superuser to make all the things

Re: How to set Authorization wise view in the Form in CakePHP-3.0

2015-05-28 Thread euromark
') === 'superadmin') {} instead Am Donnerstag, 28. Mai 2015 15:54:47 UTC+2 schrieb Bayezid Alam: Hi All, I want to set an authorization in the registration of a form using CakePHP 3.0. Before asking here, i tried below things but no luck in my favor. Suppose i have role field

Re: How to set Authorization wise view in the Form in CakePHP-3.0

2015-05-28 Thread Md Bayezid Alam
in the registration of a form using CakePHP 3.0. Before asking here, i tried below things but no luck in my favor. Suppose i have role field in the usersTable like 'superuser', 'admin', 'user'. I want to provide permission superuser to make all the things like create admin and user

Forgot password in cakephp 3.0

2015-05-26 Thread Karthik Keyan
Hi, How we set the validation for the forgot password. Password can be send to email *please send the functionality of forgot password* -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Cakephp 3.0

2015-05-16 Thread Karthik Keyan
Hi How to use multiple tables in single controller in *cakephp 3.0 * -- 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: Cakephp 3.0

2015-05-16 Thread Md Bayezid Alam
Hi, You can load Model by using $this-loadModel('YourTablenames'); Thanks On Sat, May 16, 2015 at 12:35 PM, Karthik Keyan karky...@gmail.com wrote: Hi How to use multiple tables in single controller in *cakephp 3.0 * -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

patchEntify() problem using cakephp 3.0

2015-05-01 Thread Yaru Tsai
Hi, I want to import log file and add in Controller, then my log content is: 20150424,161711,checkStart,1,Android ID: ea6485a49d63d127 20150424,161711,checkStart,1,Serial ID: 38KCIUJIWZ 20150424,161711,checkStart,1,Kernel Version: #276 Here is my code, if(($handle = fopen(

Re: CakePHP 3.0 - Confusion comes from

2015-04-17 Thread rchavik
in the next update. And that is not in the manual book, we can ask each other in this group. On Friday, March 27, 2015 at 9:37:26 PM UTC+7, Bayezid Alam wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http

Re: CakePHP 3.0 - Confusion comes from

2015-04-16 Thread Md Bayezid Alam
in the next update. And that is not in the manual book, we can ask each other in this group. On Friday, March 27, 2015 at 9:37:26 PM UTC+7, Bayezid Alam wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function

Re: cakephp 3.0 - which approach is best to get instance of a Table using loadModel or TableRegistry

2015-04-12 Thread Md Bayezid Alam
an instance of a table in CakePHP-3.0 which is not a controller's default one between loadModel or TableRegistry. 1. $this-loadModel('Articles'); OR2. TableRegistry::get('Articles'); Already asked on stackoverflow. http://stackoverflow.com/ questions/29578825/which-approach-is-best-to-get

Re: How to move the directory /cakePHP 3.0/

2015-04-12 Thread José Lorenzo
Well, given the fact that your apps have more dependencies than just the cake core, I would say that it is not a good idea. Just call composer update on each of your apps. You can also write a quick Make script (or in whatever language you may prefer) to go over each folder and call composer

Re: cakephp 3.0 - which approach is best to get instance of a Table using loadModel or TableRegistry

2015-04-11 Thread José Lorenzo
Answered in stackoverflow On Saturday, April 11, 2015 at 8:00:02 PM UTC+2, Bayezid Alam wrote: Hi, A question arises on me is that which approach is the best from the performance sense to get an instance of a table in CakePHP-3.0 which is not a controller's default one between loadModel

Re: How to move the directory /cakePHP 3.0/

2015-04-11 Thread José Lorenzo
I wouldn't recommend doing this for cake 3. What is the reason behind having a common core? On Saturday, April 11, 2015 at 11:18:17 AM UTC+2, InYan wrote: I want to move the kernel to the root directory of the server to the kernel was common to all applications on the server. Then it will be

Re: How to move the directory /cakePHP 3.0/

2015-04-11 Thread InYan
I want to move the kernel to the root directory of the server to the kernel was common to all applications on the server. Then it will be more convenient to update to the new version. For my old applications written in cakePHP v1.3.x I use a common core library folder (CAKE). To do this, I'm

Re: How to move the directory /cakePHP 3.0/

2015-04-11 Thread InYan
I want to move the kernel to the root directory of the server to the kernel was common to all applications on the server. Then it will be more convenient to update to the new version. For my old applications written in cakePHP v1.3.x I use a common core library folder (CAKE). To do this, I'm

cakephp 3.0 - which approach is best to get instance of a Table using loadModel or TableRegistry

2015-04-11 Thread Md Bayezid Alam
Hi, A question arises on me is that which approach is the best from the performance sense to get an instance of a table in CakePHP-3.0 which is not a controller's default one between loadModel or TableRegistry. 1. $this-loadModel('Articles'); OR2. TableRegistry::get('Articles'); Already asked

Re: How to move the directory /cakePHP 3.0/

2015-04-11 Thread Igor
Common core easy to upgrade to the new version. Immediately for all applications on the server. 11.04.2015, 23:01, "José Lorenzo" jose@gmail.com: I wouldn't recommend doing this cake for 3. What is the reason behind having a common core? On Saturday, April 11, 2015 at 11:18:17 AM UTC+2, InYan

Re: How to move the directory /cakePHP 3.0/

2015-04-11 Thread InYan
When all the applications one common core, it is easy to update. -- 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

Re: How to move the directory /cakePHP 3.0/

2015-04-10 Thread InYan
I want to move the kernel to the root directory of the server to the kernel was common to all applications on the server. Then it will be more convenient to update to the new version. For my old applications written in cakePHP v1.3.x I use a common core library folder (CAKE). To do this, I'm

Re: Cakephp 3.0 saveField

2015-04-04 Thread José Lorenzo
$this-Posts-updateAll(['the_field' = $value], ['id' = 100]); On Friday, April 3, 2015 at 12:05:12 AM UTC+2, DiV wrote: How can I update a single field if I know record's id without retrieving a row? There was a method saveField for this action in cakephp 2.x -- Like Us on FaceBook

Re: CakePHP 3.0 (Send html email without template)

2015-04-04 Thread mark_story
When you don't use a template you can't interpolate variables. Either interpolate the variables into the string you are sending, or use a template. -Mark On Tuesday, 31 March 2015 03:32:18 UTC-4, Rodrigo Aiello wrote: Hello, I'm trying to send an html email without template, but the

Re: Cakephp 3.0 saveField

2015-04-03 Thread euromark
Just use save()? Am Freitag, 3. April 2015 00:05:12 UTC+2 schrieb DiV: How can I update a single field if I know record's id without retrieving a row? There was a method saveField for this action in cakephp 2.x -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: Cakephp 3.0 saveField

2015-04-03 Thread DiV
example please пятница, 3 апреля 2015 г., 15:03:12 UTC+3 пользователь euromark написал: Just use save()? Am Freitag, 3. April 2015 00:05:12 UTC+2 schrieb DiV: How can I update a single field if I know record's id without retrieving a row? There was a method saveField for this action in

Cakephp 3.0 saveField

2015-04-02 Thread DiV
How can I update a single field if I know record's id without retrieving a row? There was a method saveField for this action in cakephp 2.x -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are

Re: CakePHP 3.0 - Confusion comes from

2015-04-02 Thread Dave Edwards
something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add() { $article = $this-Articles-newEntity(); // *A blank newEnttity added stored in $article

Re: CakePHP 3.0 - Confusion comes from

2015-04-01 Thread Dave Edwards
UTC+7, Bayezid Alam wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add

Re: CakePHP 3.0 - Confusion comes from

2015-04-01 Thread Farid Aditya
. On Friday, March 27, 2015 at 9:37:26 PM UTC+7, Bayezid Alam wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles

CakePHP 3.0 (Send html email without template)

2015-03-31 Thread Rodrigo Aiello
Hello, I'm trying to send an html email without template, but the variables it´s not working. $email = new Email('default'); $email-emailFormat('html') -to($toAddress) -subject('Test') -viewVars(['value' = '12345']) -send('pHere is your value: b?= $value ?/b/p'); I'm doing

Re: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Farid Aditya
wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add() { $article = $this-Articles

Re: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Md Bayezid Alam
, $newObjAttr); is to update object attribute On Friday, March 27, 2015 at 9:37:26 PM UTC+7, Bayezid Alam wrote: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread euromark
, this changed during RC and as such the tutorial needs some updating. Thats all there is to it :) Mark Am Freitag, 27. März 2015 15:37:26 UTC+1 schrieb Bayezid Alam: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread Dave Edwards
comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add() { $article = $this-Articles-newEntity(); // *A blank

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread Md Bayezid Alam
there is to it :) Mark Am Freitag, 27. März 2015 15:37:26 UTC+1 schrieb Bayezid Alam: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/ blog/part-two.html#adding

Re: CakePHP 3.0 - Confusion comes from

2015-03-29 Thread Md Bayezid Alam
there is to it :) Mark Am Freitag, 27. März 2015 15:37:26 UTC+1 schrieb Bayezid Alam: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/ blog/part-two.html

Re: CakePHP 3.0 - Confusion comes from

2015-03-29 Thread Dave Edwards
mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add() { $article = $this-Articles-newEntity(); // *A blank newEnttity

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread euromark
is deprecated, this changed during RC and as such the tutorial needs some updating. Thats all there is to it :) Mark Am Freitag, 27. März 2015 15:37:26 UTC+1 schrieb Bayezid Alam: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread Md Bayezid Alam
regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/ part-two.html#adding-articles public function add() { $article = $this-Articles-newEntity(); // *A blank newEnttity added

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread Md Bayezid Alam
: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/ blog/part-two.html#adding-articles public function add() { $article = $this-Articles

CakePHP 3.0 - Confusion comes from

2015-03-27 Thread Md Bayezid Alam
Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given on below link's in the add function. http://book.cakephp.org/3.0/en/tutorials-and-examples/blog/part-two.html#adding-articles public function add() { $article = $this-Articles-newEntity

Re: CakePHP 3.0 - Confusion comes from

2015-03-27 Thread euromark
The latter is deprecated, this changed during RC and as such the tutorial needs some updating. Thats all there is to it :) Mark Am Freitag, 27. März 2015 15:37:26 UTC+1 schrieb Bayezid Alam: Hi, A confusion comes on my mind regarding the adding something on CakePHP 3.0 As example given

cakephp 3.0 stable == need help with save assosiated, but data have composite primarykey

2015-03-24 Thread Farid Aditya
help i cann't saving data with save that have assosiated *nb*: *all my table used Inflector::rules('uninflected', ['dontinflectme']), so i don't have proble with naming convension* *this is my model table* class KaryawanTable extends Table { /** * Initialize method * *

[CAKEPHP 3.0] ERROR PHP.IN

2015-03-23 Thread Quang Nguyễn Ngọc
*after installation I get this error :* *Fatal error*: You must enable the intl extension to use CakePHP. in *C:\xampp\htdocs\cake\bookmarker\config\bootstrap.php* on line *38* *May all who help!!!* -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: [CAKEPHP 3.0] ERROR PHP.IN

2015-03-23 Thread José Lorenzo
You need to enable the intl extension. http://cynwong.com/blog/?p=442 On Monday, March 23, 2015 at 9:50:21 AM UTC+1, Quang Nguyễn Ngọc wrote: *after installation I get this error :* *Fatal error*: You must enable the intl extension to use CakePHP. in

Re: [CAKEPHP 3.0] ERROR PHP.IN

2015-03-23 Thread Quang Nguyễn Ngọc
Thank you very much!!! José Lorenzo -- 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

Re: Cakephp 3.0 Get and Modify Query conditions in beforeFind function

2015-02-27 Thread Cake Developer
Hi, Ok I managed solution. Thanks On Thursday, January 29, 2015 at 8:26:57 PM UTC+5:30, Cake Developer wrote: Hi Mark Story, any help please? thanks On Friday, January 23, 2015 at 6:02:46 PM UTC+5:30, Cake Developer wrote: Hi Josh, I tried both PlumSearch and Search Plugin in my

Re: cakephp 3.0 supporting web hosting list

2015-02-27 Thread José Lorenzo
ticket on hosgator is in pending status since last 45 days. I keep emailing/phone call them to resolve the ticket. But same response they cannot support INTL. I am waiting till final version of cakephp 3.0 release date If they come up with solution otherwise I will ask to refund. Thanks I

Re: Validate a multiple select in cakephp 3.0

2015-02-27 Thread Cake Developer
I see cakephp 3.0 has same multiple select validation but I am getting error Array to string conversion here is what I tried -notEmpty('input_field', __('Please select option(s)')) -add('input_field', [ 'multiple'=[ 'rule'=['multiple', ['min'=1]], 'message'='Please select option

Re: cakephp 3.0 supporting web hosting list

2015-02-27 Thread mark_story
Linode also has a vps for $10/mth which has been pretty great for me so far and provides what CakePHP needs. Their support has been pretty great from the few times I have needed to use it. -mark -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter

Re: cakephp 3.0 supporting web hosting list

2015-02-27 Thread Cake Developer
final version of cakephp 3.0 release date If they come up with solution otherwise I will ask to refund. Thanks I will try to switch on godaddy. On Thursday, February 26, 2015 at 2:36:03 PM UTC+5:30, José Lorenzo wrote: Even godaddy supports 5.4 and intl, and I wouldn't say

Validate a multiple select in cakephp 3.0

2015-02-27 Thread Cake Developer
Hello Experts, We have multiple select validation in cakephp 2.x public static function multiple($check, $options = array(), $caseInsensitive = false) { .. } any idea what is equivalent validation in cakephp 3.0 ? Thanks -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: Validate a multiple select in cakephp 3.0

2015-02-27 Thread José Lorenzo
What field are you trying to validate? On Friday, February 27, 2015 at 2:02:00 PM UTC+1, Cake Developer wrote: I see cakephp 3.0 has same multiple select validation but I am getting error Array to string conversion here is what I tried -notEmpty('input_field', __('Please select option(s

  1   2   3   >