Log message #4116051

# At Username Text
# Feb 9th 2018, 16:43 neon1024 I don’t see a problem with extending a plugins model and using the application one. I do it all the time
# Feb 9th 2018, 16:43 neon1024 You asked about extending plugin models?
# Feb 9th 2018, 16:42 neon1024 Er, no idea. Sorry. Probably not?
# Feb 9th 2018, 16:41 jkarlmen @neon1024 was that bit about callbacks directed at my question?
# Feb 9th 2018, 16:25 neon1024 Yet again, I must tip my hat to entity mutator methods <3
# Feb 9th 2018, 16:22 neon1024 Heh, nice. I too keep a website of things I don’t want to forget. http://jedistirfry.co.uk/
# Feb 9th 2018, 16:22 loginews I am with you. My only issue around here is the time factor. My personal guide so that I don't forget is here: http://manuals.loginonline.net/cakephp4/
# Feb 9th 2018, 16:20 neon1024 Heh, or check out this ticket @loginews https://github.com/FriendsOfCake/bootstrap-ui/issues/193
# Feb 9th 2018, 16:19 neon1024 Let the team know what examples you’d like to see and what you think is missing
# Feb 9th 2018, 16:19 neon1024 That would be super helpful :)
# Feb 9th 2018, 16:19 neon1024 Sure! If you want to open a ticket on the repo https://github.com/FriendsOfCake/bootstrap-ui/issues/new
# Feb 9th 2018, 16:18 loginews if I may give my opinion, it's the examples that are missing in cakephp.
# Feb 9th 2018, 16:18 neon1024 Totally agree with you. The docs could with a Quick start section or similar
# Feb 9th 2018, 16:18 neon1024 Oh yeah, I remember now. The setup got all silly and overcomplicated with it shipping it’s own layouts and stuff
# Feb 9th 2018, 16:17 neon1024 Perhaps there is room to improve the documentation here :slightly_smiling_face:
# Feb 9th 2018, 16:17 loginews thanks. I thought so too... till I spent half an hour.
# Feb 9th 2018, 16:17 loginews sure
# Feb 9th 2018, 16:16 neon1024 Just hooking up some js files and css files into your layout
# Feb 9th 2018, 16:16 neon1024 It’s nothing complicated
# Feb 9th 2018, 16:16 loginews but I will investigate.
# Feb 9th 2018, 16:16 loginews better than that... but then I am surprised because since I made it work before on another server, and that I documented everything that I did, there must be something I missed that now it is not working.
# Feb 9th 2018, 16:15 neon1024 What are you coding in? Notepad?
# Feb 9th 2018, 16:15 loginews okay
# Feb 9th 2018, 16:15 neon1024 Use a search tool lol
# Feb 9th 2018, 16:14 neon1024 As either a file with a name containing ‘jquery’ or as code with a string of ‘jquery’
# Feb 9th 2018, 16:14 loginews under webroot? under plugins ?
# Feb 9th 2018, 16:14 neon1024 They’d be in your project
# Feb 9th 2018, 16:14 loginews I might have already installed them... how would I know ?
# Feb 9th 2018, 16:14 neon1024 Seems jQuery is on 3.x which is a bit higher than 1.9 :P
# Feb 9th 2018, 16:13 neon1024 https://unpkg.com/jquery@3.3.1/dist/jquery.js
# Feb 9th 2018, 16:13 neon1024 Which I rather like as the version is static and set in the code, but I still get the advantages of a cdn
# Feb 9th 2018, 16:13 neon1024 jQuery you can use a CDN like Google or unpkg, which allows you specify a version
# Feb 9th 2018, 16:13 neon1024 Well bootstrap you download from their website, so that’s pretty obvious
# Feb 9th 2018, 16:11 loginews I want to install friendsofcake/bootstrap-ui ... the doc on github says I should have cakephp 3.x bootstrap 3.x and jquery 1.9.... How do I know that I have the latter two? It's because somehow I managed to make bootstrap-ui work before but not today !
# Feb 9th 2018, 16:04 neon1024 Assuming it’s an entity
# Feb 9th 2018, 16:03 neon1024 I think the callback params should be explained in the docs. https://book.cakephp.org/3.0/en/core-libraries/collections.html#Cake\Collection\Collection::filter
# Feb 9th 2018, 15:13 kevin ah crap. duh. its an update, so its a put
# Feb 9th 2018, 15:12 kevin so if I debug $this->request->is(‘post’), its definitely false. but I dont know why
# Feb 9th 2018, 15:10 kevin I put some stops in my app and it looks like the app never even gets into the if($this->request->is(‘post’)) statement. I checked my form and it is going to the right end point and the method is post. Im not sure why it wouldn’t get into that if statemetn
# Feb 9th 2018, 15:09 kevin ok so I did find that I was doing entities incorrectly, and I believe I fixed that. I use the TableRegistry to pull the entity by ID, then I patch the entity with the request data
# Feb 9th 2018, 15:03 kevin should I not be using Entities to update items in my DB?