Log message #4116041

# At Username Text
# 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?
# Feb 9th 2018, 14:59 kevin I do have the Decklist entity in Model/Entity/Decklist.php
# Feb 9th 2018, 14:58 kevin It just reloads the /edit/1 page again with no messages
# Feb 9th 2018, 14:58 kevin I feel like im doing something super silly here. I cant get this form to save: https://pastebin.com/tiKnt9gR
# Feb 9th 2018, 14:40 jkarlmen because right now once activated i get the error "Users is not associated with ModelName" if i modify the plugin directly it works but that is generally frowned upon
# Feb 9th 2018, 14:39 jkarlmen I'd extend it but that would mostly apply it's properties to another model ... I'd like to mainly just apply table relations to the model the plugin is using
# Feb 9th 2018, 14:38 jkarlmen If so is there a way of adding to that plugin's model without modifying the vendor files?
# Feb 9th 2018, 14:38 jkarlmen so yet another question. Is it safe to assume that once loaded, the model of a plugin supersedes the model of a similarly name model in the app controller?
# Feb 9th 2018, 14:36 dereuromark sugitime: I only had this when importing e.g. from csv, then I had to manually str_replace them back from \r to "\r".
# Feb 9th 2018, 14:36 kevin it 100% does
# Feb 9th 2018, 14:36 kevin exactly