Log message #4104619

# At Username Text
# Dec 18th 2017, 18:26 joop echo $this->Form->control($index.'.points',['label'=>(__('Points:'))]);
# Dec 18th 2017, 18:25 joop ohm that really interesting,i dig into deeper myself,its shows something in the template
# Dec 18th 2017, 18:24 rafael.junqueira.sant hey, can someone help me? I've been searching for a while and can't find a solution on how to retrieve data from multiple tables with the orm.
# Dec 18th 2017, 18:19 joop Call to undefined function App\Model\Table\ValidPoint()
# Dec 18th 2017, 18:19 joop by the model's add page when try to create new record
# Dec 18th 2017, 18:15 hmic where when how
# Dec 18th 2017, 18:15 joop keep getting call to undefinied function
# Dec 18th 2017, 18:15 joop $validator->setProvider('costume','App\Model\Rule\ValidPoint\ValidPoint');
# Dec 18th 2017, 18:07 inoas fixed @ admad
# Dec 18th 2017, 18:05 joop also tried $validator->setProvider('rr','App\Model\Rule\ValidPoint\ValidPoint');
# Dec 18th 2017, 18:05 joop in the model file i use this : $validator->setProvider('costume','App\Model\Rule\ValidPoint');
# Dec 18th 2017, 18:04 joop hmic i followed your instructions, namespace correct in validation file,located in the modele\rule folder
# Dec 18th 2017, 18:04 birdy247 and it is installed
# Dec 18th 2017, 18:04 birdy247 but I have a node_modules folder
# Dec 18th 2017, 18:04 birdy247 keeps saying cross-env not found
# Dec 18th 2017, 18:03 birdy247 I am having problems getting it setup
# Dec 18th 2017, 18:03 inoas no just elixir mix ;-)
# Dec 18th 2017, 18:03 birdy247 Is anyone using laravell-mix??
# Dec 18th 2017, 18:01 inoas @admad still any wishes for THIS PR @ https://github.com/cakephp/authentication/pull/159 ?
# Dec 18th 2017, 17:58 leon Ok. But this was not my question.
# Dec 18th 2017, 17:54 hmic leon: fail!
# Dec 18th 2017, 17:54 leon File uploaded https://cakesf.slack.com/files/U1G9WJU4Q/F8GBF4G58/api_response.js / https://slack-files.com/T053DPNCM-F8GBF4G58-cfb651d392
# Dec 18th 2017, 17:54 hmic and you need to add the token to any response, if you want it to "persist", yourself!
# Dec 18th 2017, 17:53 hmic leon: fail!
# Dec 18th 2017, 17:53 leon File uploaded https://cakesf.slack.com/files/U1G9WJU4Q/F8GBEE88J/userscontroller_php.php / https://slack-files.com/T053DPNCM-F8GBEE88J-29a9df699f
# Dec 18th 2017, 17:52 leon @bravo-kernel and @all Im back again :) The API works and grows. I tried to implement the JWT Token Plugin together with the crud-json-api. Like in your example from your website i try to save the data with this code, an it works fine, except the response is another (without token). Do you have a hint what i would have to change? My Code in UserController:
# Dec 18th 2017, 17:48 leon Hello
# Dec 18th 2017, 17:47 hmic like i said above
# Dec 18th 2017, 17:47 joop vendor\cakephp\cakephp\src\ORM\Rule ?
# Dec 18th 2017, 17:46 joop and where should locate the costume validation file?
# Dec 18th 2017, 17:45 joop okey ive just tried taht before i ask your help
# Dec 18th 2017, 17:45 hmic there are no choices!
# Dec 18th 2017, 17:45 joop in the model where i want to use : use App\ORM\Rule;
# Dec 18th 2017, 17:44 joop it was Model\Rule
# Dec 18th 2017, 17:43 hmic like the dir your file is in
# Dec 18th 2017, 17:43 hmic App\Model\Rule
# Dec 18th 2017, 17:43 hmic no
# Dec 18th 2017, 17:43 joop okey i set up the namespace in the ValidPoint.php file namespace App\Model\Table;
# Dec 18th 2017, 17:28 joop moment i try tocheck the namespace
# Dec 18th 2017, 17:23 hmic how do you use the validation rules that this provider provides?
# Dec 18th 2017, 17:23 joop thank you for your patient