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

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 directory

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 me

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

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

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)

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 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" escribió: > Hola C

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-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: 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 (http://l

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:

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 ru

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

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 p

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 s

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 bu

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

2015-07-27 Thread Mikaël Capelle
gt;> 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, >

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

2015-07-27 Thread Florian Krämer
orian Krämer wrote: >> >> Simple OOP? >> >> MySpecialHelper extends MyBaseHelper {...} >> MyOtherSpecialHelper extends MyBaseHelper {...} >> >> >> >> And MyBaseHelper implementds addClass(). >> >> On Friday, July 24, 2015 at 10:23:43

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

2015-07-27 Thread Mikaël Capelle
lementds 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 either HTMLHelper, FormHelper, PaginatorHelper, etc.). >> I

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 h

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 co

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

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 subscri

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

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

2015-06-14 Thread Paulo Terra
x27;message' => __('Merci d\'entrer un numéro de téléphone valide.') > ]); > > return $validator; > } > > > > I hope it will help. > > best regards > > Le vendredi 12 juin 2015 13:06:04 UTC+2, Paulo Terra a écrit : >>

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

2015-06-14 Thread Anthony GRASSIOT
i 12 juin 2015 13:06:04 UTC+2, Paulo Terra a écrit : > > 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.

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

2015-06-14 Thread Paulo Terra
validation.html#adding-validation-providers >>>> Le 13 juin 2015 16:49, "Paulo Terra" a écrit : >>>> >>>>> Thank you José for your reply. >>>>> >>>>> I need to validate brazilian ID´s CPF and CNPJ, brazilian ZIP Code and

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

2015-06-13 Thread Paulo Terra
2015 04:13:25 UTC-3, José Lorenzo escreveu: >>>>>> >>>>>> There isn't yet. What do you need from the plugin? >>>>>> >>>>>> If it is the validation rules, you can just copy the rules from the >>>>>> old Loca

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

2015-06-13 Thread Anthony GRASSIOT
> There isn't yet. What do you need from the plugin? >>>>>> >>>>>> If it is the validation rules, you can just copy the rules from the >>>>>> old Localized plugin into your custom validation provider. >>>>>> >>>&

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

2015-06-13 Thread Anthony GRASSIOT
gt;>>> There isn't yet. What do you need from the plugin? >>>>> >>>>> If it is the validation rules, you can just copy the rules from the >>>>> old Localized plugin into your custom validation provider. >>>>> >>&

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

2015-06-13 Thread Paulo Terra
in? >>>> >>>> If it is the validation rules, you can just copy the rules from the old >>>> Localized plugin into your custom validation provider. >>>> >>>> On Friday, June 12, 2015 at 1:06:04 PM UTC+2, Paulo Terra wrote: >>>

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

2015-06-13 Thread Paulo Terra
on 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

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

2015-06-13 Thread Anthony GRASSIOT
de, 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/CakePH

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

2015-06-13 Thread Paulo Terra
ugin 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.faceboo

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

2015-06-13 Thread José Lorenzo
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 Tw

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 on

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 questi

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

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 func

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

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

2015-05-28 Thread Md Bayezid Alam
t; > 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. >> >>

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

2015-05-28 Thread euromark
his->request->session()->read('Auth.User.role') === '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 ask

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 su

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 sub

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 wrote: > Hi > How to use multiple tables in single controller in *cakephp 3.0 * > > -- > Like Us on FaceBook https://www.facebook.com/

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 unsubs

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( $this->request->data['

Re: CakePHP 3.0 - Confusion comes from

2015-04-17 Thread rchavik
ery >> helpful to understand the cakephp. deficiencies in the manual may be >> updated 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: >> &

Re: CakePHP 3.0 - Confusion comes from

2015-04-16 Thread Md Bayezid Alam
pful to understand the cakephp. deficiencies in the manual may be >> updated 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, >>

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 u

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

2015-04-11 Thread Md Bayezid Alam
m 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'); >> >> &g

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 a

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" :> 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 wrote:>> I want

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

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

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('Arti

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 jus

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 jus

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 jus

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 v

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

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 Twitte

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 subscr

Re: CakePHP 3.0 - Confusion comes from

2015-04-02 Thread Dave Edwards
; > 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
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/

Re: CakePHP 3.0 - Confusion comes from

2015-04-01 Thread Dave Edwards
ct 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. >> >>

Re: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Md Bayezid Alam
tAttr , $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 lin

Re: CakePHP 3.0 - Confusion comes from

2015-03-31 Thread Farid Aditya
C+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 > > p

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('Here is your value: '); I'm doing something w

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread Md Bayezid Alam
patchEntity was for updating existing data? Is my understanding incorrect? >>> >>> Dave >>> >>> On Friday, 27 March 2015 21:24:38 UTC, euromark wrote: >>> >>> The latter is deprecated, this changed during RC and as such the >>> tutorial nee

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread Dave Edwards
precated, 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 m

Re: CakePHP 3.0 - Confusion comes from

2015-03-30 Thread euromark
> > On Friday, 27 March 2015 21:24:38 UTC, euromark wrote: > > 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: >

Re: CakePHP 3.0 - Confusion comes from

2015-03-29 Thread Md Bayezid Alam
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 m

Re: CakePHP 3.0 - Confusion comes from

2015-03-29 Thread Dave Edwards
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.htm

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread Md Bayezid Alam
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-a

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread euromark
cated, 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

Re: CakePHP 3.0 - Confusion comes from

2015-03-28 Thread Md Bayezid Alam
b 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#add

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

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

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

2015-03-23 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 * * @par

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 fro

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 > *C:\xampp\htdocs\cake\bookmarker\co

[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 http://twitter.com/C

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 P

How to get all classes of given type in cakephp 3.0

2015-02-27 Thread Cake Developer
Hello Experts, How to get all classes of given type in cakephp 3.0 for example we have in cakephp 2.x `App::objects('plugin');` returns `array('DebugKit', 'Blog', 'User');` `App::objects('Controller');` returns `array('PagesController',

Re: Validate a multiple select in cakephp 3.0

2015-02-27 Thread Cake Developer
;form-control']); ?> user may select 1 or many courses. On Friday, February 27, 2015 at 7:12:20 PM UTC+5:30, José Lorenzo wrote: > > What field are you trying to validate? > > On Friday, February 27, 2015 at 2:02:00 PM UTC+1, Cake Developer wrote: >> >> I s

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('in

Re: cakephp 3.0 supporting web hosting list

2015-02-27 Thread José Lorenzo
;> but godaddy delux plan is okay with cost $108/year >>>>>> >>>>>> Thanks >>>>>> >>>>>> On Thursday, February 26, 2015 at 3:47:46 PM UTC+5:30, José Lorenzo >>>>>> wrote: >>>>>>> >>&

Re: cakephp 3.0 supporting web hosting list

2015-02-27 Thread Cake Developer
Hi Mark, Thanks I will check it out. Can you check and answer of my other issue regarding get and modify conditions? here is a link https://groups.google.com/forum/#!topic/cake-php/rOINCsXs2Vg Thanks On Friday, February 27, 2015 at 6:35:02 PM UTC+5:30, mark_story wrote: > > Linode also has a vp

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 http://twitter.com/CakeP

  1   2   3   >