# |
Aug 31st 2019, 16:04 |
January04 |
his: <?= $this->Form->control('culturas.'.$i.'.valido') ?> and this input is not being populated with the old value. How can I populate this input? |
# |
Aug 31st 2019, 16:04 |
January04 |
Hey guys, I'm creating a form to update many entities.. I already have this entities in a variable $culturas... but in the next screen I'm creating the form using a foreach. But I can't use the id in the table to specify the position, so I created a variable $i in the start ot the foreach and I increment it each loop... and my form helper is like t |
# |
Aug 31st 2019, 15:09 |
rchavik |
hello |
# |
Aug 31st 2019, 14:18 |
dereuromark |
someone wants to do some bounty-coding? https://github.com/dereuromark/cakephp-ide-helper/issues/139 how about 30 euro via paypal for the completion? I wanna enjoy some sunshine/vacation this weekend :slightly_smiling_face: otherwise I will be coding-addictive again^^ |
# |
Aug 31st 2019, 10:19 |
COOurb |
thnx |
# |
Aug 31st 2019, 10:15 |
challgren |
None that I can think of really |
# |
Aug 31st 2019, 10:15 |
dereuromark |
I wonder of virtual ones should always be property-read - what cases do you allow writing here? |
# |
Aug 31st 2019, 10:14 |
dereuromark |
they kind of are, as writing to them would never recover the content :slightly_smiling_face: since it hits the mutator which can return totally different things |
# |
Aug 31st 2019, 10:14 |
challgren |
Wait can you even make properties read-only or is it just an annotation? |
# |
Aug 31st 2019, 10:12 |
dereuromark |
First time I see people wanting to use property-read readonly tags ( https://github.com/dereuromark/cakephp-ide-helper/pull/141 ) for entity props. |
# |
Aug 31st 2019, 09:58 |
challgren |
https://github.com/friendsofcake/awesome-cakephp#files |
# |
Aug 31st 2019, 09:58 |
challgren |
@COOurb https://github.com/friendsofcake/awesome-cakephp |
# |
Aug 31st 2019, 09:53 |
COOurb |
guys, I wanna use files(images) as part of entity. Is there any plugin for patching entity with "uploaded files" or have I write setter/getter for this case? |
# |
Aug 31st 2019, 09:47 |
mrfeedback |
how can I duplicate an entry without mapping each field by hand? i tried ``` $collection = $this->find(); $n_collection = new Collection; $n_collection = $collection; $n_collection->id=null; ``` but it always get updated instead of creating a new one |
# |
Aug 31st 2019, 03:19 |
risingitde |
but it works fine with just one |
# |
Aug 31st 2019, 03:19 |
risingitde |
When I attempt to upload an image and audio in two seperate upload fields, with the Upload.Upload['audio','album_art] bit I get CSRF token mismatch. |
# |
Aug 31st 2019, 03:04 |
risingitde |
Uploaded file: https://uploads.kiwiirc.com/files/0bf3b331f3a91e5a99b256ff3dd6d426/image.png |
# |
Aug 31st 2019, 03:04 |
risingitde |
if i only list one feild in the plugin array in my Model, it works for one feild or the other, but if I try to add both feilds it throws the error |
# |
Aug 31st 2019, 02:48 |
risingitde |
What might be the issue? |
# |
Aug 31st 2019, 02:48 |
risingitde |
Uploaded file: https://uploads.kiwiirc.com/files/ab4a5e221e53639509b46c98c9a2effe/image.png |
# |
Aug 31st 2019, 02:48 |
risingitde |
when I submit I get this error |
# |
Aug 31st 2019, 02:47 |
risingitde |
http://josediazgonzalez.com/2015/12/05/uploading-files-and-images/ |
# |
Aug 31st 2019, 02:47 |
risingitde |
I'm using this upload plugin |
# |
Aug 31st 2019, 02:47 |
risingitde |
This is my form for my Tracks add page |
# |
Aug 31st 2019, 02:47 |
risingitde |
Uploaded file: https://uploads.kiwiirc.com/files/30e2b24376d86826492dcff8503740a6/image.png |
# |
Aug 30th 2019, 23:41 |
entry_lvl_dev |
thanks dereuromark |
# |
Aug 30th 2019, 23:41 |
entry_lvl_dev |
ok i found it |
# |
Aug 30th 2019, 23:40 |
entry_lvl_dev |
where would i find that? |
# |
Aug 30th 2019, 23:39 |
entry_lvl_dev |
this then must be a legacy cakephp site that i am working on |
# |
Aug 30th 2019, 23:39 |
dereuromark |
usually people use cake3 these days |
# |
Aug 30th 2019, 23:39 |
dereuromark |
there it is still Console/cake as documented. |
# |
Aug 30th 2019, 23:39 |
dereuromark |
why cake2? |
# |
Aug 30th 2019, 23:38 |
entry_lvl_dev |
im new to cakephp, im trying to run the cakephp server to test the site but i dont see a bin/cake ... i think i may have this site that i have has missing folder structure.. where extactly should the bin/cake file be? im using cakephp 2.9.5 |
# |
Aug 30th 2019, 23:35 |
entry_lvl_dev |
hello |
# |
Aug 30th 2019, 21:38 |
kiwi_yes |
hi all |
# |
Aug 30th 2019, 21:37 |
kiwi_89 |
Hello all |
# |
Aug 30th 2019, 21:03 |
noel |
Got it.. option + command + e... Apple, think different :man-facepalming: |
# |
Aug 30th 2019, 21:00 |
noel |
When I change my styles.css safari doesn't pick up the changes, even with a refresh? |
# |
Aug 30th 2019, 19:35 |
risingitde |
not select multiple files in one dialog, 2 seperate file upload feilds in one upload |
# |
Aug 30th 2019, 19:35 |
risingitde |
can anybody tell me how I'd upload 2 files simutaneously? |
# |
Aug 30th 2019, 19:14 |
ricksaccous |
no i think that's been consistent, it's been like that => requirePresence('field', true|false|callback, message) for a while |