Log message #4223324

# At Username Text
# Jan 22nd 2020, 13:26 matt Hi, is there a way to concat breadcrumb globally
# Jan 22nd 2020, 11:52 thomas078 Thanks! This is exactly what i need
# Jan 22nd 2020, 11:51 jotpe Hey
# Jan 22nd 2020, 09:58 neon1024 Ahoy!
# Jan 22nd 2020, 09:26 challgren Evening all
# Jan 22nd 2020, 08:54 alexdd55976 morning
# Jan 22nd 2020, 08:03 tobse @thomas078 I am using https://phpdocker.io/generator to build my docker-containers with nginx and I have no Header "nosniff"
# Jan 22nd 2020, 07:58 neon1024 iquana I think people have used this one in the past https://github.com/alt3/cakebox
# Jan 22nd 2020, 07:06 javier.villanueva If I have a "belongsTo" association (A belongsTo B) with "select strategy"... Can I get specific fields of B in a find of A?
# Jan 22nd 2020, 07:03 thomas078 any help much appreciated
# Jan 22nd 2020, 07:02 thomas078 i think that this adds nosniff
# Jan 22nd 2020, 07:02 thomas078 trying to run cake on https://hub.docker.com/r/wyveo/nginx-php-fpm
# Jan 22nd 2020, 06:54 thomas078 good. so it must be then my nginx
# Jan 22nd 2020, 06:52 admad cake doesn't add any such header
# Jan 22nd 2020, 06:51 thomas078 one problem i have now is that i get X-Content-Type-Options: nosniff. Not sure if it is added by cakephp or nginx
# Jan 22nd 2020, 06:51 javier.villanueva morning all
# Jan 22nd 2020, 06:46 thomas078 nginx
# Jan 22nd 2020, 06:46 thomas078 trying to find proper docker php-fpm container to run my cakephp 3 app. Any suggestions
# Jan 22nd 2020, 01:26 luizcmarin @challgren "doesnt seem like a file upload plugin" ... I better go to sleep ...
# Jan 22nd 2020, 00:48 challgren https://github.com/josbeir/cakephp-filesystem is the only CakePHP 4 plugin for file uploading right now. https://github.com/friendsofcake/awesome-cakephp#files
# Jan 22nd 2020, 00:47 challgren laminas/laminas-diactoros doesnt seem like a file upload plugin
# Jan 22nd 2020, 00:44 luizcmarin I need to attach images to the register. Any information on how to use "laminas/laminas-diactoros" to do this in cake4? I have a varchar field (255).
# Jan 21st 2020, 18:33 ricksaccous awesome
# Jan 21st 2020, 18:31 jotpe @ricksaccous This works: `<?= $this->Form->control('items', ['multiple' => 'checkbox', 'options' => $optionalItems, '*value*' => $selected]) ?>`
# Jan 21st 2020, 18:30 jotpe I set the Items in my Controller then manually
# Jan 21st 2020, 18:30 jotpe This is unfortunately not an option. I need to seperate the Items into RequiredItems/OptionalItems. I don't want the RequiredItems as Checkboxes
# Jan 21st 2020, 18:29 ricksaccous is this some sort of custom structure that isn't being saved but acted upon?
# Jan 21st 2020, 18:28 ricksaccous @jotpe why wouldn't your entity be able to tell which ones are selected?
# Jan 21st 2020, 18:23 slackebot <jotpe>
# Jan 21st 2020, 18:22 jotpe My Options look like this:
# Jan 21st 2020, 18:21 jotpe This is the control: `<?= $this->Form->control('items', ['multiple' => 'checkbox', 'options' => $optionalItems, 'selected' => $selected]) ?>`
# Jan 21st 2020, 18:21 jotpe I have a control for multiple checkboxes, but I can't set the selected Items. How can I select the checkboxes?
# Jan 21st 2020, 17:58 ricksaccous it happens to the best of us
# Jan 21st 2020, 17:58 ricksaccous that's no problem
# Jan 21st 2020, 17:54 carl65 I finally found the mistake I made an I'm so sorry, I bothered you with this. It was simply a typo in the form, having "group_id" in edit.ctp and "group" in add.ctp. Hence the new user did not belong to a group and was not allowed to log in. Sooooo sorry.
# Jan 21st 2020, 16:52 ricksaccous @javier.villanueva that works
# Jan 21st 2020, 16:52 ricksaccous to modify it for this one field, thanks
# Jan 21st 2020, 16:52 ricksaccous yeah i just listended for the query params
# Jan 21st 2020, 16:23 javier.villanueva in this case
# Jan 21st 2020, 16:23 javier.villanueva and use DESC instead ASC
# Jan 21st 2020, 16:21 ricksaccous @javier.villanueva will try that