# |
Feb 10th 2020, 09:17 |
javier.villanueva |
Call to undefined method App\Test\TestCase\Model\Table\UsersTableTest::assertResponseEmpty() |
# |
Feb 10th 2020, 09:16 |
javier.villanueva |
morning all |
# |
Feb 10th 2020, 09:14 |
challgren |
Ahh ok so it cant be set in a template that is extended or a layout |
# |
Feb 10th 2020, 09:11 |
challgren |
Does $this->Form->setTemplates() need to be called before the $this->Form->create() or after? |
# |
Feb 10th 2020, 08:50 |
neon1024 |
:thumbsup: |
# |
Feb 10th 2020, 08:45 |
challgren |
That's how I have it cut up, sidebar is an element and topbar is an element too, using knumenu to build the sidebar |
# |
Feb 10th 2020, 08:40 |
neon1024 |
Let me check my code |
# |
Feb 10th 2020, 08:38 |
neon1024 |
I just make it an element and started a view block |
# |
Feb 10th 2020, 08:38 |
challgren |
Can you share? |
# |
Feb 10th 2020, 08:38 |
neon1024 |
It’s a block too, so I can append extra nav items to it |
# |
Feb 10th 2020, 08:37 |
challgren |
O_o I like your topbar |
# |
Feb 10th 2020, 08:37 |
challgren |
Ohh you didnt go to indepth with it then |
# |
Feb 10th 2020, 08:36 |
slackebot |
<neon1024> |
# |
Feb 10th 2020, 08:36 |
challgren |
Ahh so basic form |
# |
Feb 10th 2020, 08:36 |
neon1024 |
Oh, I have my labels above |
# |
Feb 10th 2020, 08:35 |
challgren |
What I got so far. |
# |
Feb 10th 2020, 08:35 |
challgren |
Checkboxes I cant even get to line up |
# |
Feb 10th 2020, 08:34 |
neon1024 |
Well, radio and checkbox, I don’t implement the JS parts |
# |
Feb 10th 2020, 08:34 |
challgren |
Maybe cause im using 2.9.3 |
# |
Feb 10th 2020, 08:34 |
challgren |
All Form Elements is what Im trying |
# |
Feb 10th 2020, 08:34 |
neon1024 |
That should just work |
# |
Feb 10th 2020, 08:34 |
challgren |
http://webapplayers.com/inspinia_admin-v2.9.3/form_basic.html |
# |
Feb 10th 2020, 08:33 |
challgren |
Forms that match the look and feel |
# |
Feb 10th 2020, 08:33 |
neon1024 |
What are you trying to generate? |
# |
Feb 10th 2020, 08:32 |
neon1024 |
I haven’t had any issues :) |
# |
Feb 10th 2020, 08:32 |
challgren |
Ahh ok yeah thats what I use but the templates dont quite match up |
# |
Feb 10th 2020, 08:32 |
challgren |
I seem to be fighting formhelper to do what I want it to do |
# |
Feb 10th 2020, 08:32 |
neon1024 |
Nope, I use the friendsofcake/bootstrap-ui |
# |
Feb 10th 2020, 08:31 |
challgren |
You dont happen to have a custom form helper for it? |
# |
Feb 10th 2020, 08:31 |
neon1024 |
Probably, that’s what we use at work |
# |
Feb 10th 2020, 08:31 |
challgren |
@neon1024 didnt you recommend inspinia theme? |
# |
Feb 10th 2020, 07:47 |
challgren |
Tried putting {{error}} inside the input template and that didnt work |
# |
Feb 10th 2020, 07:46 |
challgren |
How do I get a Form error inside the div created for the input. I overrode the template inputErrorContainer but the {{error}} is outside the {{input}} |
# |
Feb 10th 2020, 06:49 |
alexdd55976 |
morning dudes and duderinas |
# |
Feb 10th 2020, 06:08 |
latenal |
Is there a standard way of publishing to a redis channel in cake4? |
# |
Feb 10th 2020, 03:20 |
challgren |
Use this->form->submit() |
# |
Feb 10th 2020, 03:01 |
challgren |
That's JavaScript related |
# |
Feb 10th 2020, 02:05 |
wizardfix |
Like, how to get a `select` element to submit when it's value changes? If I set `'type' => 'select'` I cannot also set `'type' => 'submit'` ... :thinking_face: |
# |
Feb 10th 2020, 02:01 |
wizardfix |
Yeah I've been reading but wish their were more form creation examples. |
# |
Feb 10th 2020, 02:00 |
challgren |
Np I’d read up on the form helper its pretty handy some of the stuff it can do. But it does take a bit of convincing to get it to do what you want |
# |
Feb 10th 2020, 01:59 |
wizardfix |
Wow, it works! Thank you a whole heap1 :beer: :beer: @challgren |