Log message #4186905

# At Username Text
# May 20th 2019, 12:22 inoas what's the correct way to add has and belongs to many checkboxes alongside join table data
# May 20th 2019, 12:19 k4t Router::parse
# May 20th 2019, 12:19 k4t ok, found it
# May 20th 2019, 12:16 k4t is it possible to "deconstruct" url string to array which contain controller name, action, params etc. ?
# May 20th 2019, 12:04 admad @neon1024 "It does add, edit and index just fine" That's a vital piece of info which you havent mentioned in the ticket
# May 20th 2019, 12:02 admad as the names suggests it's called **after** a save is done. So of course any changes done there won't end up in the db.
# May 20th 2019, 11:57 welo.lamacchia why when i change entity in afterSave callback, no edit field was save in my database? In afterSave i have to call save method after changing field ?
# May 20th 2019, 11:44 josbeir i'm probably wrong tho :P
# May 20th 2019, 11:44 josbeir same for the prefix argument
# May 20th 2019, 11:44 josbeir cant recall x=x works in cake but i could be wrong :P
# May 20th 2019, 11:43 josbeir @neon1024 not sure but isn't it --theme xxx instead of theme=xxx
# May 20th 2019, 11:26 neon1024 I can’t figure it out :( Hopefully someone will update the ticket 8)
# May 20th 2019, 10:32 neon1024 I’m reading the TemplateCommand class
# May 20th 2019, 10:31 neon1024 Hey @dereuromark any chance you could point me in the right direction for this? I’m looking for the right bit in the source, but I’m not sure where to look really https://github.com/cakephp/bake/issues/549
# May 20th 2019, 10:20 dereuromark sure, whats the issue using the callback for it?
# May 20th 2019, 10:20 welo.lamacchia everyone know if is possible to change entity field in after save ?
# May 20th 2019, 10:18 ishan Hello, can anyone know how to pass default configurations array in initialize method when using other components in another component.
# May 20th 2019, 10:09 neon1024 Is there a way to validate my twig template?
# May 20th 2019, 09:58 neon1024 Can anyone think why my 4.0.0-alpha1 bake theme won’t use my `view.twig` template? It does add, edit and index just fine
# May 20th 2019, 09:37 kgb.acct.personal Thanks :doge:
# May 20th 2019, 09:34 neon1024 https://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html
# May 20th 2019, 09:34 neon1024 Oh sorry, you add the behaviour to the model
# May 20th 2019, 09:31 kgb.acct.personal > Ah. So it's what enables `contain` in model. I mean, in Cake 2
# May 20th 2019, 09:31 neon1024 https://book.cakephp.org/3.0/en/orm/query-builder.html#loading-associations
# May 20th 2019, 09:30 kgb.acct.personal I think I have to re-read the doc
# May 20th 2019, 09:30 kgb.acct.personal Wut
# May 20th 2019, 09:29 neon1024 No need to ‘enable’ it
# May 20th 2019, 09:26 kgb.acct.personal Thanks neon
# May 20th 2019, 09:26 kgb.acct.personal Ah. So it's what enables `contain` in model.
# May 20th 2019, 09:20 neon1024 `$ExamplesTable->find()->contain(['Tutorials'])`
# May 20th 2019, 09:20 neon1024 If you’re using Cake 3, then `contain()` is an ORM method in the Query class
# May 20th 2019, 09:19 kgb.acct.personal It's built-in on Cake 3, but not on Cake 2? So I may have to define it?
# May 20th 2019, 09:18 neon1024 It’s so helpful, it was included in the core for Cake 3
# May 20th 2019, 09:17 neon1024 @kgb.acct.personal For Cake 2? Yes, it’s very helpful
# May 20th 2019, 09:15 kgb.acct.personal ELI5: What is ContainableBehavior? Is it really necessary?
# May 20th 2019, 07:31 dereuromark of course, in the Backend if you run a 3.x version. otherwise just run it with -v and log the output into a file. > log.txt
# May 20th 2019, 06:36 nils @dereuromark regarding the Queue-plugin, is it possible to check if the worker is running? I added the crontab settings as in the documentations, but the jobs haven't been triggered.
# May 20th 2019, 04:40 admad @maymeow using a middleware or Controller:: afterFilter () callback
# May 19th 2019, 20:55 waan can't open webset in xammp
# May 19th 2019, 20:40 maymeow how can i modify header on each response? (i need add header of each response)
# May 19th 2019, 11:51 ndm I did things manually for quite some time, but with larger navigations, things started to become really annoying, so I took the time to create a plugin for it: https://github.com/icings/menu