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

2015-06-13 Thread Paulo Terra
Thank you Anthony, this would be very kind of you. I am at a child party at the moment, but I will try to do this validator as soon as I get home. best regards Paulo Em 13/06/2015 14:04, "Anthony GRASSIOT" escreveu: > well it can be anywhere. Personally I baked a plugin and put my class > unde

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

2015-06-13 Thread Anthony GRASSIOT
I can show you the real example tomorrow if you didn't found a solution Le 13 juin 2015 19:03, "Anthony GRASSIOT" a écrit : > well it can be anywhere. Personally I baked a plugin and put my class > under src/Model/Validation/FrenchValidation.php under the > App/Model/Validation namespace for exam

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

2015-06-13 Thread Anthony GRASSIOT
well it can be anywhere. Personally I baked a plugin and put my class under src/Model/Validation/FrenchValidation.php under the App/Model/Validation namespace for example. Le 13 juin 2015 17:52, "Paulo Terra" a écrit : > Hi José and Anthony, Thank you for your help, but the explanation is very >

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

2015-06-13 Thread Paulo Terra
Hi José and Anthony, Thank you for your help, but the explanation is very poor. It does not say how to find the validation class, the folder it should be, not even an example of how it should be constructed, the method and if you have more then one validation to construct. Is there a better docume

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

2015-06-13 Thread Paulo Terra
This is exactly what I was reading at the moment. Thanks José. Em 13/06/2015 12:10, "Anthony GRASSIOT" escreveu: > he's refering to this: > > http://book.cakephp.org/3.0/en/core-libraries/validation.html#adding-validation-providers > Le 13 juin 2015 16:49, "Paulo Terra" a écrit : > >> Thank you

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

2015-06-13 Thread Anthony GRASSIOT
he's refering to this: http://book.cakephp.org/3.0/en/core-libraries/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 > phones. > > When you say c

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

2015-06-13 Thread Paulo Terra
Thank you José for your reply. I need to validate brazilian ID´s CPF and CNPJ, brazilian ZIP Code and phones. When you say custom validation provider do you mean the model in cake? Em sábado, 13 de junho de 2015 04:13:25 UTC-3, José Lorenzo escreveu: > > There isn't yet. What do you need from

Re: Avoid converting date/datetime fields to Cake/Time instances with CakePHP 3

2015-06-13 Thread Aday Talavera
Following my example and you answer in https://groups.google.com/forum/?hl=es#!topic/cake-php/zUwDGhkMFO4 this could be achieved like this: combine(function($entity){return $entity->date->toDateString();}, 'id') El sábado, 13 de junio de 2015, 8:17:56 (UTC+1), José Lorenzo escribió: > > There

Re: Editor for Cakephp

2015-06-13 Thread hanna marie natividad
Try Netbeans. On Saturday, June 13, 2015 at 3:12:42 PM UTC+8, Pamela Whittaker wrote: > > What do you suggest as an editor for CakePHP please? I use Dreamweaver cs6 > for PHP but that doesn't open .ctp files. Thanks > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter ht

Re: Editor for Cakephp

2015-06-13 Thread Willem Schwarte
Phpstorm is awesome > Op 11 jun. 2015 om 11:45 heeft Pamela Whittaker > het volgende geschreven: > > What do you suggest as an editor for CakePHP please? I use Dreamweaver cs6 > for PHP but that doesn't open .ctp files. Thanks > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > F

Re: Why does CakeRequest::clientIp() not have option for only read REMOTE_ADDR?

2015-06-13 Thread José Lorenzo
All of those headers can be manipulated On Tuesday, June 9, 2015 at 3:21:06 PM UTC+2, ura.beta.m...@gmail.com wrote: > > Why does CakeRequest::clientIp() not have option for only read REMOTE_ADDR? > > If user manipulate HTTP_CLIENT_IP or HTTP_CLIENTADDRESS header, > CakeRequest::clientIp() return

Re: White screen

2015-06-13 Thread Md Bayezid Alam
Check first the requirement is configured on ubuntu http://book.cakephp.org/3.0/en/installation.html#requirements . specially intl extension and mbstring extension On Sat, Jun 13, 2015 at 10:01 AM, joelro wrote: > I am running an Ubuntu 14.04 server and only get a white screen when I go > to my

Re: Avoid converting date/datetime fields to Cake/Time instances with CakePHP 3

2015-06-13 Thread José Lorenzo
There are a few ways to accomplish this: First one: // ArticlesTable.php public function _initializeSchema($schema) { $schema->columnType('my_date_column', 'string'); } That will remove all the converting back and forth for that specific column. It will still be a date in the database, but

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

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

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 'apellidos' or 'dni'. In my Controlle

White screen

2015-06-13 Thread joelro
I am running an Ubuntu 14.04 server and only get a white screen when I go to my sites address. I assume it is a configuration probel, but I'm stuck. Any suggestions for fixing this cakephp 3.0 install? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.c

Editor for Cakephp

2015-06-13 Thread Pamela Whittaker
What do you suggest as an editor for CakePHP please? I use Dreamweaver cs6 for PHP but that doesn't open .ctp files. Thanks -- 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 Goog