# |
Dec 1st 2017, 11:09 |
birdy247 |
but want to make it reusable across different models |
# |
Dec 1st 2017, 11:08 |
birdy247 |
File uploaded https://cakesf.slack.com/files/U0T295QA3/F87NSK8JD/-.php / https://slack-files.com/T053DPNCM-F87NSK8JD-2a61f83f4f |
# |
Dec 1st 2017, 11:08 |
birdy247 |
I have made this |
# |
Dec 1st 2017, 11:08 |
birdy247 |
I cant find in the book where t create custom validation rules |
# |
Dec 1st 2017, 10:56 |
a.francazi |
fresh install in debug mode |
# |
Dec 1st 2017, 10:55 |
a.francazi |
*app load really fast when i click the refresh button, but when i hit f5 or strg+r to refresh it loads much longer? |
# |
Dec 1st 2017, 10:55 |
a.francazi |
why does my cake |
# |
Dec 1st 2017, 10:29 |
rudy1976s |
@dereuromark thank you I will check them up |
# |
Dec 1st 2017, 09:54 |
dereuromark |
rudy: make one and put it on the awesome list, speaking of, I think there is one you could help get there: https://github.com/FriendsOfCake/awesome-cakephp/wiki#plugins-waiting-to-be-added |
# |
Dec 1st 2017, 09:51 |
rudy1976s |
another question: I need to use DataTable: any idea about some reliable plugin for cake 3.x ? |
# |
Dec 1st 2017, 09:19 |
rudy1976s |
@steinkel ah ok |
# |
Dec 1st 2017, 09:19 |
rudy1976s |
if a user own LDAP credential, after attempt to login, if there is no user on base level it should create one and then login, like actually happens when login with social |
# |
Dec 1st 2017, 09:19 |
steinkel |
then add your authenticate object at the end of the array |
# |
Dec 1st 2017, 09:18 |
rudy1976s |
@steinkel but I need a second level, not a replacement: I need to check if a user is authenticated on the app first and then , if requested by a configuration, authenticate using second level, like LDAP, or others |
# |
Dec 1st 2017, 09:16 |
steinkel |
first load the plugin, then override the authenticate array using `Configure::write('Auth.authenticate', [...]);` |
# |
Dec 1st 2017, 09:15 |
steinkel |
https://github.com/CakeDC/users/blob/master/Docs/Documentation/Configuration.md#default-authenticate-and-authorize-objects-used |
# |
Dec 1st 2017, 09:14 |
rudy1976s |
@steinkel yes I need know to understand how to extend the plugin to be bale to add my things, thank you |
# |
Dec 1st 2017, 08:55 |
steinkel |
@rudy1976s yes, you can add any number of authentication/authorization objects |
# |
Dec 1st 2017, 08:36 |
rudy1976s |
I am going to install the cakeDC Users plugin: using its events, is it possible to add a "second" level of authentication, for example LDAP or other federated system ? |
# |
Dec 1st 2017, 08:36 |
birdy247 |
morning |
# |
Dec 1st 2017, 08:35 |
rudy1976s |
Good morning to all |
# |
Dec 1st 2017, 05:28 |
admad |
On older version you can just use input() instead of control() |
# |
Dec 1st 2017, 05:27 |
admad |
AlexMax: control() is the replacement for input() |
# |
Dec 1st 2017, 03:08 |
AlexMax |
(I'm sadly stuck on a system with PHP 5.4 + distro supplied security patches...at least for now) |
# |
Dec 1st 2017, 03:07 |
AlexMax |
what is this ::control() stuff in the docs and why doesn't 3.1 have it |
# |
Dec 1st 2017, 03:07 |
AlexMax |
Why is there no mention of FormHelper::input() in the docs anymore? |
# |
Nov 30th 2017, 22:15 |
obinoob |
anyone knows why debug($entity->errors()); is filled with errors but they do not get displayed as usually? I'm using form helper to build form... |
# |
Nov 30th 2017, 22:03 |
obinoob |
sorry too much "the" |
# |
Nov 30th 2017, 22:02 |
obinoob |
I have debugged the entity and the actually the validation errors are there but not showing in the form why is that? |
# |
Nov 30th 2017, 21:52 |
obinoob |
*trouble |
# |
Nov 30th 2017, 21:52 |
obinoob |
casmo: as I thought, I've read that you can specify a custom validator but that is not what I need... anyway I'm guessing that my it's naming misuse! |
# |
Nov 30th 2017, 21:45 |
casmo |
Associaations uses their own table validation rules |
# |
Nov 30th 2017, 21:31 |
obinoob |
Do I need to write a custom validator when using nested associations? |
# |
Nov 30th 2017, 21:14 |
obinoob |
neon1024 thank you for your precious help ;) |
# |
Nov 30th 2017, 21:14 |
obinoob |
So I manage to save data using associations with more than one table deep :) pretty awesome really! But I'm facing lack of validation... I believe that validation runs before marshalling?!? |
# |
Nov 30th 2017, 20:54 |
obinoob |
dereuromark well, I haven't found it but I was able to manage ;) |
# |
Nov 30th 2017, 20:49 |
dereuromark |
should be in docs |
# |
Nov 30th 2017, 20:41 |
obinoob |
Whats the form input type naming convention for hasMany association? |
# |
Nov 30th 2017, 20:30 |
maymeow |
File uploaded https://cakesf.slack.com/files/U1JUQH43E/F892B7HPZ/chrome_2017-11-30_21-28-04.png / https://slack-files.com/T053DPNCM-F892B7HPZ-57a4e1b86e - git with php |
# |
Nov 30th 2017, 20:12 |
saeideng |
by |
# |
Nov 30th 2017, 20:10 |
inoas |
gnite |