Log message #4184848

# At Username Text
# Apr 27th 2019, 10:17 asdfgh dereuromark, i see you "anchor" for js and css https://github.com/dereuromark/cakephp-sandbox/tree/master/webroot/css/anchor https://github.com/dereuromark/cakephp-sandbox/tree/master/webroot/js/anchor
# Apr 27th 2019, 10:11 dereuromark asdfgh: check how the sandbox app for example does things, including asset compress
# Apr 27th 2019, 10:10 dereuromark or u use the shim plugin Sesssion helper^^
# Apr 27th 2019, 10:10 dereuromark @om.axisweb view->getRequest()->getSession() or sth
# Apr 27th 2019, 09:57 asdfgh or do you simply create a webroot/vendor/ where you put all the things?
# Apr 27th 2019, 09:57 asdfgh just to organize it better?
# Apr 27th 2019, 09:57 asdfgh guys pardon one question when you download a js library that has .js files and .css files how you manage them in webroot ? i mean, the official doc says that when need to use webroot/js/ and webroot/css folders, so what do you do? do you create something like: webroot/js/library_name/main.js and webroot/css/library_name/main.css ?
# Apr 27th 2019, 09:24 welo.lamacchia I have two tables: Leads and Fields, i want to save associated Fields.joinData with this array but when i call Leads->newEntity($data, ['associated' => 'Fields._joinData') i get the last row of array repeated 4 times... Anyone can help me ?
# Apr 27th 2019, 09:15 om.axisweb how to get session value in helper ?
# Apr 27th 2019, 07:08 admad For anyone trying out Cake 4 ^
# Apr 27th 2019, 07:08 admad https://gist.github.com/ADmad/40455bdbdd4021d9901ea315cdee9226
# Apr 26th 2019, 20:37 itmpls is there a way to apply a conditional to '->add' for validation for only when it's present, without relying on notEmpty methods?
# Apr 26th 2019, 18:38 ricksaccous and see if it works
# Apr 26th 2019, 18:38 ricksaccous i'd test it without using the finder
# Apr 26th 2019, 18:38 ricksaccous seems strange sortWhitelist doesn't work
# Apr 26th 2019, 18:37 ricksaccous oh i see
# Apr 26th 2019, 18:24 jnguyen I had to check to be sure
# Apr 26th 2019, 18:24 jnguyen the finder is using a contain
# Apr 26th 2019, 18:24 jnguyen sorry the assocations were already defined lol
# Apr 26th 2019, 18:23 jnguyen ah you know what I lied
# Apr 26th 2019, 18:21 ricksaccous is the association that hard to define without a finder?
# Apr 26th 2019, 18:21 ricksaccous i've gotten it wrong a couple times
# Apr 26th 2019, 18:21 ricksaccous also make sure you have sortWhitelist capitalized correctly and everything
# Apr 26th 2019, 18:20 ricksaccous sounds like a bad idea tbh
# Apr 26th 2019, 18:20 jnguyen take out sortwhitelist and check the request query for the sort and direction values
# Apr 26th 2019, 18:19 jnguyen can I just use order instead?
# Apr 26th 2019, 18:18 jnguyen hm
# Apr 26th 2019, 18:18 ricksaccous lol
# Apr 26th 2019, 18:18 ricksaccous yeah the actual associations
# Apr 26th 2019, 18:18 jnguyen oh you mean the actual associations
# Apr 26th 2019, 18:18 ricksaccous just paste your code
# Apr 26th 2019, 18:18 ricksaccous no that's not what i meant
# Apr 26th 2019, 18:17 jnguyen ?
# Apr 26th 2019, 18:17 jnguyen the pagination component
# Apr 26th 2019, 18:17 ricksaccous it has a conditions option
# Apr 26th 2019, 18:17 ricksaccous without using a finder
# Apr 26th 2019, 18:17 ricksaccous you could use conditions to define the association
# Apr 26th 2019, 18:17 jnguyen bascially to filter out some data
# Apr 26th 2019, 18:16 jnguyen yeah
# Apr 26th 2019, 18:16 ricksaccous are you using a finder because there are conditions?
# Apr 26th 2019, 18:16 jnguyen hmmm