Hi Kevin,
It worked perfectly!!
I just would lime to know why only Addresses need the id.
But if you dont know, thats OK. You already relped me!!
Thanks a lot!
Best regards,
Paulo Terra
--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will soon be
Hi Kekin, it is very kind of you help this poor Cake novice. It have been
hard programing days.
Ok, if I have a hidden ID field of the Addresses I think it is going to
work. But why do I have to put the Addresses ID and the other entities work
without it?
Here is the form:
PS: Thanks again fo
advance!
Paulo Terra
Em segunda-feira, 18 de abril de 2016 04:50:18 UTC-3, heavyKevy escreveu:
>
> First off you don't need to cotain users 3 times,
> Users.Addresses.Countries includes all 3 tables already.
>
> Secondly, if the address has the id, it should automatically
rrors' => [],
'repository' => 'Genres'
}
],
'user' => object(App\Model\Entity\User) {
'new' => false,
'accessible' => [
'name&
;
> On Sun, Apr 3, 2016 at 7:59 PM, Paulo Terra wrote:
>
>> Sim, mas existem outros webservices confiáveis também.
>>
>> Em sábado, 2 de abril de 2016 20:06:03 UTC-3, Nilson Pena escreveu:
>>>
>>> O correio disponibiliza algum webservice gratuito?
>>&
Sim, mas existem outros webservices confiáveis também.
Em sábado, 2 de abril de 2016 20:06:03 UTC-3, Nilson Pena escreveu:
>
> O correio disponibiliza algum webservice gratuito?
>
> Em sábado, 2 de abril de 2016, Paulo Terra >
> escreveu:
>
>> Estou tentando carregar
-04-02 18:09 GMT-03:00 Paulo Terra >:
>
>> Estou tentando carregar o endereço a partir do CEP informado pelo
>> usuário. Apesar de encontrar várias pessoas perguntando por isso não
>> encontro uma resposta que funcione. Alguém já fez isso no CakePHP 3?
>>
>> --
&g
Estou tentando carregar o endereço a partir do CEP informado pelo usuário.
Apesar de encontrar várias pessoas perguntando por isso não encontro uma
resposta que funcione. Alguém já fez isso no CakePHP 3?
--
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup
We will so
channel (
> http://webchat.freenode.net/?channels=cakephp&uio=MT1mYWxzZSY5PXRydWUmMTE9MjQ2b8),
> depending on who is online of course. Stackoverflow is also usually more
> active than the group.
>
> On Monday, 29 February 2016 16:31:11 UTC+2, Paulo Terra wrote:
>>
>>
> numeric index.
>
>
>
> On Sunday, 28 February 2016 22:07:32 UTC+2, Paulo Terra wrote:
>>
>> Hi,
>>
>> I have 3 tables: User, Buyer and Address:
>>
>> User hasMany Address
>> User hasOne Buyer
>> Address belongsTo User
>> Buyer
Hi,
I have 3 tables: User, Buyer and Address:
User hasMany Address
User hasOne Buyer
Address belongsTo User
Buyer belongsTo User
In the User form (Users/add.ctp):
echo $this->Form->input('name',['label' => __('Nome')]);
echo $this->Form->input('buyer.cpf',['label' => __('CPF')]);
echo $this->Fo
Hi Gaurav,
Thank you for your answer. It did not work.
Best regards.
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"
Hi,
There are 4 tables:
User, Seller, Shopkeeper and Address. The relations are: one User has one
Seller, one Seller has one Shopkeeper and one User has many Address.
I baked to create all the code I am using. To save the Shopkeeper I use the
Shopkeeper Controller and the add.ctp of the Shopke
)
);
I also tryed this at birthdate input configuration but it does not worked:
'format'=> ('d/m/Y')
Does anybody know what am I doing wrong?
Thanks
Paulo Terra
--
Like Us on FaceBook https://www.facebook.com/Cak
27;french', 'App\Model\Validation\FrValidationRule');
>
>
> $validator
> ->add('phone', 'phone', [
> 'rule' => 'phone',
> 'provider' => 'french',
>
e', 'valid', ['rule' => 'date'])
->requirePresence('birthdate', 'create')
->notEmpty('birthdate');
return $validator;
}
/**
* Returns a rules checker object that will be used for
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
>> poor. It does not s
documentation about this?
thanks in advance.
2015-06-13 12:27 GMT-03:00 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
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, "Pa
u 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 pl
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
Hi Allan, how are you?
I would like to know if you have solved your issue because it is the same I
have! :)
Best regards,
Paulo Terra
Em quarta-feira, 19 de junho de 2013 11:55:25 UTC-3, Allan Diego escreveu:
>
> Hello,
>
> How can I implement multiple types of models?
>
22 matches
Mail list logo