# |
Jul 11th 2018, 02:52 |
chrisshick |
anyone work with cases where a certain record can belong to one of three different tables |
# |
Jul 10th 2018, 21:33 |
camdenbassett |
ok, I might have been mistaking the hidden input for the checkbox... oops |
# |
Jul 10th 2018, 21:33 |
saeideng |
I think input() deprecated in 3.6 |
# |
Jul 10th 2018, 21:31 |
saeideng |
control == input |
# |
Jul 10th 2018, 21:31 |
camdenbassett |
@saeideng Thanks, i foundd that if you use control() instead of input() it puts the label around the checkbox. But it's good to know you can modify the templates |
# |
Jul 10th 2018, 21:29 |
saeideng |
https://book.cakephp.org/3.0/en/views/helpers/form.html#customizing-templates |
# |
Jul 10th 2018, 21:28 |
saeideng |
you can customize output of `$this->Form->*()` template |
# |
Jul 10th 2018, 21:18 |
camdenbassett |
It does not do this if you use $this->Form->input() though |
# |
Jul 10th 2018, 21:12 |
camdenbassett |
Sorry, just was reading that this is the default behavior for control and radio |
# |
Jul 10th 2018, 21:10 |
camdenbassett |
for example <label><input type="checkbox">test</label> rather than <input type="checkbox"><label>test</label> |
# |
Jul 10th 2018, 21:07 |
camdenbassett |
Hello everyone, is there any way to make the form builder in cake put the label tag around the checkbox/radio-button instead of next to it' |
# |
Jul 10th 2018, 20:58 |
itmpls |
we'll find out.. |
# |
Jul 10th 2018, 20:58 |
itmpls |
boo! :slightly_smiling_face: |
# |
Jul 10th 2018, 20:47 |
ricksaccous |
vive le baguette |
# |
Jul 10th 2018, 20:47 |
ricksaccous |
I'm cheering for le Frenchies, but I'm not too invested since I didn't even watch the semis |
# |
Jul 10th 2018, 20:46 |
itmpls |
underdog please. croatia! |
# |
Jul 10th 2018, 20:46 |
itmpls |
i hope france loses! :P |
# |
Jul 10th 2018, 20:00 |
bravo-kernel |
It’s just like frameworks @josbeir, the best one does not always win |
# |
Jul 10th 2018, 19:55 |
saeideng |
:face_with_rolling_eyes: |
# |
Jul 10th 2018, 19:55 |
josbeir |
Just hope france wins the cup now |
# |
Jul 10th 2018, 19:55 |
josbeir |
We had a good run |
# |
Jul 10th 2018, 19:54 |
itmpls |
Noooo :( |
# |
Jul 10th 2018, 19:53 |
josbeir |
We're done. |
# |
Jul 10th 2018, 19:31 |
sdevore |
it is just an expression, not to be confused with `vim` the text editor or `vigor` the Brazilian food company |
# |
Jul 10th 2018, 19:26 |
kitcat711 |
dereuromark plugin installation in progress |
# |
Jul 10th 2018, 19:26 |
kitcat711 |
sdevors: thx looking for "vim and vigor" |
# |
Jul 10th 2018, 19:25 |
itmpls |
yeah.. i am |
# |
Jul 10th 2018, 19:25 |
saeideng |
now , watch football |
# |
Jul 10th 2018, 19:24 |
itmpls |
hm |
# |
Jul 10th 2018, 19:23 |
saeideng |
http://subdomain.domain.com/foo/bar/index |
# |
Jul 10th 2018, 19:23 |
itmpls |
right - but in parse() it doesn't become the controller name |
# |
Jul 10th 2018, 19:23 |
saeideng |
`bar` is controller name |
# |
Jul 10th 2018, 19:23 |
saeideng |
if it is plugin name/prefix |
# |
Jul 10th 2018, 19:23 |
waspinator |
http://cakephp.com/ |
# |
Jul 10th 2018, 19:23 |
sdevore |
attack deprecation warnings with vim and vigor |
# |
Jul 10th 2018, 19:22 |
kitcat711 |
thx, I am migrating from 3.5 to 3.6 preparing migration to 4 |
# |
Jul 10th 2018, 19:22 |
itmpls |
the problem is the action part |
# |
Jul 10th 2018, 19:22 |
itmpls |
yeah |
# |
Jul 10th 2018, 19:21 |
saeideng |
@itmpls is `foo` plugin prefix ? |
# |
Jul 10th 2018, 19:20 |
sdevore |
the ide helper doesn’t help with migration but it makes autocomplete work way better. As far as migrating older sites to 3.x there are some plugins (check awesome) but nothing is perfect or ‘easy’ |
# |
Jul 10th 2018, 19:18 |
saeideng |
use dereuromark ide helper |