# |
Jun 21st 2018, 08:24 |
ra7bi |
hello all , anyone knows how to set custom css class for input type text in https://github.com/Holt59/cakephp3-bootstrap-helpers |
# |
Jun 21st 2018, 08:24 |
neon1024 |
The TableLocator class is about 90% the same as TableRegistry |
# |
Jun 21st 2018, 08:23 |
neon1024 |
The class isn’t actually deprecated, but part of the API is, and the naming is changing |
# |
Jun 21st 2018, 08:23 |
neon1024 |
@birdy247 It’s a bit of a misnomer really |
# |
Jun 21st 2018, 08:23 |
neon1024 |
Which just wraps the code that Jorge mentioned |
# |
Jun 21st 2018, 08:23 |
neon1024 |
I use this trait |
# |
Jun 21st 2018, 08:23 |
neon1024 |
https://github.com/cakephp/cakephp/blob/de7ebdb88e11c4283185ba33c827151f02352b4b/src/ORM/Locator/LocatorAwareTrait.php |
# |
Jun 21st 2018, 08:21 |
birdy247 |
I thought TableRegistry was being depricated |
# |
Jun 21st 2018, 08:19 |
steinkel |
@birdy247 TableRegistry::getTableLocator()->get('X'); |
# |
Jun 21st 2018, 08:17 |
hmic |
magiq_, have you checked the locale validator instead? |
# |
Jun 21st 2018, 08:16 |
birdy247 |
(new TableLocator())->get('MembershipExtras') |
# |
Jun 21st 2018, 08:16 |
birdy247 |
I have been writing like this |
# |
Jun 21st 2018, 08:16 |
birdy247 |
How are people replacing TableRegistery::get ? |
# |
Jun 21st 2018, 08:16 |
madbbb |
@steinkel thank you:+1: |
# |
Jun 21st 2018, 08:14 |
steinkel |
@madbbb not out of the box, it's an all or nothing configuration now, but you could add a flag to users table and check it to enable 2fa per user |
# |
Jun 21st 2018, 08:13 |
madbbb |
morning. Is it possible to use cakedc/users 2fa per user? when I added Configure::write('Users.GoogleAuthenticator.login', true) it started to authenticate every user. Should I use some prelogin event which will turn Users.GoogleAuthenticator.login based on user settings or is there a better way? |
# |
Jun 21st 2018, 08:10 |
magiq_ |
$validator->dateTime('field', ['Y/m/D'] raises error |
# |
Jun 21st 2018, 08:10 |
magiq_ |
how to specify validator datetime format ? |
# |
Jun 21st 2018, 08:05 |
birdy247 |
morning @neon1024 |
# |
Jun 21st 2018, 08:01 |
turkles |
thanks, will look into it |
# |
Jun 21st 2018, 08:00 |
neon1024 |
Morning |
# |
Jun 21st 2018, 07:55 |
saeideng |
https://book.cakephp.org/3.0/en/console-and-shells.html#commands |
# |
Jun 21st 2018, 07:55 |
magiq_ |
where can I handle this ? |
# |
Jun 21st 2018, 07:55 |
magiq_ |
it's pretty sick with AM/PM but database can't save this |
# |
Jun 21st 2018, 07:54 |
magiq_ |
Problem with datetime widget format |
# |
Jun 21st 2018, 07:54 |
magiq_ |
Did somebody use crud-view ? |
# |
Jun 21st 2018, 07:54 |
saeideng |
@turkles command |
# |
Jun 21st 2018, 07:43 |
magiq_ |
how to specify options for widget from View class, not from ctp file via $this->Form->control('some', ['option' => 'some |
# |
Jun 21st 2018, 07:18 |
birdy247 |
Hey, I am using cakebox and have managed to kill elastic search, but logstash is killing me :slightly_smiling_face: I kill that and it instanatly respawns |
# |
Jun 21st 2018, 06:59 |
turkles |
what is replacing shells.. I see they will be deprecated? |
# |
Jun 21st 2018, 06:04 |
megan |
sdsas - no they are not, all volunteered time :slightly_smiling_face: CakeDC pays for their developers to work on open source as part of their work though - you can check out their plugins here https://github.com/cakedc and they also contribute to the core every now and then. They also sponsor our training - http://training.cakephp.org/ |
# |
Jun 21st 2018, 05:59 |
sdsas |
http://www.archer-soft.com/en/blog/top-7-best-php-frameworks-2017 cake is number one in this article |
# |
Jun 21st 2018, 05:58 |
sdsas |
is the cakephp core team paid? |
# |
Jun 21st 2018, 05:57 |
megan |
and CakeDC who is committed to supporting the framework and community |
# |
Jun 21st 2018, 05:57 |
turkles |
Is the laravel channel popular because people need help with it? Maybe it's quiet here because cake is easier to use.. |
# |
Jun 21st 2018, 05:57 |
megan |
sdsas - true for any framework though. But for CakePHP, there is a committed core team, and many many contributors - not only to core but also to support right here :slightly_smiling_face: |
# |
Jun 21st 2018, 05:56 |
dakota |
Not on my watch :D |
# |
Jun 21st 2018, 05:55 |
sdsas |
slackebot4: true. friendliness cannot be judged by numbers. It's hard not to get worried when cakephp loses popularity. it may simply die off one day and the time/effort invested learning on this platform becomes useless |
# |
Jun 21st 2018, 05:47 |
megan |
sdsas ^ :slightly_smiling_face: |
# |
Jun 21st 2018, 05:47 |
megan |
@sdas a lot of ppl have moved over to the slack channel :slightly_smiling_face: but also size doesnt speak to community friendliness or whether the framework is right for you (and your project) or not - as we always say, find a tool that works well for you and your project |
# |
Jun 21st 2018, 05:43 |
saeideng |
wordpress has bigger community even when comparing with Laravel community , wordpress is other choice |