Log message #4161927

# At Username Text
# Jul 25th 2018, 11:40 tim Yes. as such it's a multiple select.
# Jul 25th 2018, 11:40 chris-andre @tim belongsToMany is the relation. Contacts belongsToMany Organizations and vice versa
# Jul 25th 2018, 11:38 mark anybody recommends a simple drag and drop plugin for images? So far, no luck on https://github.com/josbeir/cakephp-filesystem and https://github.com/josbeir/cakephp-image
# Jul 25th 2018, 11:38 tim belongsToMany is a multiple select?
# Jul 25th 2018, 11:36 chris-andre Hi peeps. Contacts belongsToMany Organizations. When viewing a contact, you can add a organization to the contact. I have a general form `<?= $this->Form->create($contact) ?>`. But when adding the select, options are not shown `$this->Form->control('organizations.0.id', ['options' => $organizations])`. `organizations._ids` in first param works, but gives me multiple select. Is there a way around?
# Jul 25th 2018, 11:06 neon1024 I’m busy in Vue.js land anyway 8)
# Jul 25th 2018, 11:05 neon1024 :man-shrugging:
# Jul 25th 2018, 11:05 neon1024 Although I’m not sure what I was ‘asking for’
# Jul 25th 2018, 11:05 neon1024 I meant ‘private messages’ not PMS
# Jul 25th 2018, 11:04 dereuromark @neon1024 you asked for it with your message :slightly_smiling_face:
# Jul 25th 2018, 11:04 dwms ok
# Jul 25th 2018, 11:03 neon1024 Might I recommend @dwms rather than trying to harass people, just ask your question to the channel. If someone knows they might give some advice. Otherwise you risk spending your whole day asking individual people who might not know the plugin you need support with.
# Jul 25th 2018, 11:02 dwms ok
# Jul 25th 2018, 11:02 neon1024 We might end up implementing Fractal with some custom transformers
# Jul 25th 2018, 11:02 neon1024 We haven’t yet agreed internally within the business if we will be adopting the json api standard for our response format
# Jul 25th 2018, 11:01 neon1024 @dwms No actually, I haven’t used it yet. We are still using the old ApiListener
# Jul 25th 2018, 11:01 dwms ?
# Jul 25th 2018, 11:01 dwms @neon1024 work this crud-json-api
# Jul 25th 2018, 11:00 slackebot Action: neon1024 pms dereuromark
# Jul 25th 2018, 10:58 dwms the return of the action edit does not bring the field included in your response as it does in the action view
# Jul 25th 2018, 10:57 dwms ?
# Jul 25th 2018, 10:57 dwms works with crud-json-api
# Jul 25th 2018, 10:56 dwms ok
# Jul 25th 2018, 10:56 dereuromark @dwms again, please do not contact me directly, use the channel to always address everyone
# Jul 25th 2018, 10:56 dwms @dereuromark help me
# Jul 25th 2018, 10:55 dwms work crud-json-api?
# Jul 25th 2018, 10:54 dwms @lorenzo help me
# Jul 25th 2018, 10:50 mr.mjsm any recommendation for a file storage and upload plugin ?
# Jul 25th 2018, 09:59 mr.mjsm $query = $this->Emails->find('all', ['conditions' => ['Emails.email' => $this->request->getData('email')]]); $row = $query->first();
# Jul 25th 2018, 09:58 mr.mjsm i don't know if this would help but have a look
# Jul 25th 2018, 09:47 lorenzo `find()->first()`
# Jul 25th 2018, 09:46 portilloster Better explanation: With a `get()` query I can load the variable easy in the view and dig on it using `->`. But with `find()` I´m having troubles because with the results is not that easy.
# Jul 25th 2018, 09:46 portilloster Morning!! This may be a silly question but. How do you get an entity as a result using `find()` on a query instead of `get()`?
# Jul 25th 2018, 09:31 mr.mjsm @dereuromark thanks
# Jul 25th 2018, 09:29 mr.mjsm there is a reason I got 'D' on database course i guess :man-walking:
# Jul 25th 2018, 09:28 mr.mjsm ooookaaay
# Jul 25th 2018, 09:26 dereuromark from etc are sure reserved keywords in myql
# Jul 25th 2018, 09:26 mr.mjsm i changed 'quoteIdentifiers' to true, now it is working. may I know the reason?
# Jul 25th 2018, 09:22 mr.mjsm not working
# Jul 25th 2018, 09:22 mr.mjsm deleted every cache, even my browser cache
# Jul 25th 2018, 09:19 karthikeyan delete all the fies and try