Log message #4116251

# At Username Text
# Feb 11th 2018, 04:23 humbba12 I baked the models
# Feb 11th 2018, 04:23 humbba12 what do you mean with populate?
# Feb 11th 2018, 04:23 ricksaccous then you could try saving
# Feb 11th 2018, 04:23 ricksaccous you should make sure you have that right first
# Feb 11th 2018, 04:23 ricksaccous did you populate the entity with the other entities?
# Feb 11th 2018, 04:22 ricksaccous show me the controller method
# Feb 11th 2018, 04:22 humbba12 File uploaded https://cakesf.slack.com/files/U6DMU08AE/F96JTC5R6/7c3aba8731de86cba9d84d15fabff1e2526c9cb7.png / https://slack-files.com/T053DPNCM-F96JTC5R6-a28877d2a8
# Feb 11th 2018, 04:21 humbba12 I'm trying to save and item which is related with groups and groups is associated with options but it is saving only item and group but not options
# Feb 11th 2018, 03:22 ricksaccous just ask your question
# Feb 11th 2018, 02:30 humbba12 someone could help me out with saving associations?
# Feb 11th 2018, 02:29 humbba12 Hello
# Feb 11th 2018, 01:39 ricksaccous cool
# Feb 11th 2018, 01:39 ricksaccous I see I'm supposed to use matching
# Feb 11th 2018, 01:00 ricksaccous noooooo
# Feb 11th 2018, 01:00 ricksaccous ugh why is it using autotables for categories
# Feb 11th 2018, 00:56 ricksaccous $products = $this->Products->find('all')->contain(['Categories'])->where(['Categories.id' => $category->id]);
# Feb 11th 2018, 00:56 ricksaccous nvm
# Feb 11th 2018, 00:55 ricksaccous wait I think I know what I did
# Feb 11th 2018, 00:55 ricksaccous the joins are not happening
# Feb 11th 2018, 00:55 ricksaccous when I contain a HABTM model
# Feb 10th 2018, 22:34 K4T any ideas, please?
# Feb 10th 2018, 22:34 K4T in CakePHP 3.5 I have collection made from array. I am trying to use ->each method to unset some fields from each collection item. Unfortunatelly it looks like each is not modifing collection itself like it is mentioned in documentation. Here is the code: https://gist.github.com/K4T/8c0d271c9f6ee0bc030c90a6418a4d43
# Feb 10th 2018, 22:31 K4T hello
# Feb 10th 2018, 21:49 jameg83 @admad thanks, that’s sorted it. The readme is a tad confusing as it states cakepdf expects to find “the binary in usr/bin/wkhtmltopdf”. Still I should have checked the cakepdf config file for the path. Your help is much appreciated.
# Feb 10th 2018, 20:31 admad @jameg83 well then it's not surprising you get that error is cakepdf is tryingto use that path as a binary, configure it to use the path to the binary not the folder
# Feb 10th 2018, 20:05 maymeow one ide.. if i have in app something what i want to add to database when application is installing or in production
# Feb 10th 2018, 19:34 spencdev or a form that you use, and takes you to the other view?
# Feb 10th 2018, 19:33 spencdev are you talking about like a live search that paginates?
# Feb 10th 2018, 18:51 kitcat711 and then I relaod my form. Anyone with an example?
# Feb 10th 2018, 18:50 kitcat711 I want to use pagination with a search form, I am trying to display the results in a different view : results and pagination works only for the first page
# Feb 10th 2018, 18:11 jameg83 @admad it’s a folder. The Wkhtmltopdf binary is located within that folder.
# Feb 10th 2018, 16:03 admad @jameg83 is /usr/bin/wkhtmltopdf a folder or file?
# Feb 10th 2018, 14:39 slackebot -rwxr-xr-x 1 jamesg83 jamesg83 39804584 Nov 22 2016 wkhtmltopdf
# Feb 10th 2018, 14:39 jameg83 @admad jamesg83@jamesg83-HP-550 /usr/bin/wkhtmltopdf $ ls -al /usr/bin/wkhtmltopdf total 38952 drwxr-xr-x 6 jamesg83 jamesg83 4096 Feb 8 21:45 . drwxr-xr-x 3 root root 61440 Feb 8 20:58 .. drwxr-xr-x 2 jamesg83 jamesg83 4096 Feb 8 20:59 bin drwxr-xr-x 3 jamesg83 jamesg83 4096 Nov 22 2016 include drwxr-xr-x 2 jamesg83 jamesg83 4096 Nov 22 2016 lib drwxr-xr-x 3 jamesg83 jamesg83 4096 Nov 22 2016 share
# Feb 10th 2018, 14:03 waspinator I can't seem to get translated strings to show up. I have a `src/Locale/fr_FR/default.po` file with the `msgid` and translated `msgstr` and I call `I18n::setLocale('fr_FR');`. Right next to the element I call `debug(I18n::getLocale());` and I get `fr_FR`, but the message is still in English. I ran `bin/cake cache clear_all` but it still shows up in English. How can I debug to see if cake is actually finding the translation?
# Feb 10th 2018, 13:41 loginews @hmic I did follow the doc on github ; I guess something went wrong. I was given several options. I will have to play around with it later.
# Feb 10th 2018, 13:26 dereuromark My generic templates often contain both classes, a bit overhead but then I can use them in both flavors to some degree at least.
# Feb 10th 2018, 13:26 dereuromark you probably have to :slightly_smiling_face: Since e.g. nav elements have different classes
# Feb 10th 2018, 13:24 hmic i think you can bake templates with bootstrap-ui too...
# Feb 10th 2018, 13:23 hmic if that css is missing - it will not look anything good
# Feb 10th 2018, 13:23 hmic if not, the (already) baked templates assume you are still using foundation, not bootstrap