This space intentionally left blank

Apr
29
awarded Informed
Apr
26
awarded Yearling
Apr
26
accepted How to set User-based form field choices in a django ModelForm (with django-allauth)
Apr
26
asked How to set User-based form field choices in a django ModelForm (with django-allauth)
Apr
14
awarded Caucus
Apr
12
comment "Record not found in table with primary key [NULL]" error in cakephp 3 association form
aha! it was as you described, except the issue was on line 85: I needed to use return $this->redirect(['action' => 'edit/' . $id]); instead of only return $this->redirect(['action' => 'edit'); Thanks!
Apr
12
accepted "Record not found in table with primary key [NULL]" error in cakephp 3 association form
Apr
12
comment "Record not found in table with primary key [NULL]" error in cakephp 3 association form
it's "projects/edit/#" by default - does it need to be "projects/edit/#/characters/add"?
Apr
10
comment "Record not found in table with primary key [NULL]" error in cakephp 3 association form
Sorry, I'm still really stuck on this. How can I correctly send the project ID via the form so the ProjectCharacter object will save correctly? I tried adding a redirect if the project ID wasn't available, and that avoids the error but still doesn't save the ProjectCharacter object.
Apr
8
asked "Record not found in table with primary key [NULL]" error in cakephp 3 association form
Apr
7
comment How to pull data for and display an Association as a multiple-select checkbox in CakePHP 3?
is there a way to set whether each value is checked using the $this->Form->input syntax? for example if I have an array of $selectedRoles that I'm testing in_array for?
Apr
7
accepted How to pull data for and display an Association as a multiple-select checkbox in CakePHP 3?
Apr
6
asked How to pull data for and display an Association as a multiple-select checkbox in CakePHP 3?
Apr
4
accepted How to retrieve information when linking models through a table in CakePHP 3.0?
Apr
4
comment How to retrieve information when linking models through a table in CakePHP 3.0?
Thanks! How would I go about checking what the user's role is from a controller function or view?
Apr
3
accepted Where do I set the navbar in CakePHP 3.0 with Bootstrap?
Apr
2
asked How to retrieve information when linking models through a table in CakePHP 3.0?
Apr
2
asked Where do I set the navbar in CakePHP 3.0 with Bootstrap?
Mar
4
awarded Popular Question
Feb
19
awarded Excavator
1 2 3 4 5