# |
Feb 10th 2020, 10:18 |
ndm |
Certainly you'd use `control()` though |
# |
Feb 10th 2020, 10:18 |
challgren |
Well Im trying to override stuff to work with inspinia theme |
# |
Feb 10th 2020, 10:18 |
ndm |
I'll have to check.... things were working relatively fine ever since I've last committed to it |
# |
Feb 10th 2020, 10:17 |
challgren |
Yep |
# |
Feb 10th 2020, 10:17 |
neon1024 |
Is 3.0.0-beta for Cake 4? |
# |
Feb 10th 2020, 10:17 |
neon1024 |
Ah noice, I am still on `2.0.0-beta4` |
# |
Feb 10th 2020, 10:17 |
challgren |
friendsofcake/bootstrap-ui 3.0.0-beta |
# |
Feb 10th 2020, 10:16 |
ndm |
The latest dev? |
# |
Feb 10th 2020, 10:16 |
challgren |
I am using it |
# |
Feb 10th 2020, 10:16 |
ndm |
Have you considered using use the bootstrap-ui plugin? |
# |
Feb 10th 2020, 10:15 |
slackebot |
Action: neon1024 rearranges the stuff on pieceof desk |
# |
Feb 10th 2020, 10:14 |
pieceof |
afk ~20m |
# |
Feb 10th 2020, 10:13 |
slackebot |
<pieceof> |
# |
Feb 10th 2020, 10:13 |
pieceof |
no span .P |
# |
Feb 10th 2020, 10:12 |
challgren |
Why render the damm checkbox outside the div! |
# |
Feb 10th 2020, 10:12 |
challgren |
Above code generates above code |
# |
Feb 10th 2020, 10:11 |
slackebot |
<challgren> |
# |
Feb 10th 2020, 10:11 |
slackebot |
<challgren> |
# |
Feb 10th 2020, 10:10 |
pieceof |
i cant spin this project here |
# |
Feb 10th 2020, 10:10 |
pieceof |
bootstrap looks for an span at the end |
# |
Feb 10th 2020, 10:10 |
pieceof |
try putting emprty '<span></span>' at the 'after' |
# |
Feb 10th 2020, 10:09 |
pieceof |
every new template/project is a new headache |
# |
Feb 10th 2020, 10:08 |
slackebot |
<pieceof> |
# |
Feb 10th 2020, 10:08 |
challgren |
And now I switched from control to checkbox and its rendering the checkbox outside the div |
# |
Feb 10th 2020, 10:07 |
pieceof |
cant find one full render via ->input |
# |
Feb 10th 2020, 10:03 |
challgren |
I hate HTML so much |
# |
Feb 10th 2020, 10:02 |
pieceof |
looking for one, used switchery (it sucks) |
# |
Feb 10th 2020, 10:02 |
challgren |
wasnt there a beforeLabel/afterLabel or beforeInput/afterInput |
# |
Feb 10th 2020, 10:00 |
challgren |
Well for example I need to override the checkbox https://book.cakephp.org/4/en/views/helpers/form.html#moving-checkboxes-radios-outside-of-a-label if I do that it screws up the whole form |
# |
Feb 10th 2020, 10:00 |
neon1024 |
Write your templates into files, and load them when you need them |
# |
Feb 10th 2020, 10:00 |
pieceof |
yes, mostly (cake2) |
# |
Feb 10th 2020, 10:00 |
challgren |
I override one way and then need to do another way and I just feel limited with cake |
# |
Feb 10th 2020, 09:59 |
challgren |
Thats really where im struggling |
# |
Feb 10th 2020, 09:59 |
challgren |
Do you use forms in cakephp? |
# |
Feb 10th 2020, 09:59 |
pieceof |
used, metronic, inspinia and smartadmin |
# |
Feb 10th 2020, 09:58 |
javier.villanueva |
https://adminlte.io/docs/2.4/installation |
# |
Feb 10th 2020, 09:58 |
javier.villanueva |
I use maiconpinto admin lte |
# |
Feb 10th 2020, 09:57 |
challgren |
Ok I think Im throwing the towel in on Inspinia, anyone have a good theme that works with cakephp generated stuff and foc/boostrap-ui |
# |
Feb 10th 2020, 09:39 |
challgren |
Im really fighting the form helper on this template |
# |
Feb 10th 2020, 09:39 |
javier.villanueva |
sometimes i use a parent div with my custom class, and attrs in the element |
# |
Feb 10th 2020, 09:38 |
javier.villanueva |
but probably is not the best way |