# |
Dec 19th 2017, 03:49 |
aro |
how do i get Cake to use SSL on a db connection? |
# |
Dec 19th 2017, 03:39 |
admad |
yes |
# |
Dec 19th 2017, 02:19 |
braeden |
Is it bad practice to use a Component inside a Cell? |
# |
Dec 18th 2017, 22:45 |
meder |
how come i defined a _getEditablePair method in my entity but it doesn't trigger when I do $this->Form->control('editablepair') in the template? does it only trigger if you access it directly? eg $entity->editablepair |
# |
Dec 18th 2017, 22:32 |
joop |
idont find in the debug include tab |
# |
Dec 18th 2017, 22:32 |
joop |
i need to check which validation rule was loaded,how can i do that? |
# |
Dec 18th 2017, 21:43 |
rafael.junqueira.sant |
It worked just fine, thank you, @admad. It was a relief not having to deal with joins, pretty simple and beautiful. |
# |
Dec 18th 2017, 20:41 |
tomicapo |
Of course, there must be different features on different plugins, but I need it for simple user management with roles and permissions. |
# |
Dec 18th 2017, 20:39 |
tomicapo |
Hi. I want to see your opinion. Is the CakeDC Users Plugin the best one around? |
# |
Dec 18th 2017, 20:36 |
birdy247 |
@bravo-kernel thanks |
# |
Dec 18th 2017, 18:27 |
rafael.junqueira.sant |
thank you, I'll read. |
# |
Dec 18th 2017, 18:27 |
admad |
@rafael.junqueira.sant setup association https://book.cakephp.org/3.0/en/orm/associations.html then use contain() when querying table https://book.cakephp.org/3.0/en/orm/retrieving-data-and-resultsets.html#eager-loading-associations-via-contain |
# |
Dec 18th 2017, 18:26 |
joop |
commenting out this line shows no error |
# |
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 |