# |
Jul 15th 2019, 18:28 |
ricksaccous |
yeah that piece of the code is working |
# |
Jul 15th 2019, 18:27 |
genellern |
Hmm, I wonder if templates add would work, have you checked the templates in your widget? |
# |
Jul 15th 2019, 18:27 |
ricksaccous |
instead of the widget |
# |
Jul 15th 2019, 18:27 |
ricksaccous |
i might just plop that in an element and call it a day |
# |
Jul 15th 2019, 18:27 |
ricksaccous |
to get checkboxes to use x templates |
# |
Jul 15th 2019, 18:26 |
ricksaccous |
I think formHelper just uses some magic i don't understand |
# |
Jul 15th 2019, 18:26 |
ricksaccous |
This is working though: |
# |
Jul 15th 2019, 18:26 |
slackebot |
<ricksaccous> |
# |
Jul 15th 2019, 18:23 |
ricksaccous |
I don't want to use label template because then i can't get the hidden field |
# |
Jul 15th 2019, 18:23 |
ricksaccous |
it's using 'label' template instead of nestingLabel template |
# |
Jul 15th 2019, 18:21 |
ricksaccous |
@genellern https://gist.github.com/Modicrumb/e848e4f610e52d9b9884650eb3016608 |
# |
Jul 15th 2019, 18:19 |
genellern |
Do you care to show me your code? |
# |
Jul 15th 2019, 18:19 |
ricksaccous |
it uses the same widget, but different templates |
# |
Jul 15th 2019, 18:18 |
genellern |
Are you sure checkbox uses the template a text input would use? |
# |
Jul 15th 2019, 18:18 |
ricksaccous |
I'm setting the type in the widget, meh |
# |
Jul 15th 2019, 18:17 |
ricksaccous |
it refuses to use the stupid nestingLabel |
# |
Jul 15th 2019, 18:17 |
ricksaccous |
manually set the type to "checkbox" |
# |
Jul 15th 2019, 18:17 |
ricksaccous |
but when i try to create a widget |
# |
Jul 15th 2019, 18:17 |
ricksaccous |
it's working fine when i attach the 'templates' to an input |
# |
Jul 15th 2019, 18:16 |
ricksaccous |
yeah, been messing around with those |
# |
Jul 15th 2019, 18:16 |
genellern |
Have you tried changing the templates? |
# |
Jul 15th 2019, 18:15 |
ricksaccous |
i'm building a widget and i can't figure out how to force the widget to use label of type nestingLabel |
# |
Jul 15th 2019, 18:15 |
ricksaccous |
for the life of me |
# |
Jul 15th 2019, 18:07 |
bird87_za |
Does anyone know of an API I can use to authenticate a user on his xbox profile and pull that data into my app? |
# |
Jul 15th 2019, 17:14 |
devito |
thank |
# |
Jul 15th 2019, 17:14 |
devito |
@kaliel yeah its mod rewrite |
# |
Jul 15th 2019, 16:50 |
hippo |
@rrd564 I think the easiest solution is to specify the columns you would like to export via the `$_extract` view variable. |
# |
Jul 15th 2019, 16:21 |
rrd564 |
I have to call toArray on a resultset. Is there any way to define the order of the array keys? I export to CSV using FirendsOfCake csvView plugin, but the order of the columns are mixed |
# |
Jul 15th 2019, 16:02 |
kaliel |
@devito nothing on logs ? mod_rewrite enable ? |
# |
Jul 15th 2019, 16:01 |
devito |
what would cause me to get a missing home controller error on a fresh stand up of cake3? default / route points to pages home and the route is named to /home |
# |
Jul 15th 2019, 15:57 |
ndm |
There's also `assertResponseEquals()` if you want to compare the whole content. |
# |
Jul 15th 2019, 15:55 |
neon1024 |
As it’s json, I’d rather do some more intrusive asserts :slightly_smiling_face: |
# |
Jul 15th 2019, 15:55 |
neon1024 |
I’d only found `$this->assertResponseContains()` |
# |
Jul 15th 2019, 15:55 |
neon1024 |
Ahh, thanks! |
# |
Jul 15th 2019, 15:55 |
ndm |
`$this->_response` |
# |
Jul 15th 2019, 15:50 |
neon1024 |
Using the IntegrationTestTrait, how do I get the response? |
# |
Jul 15th 2019, 15:24 |
kaliel |
your welcome :slightly_smiling_face: |
# |
Jul 15th 2019, 15:24 |
lubos |
I'll pick this in the morning with fresh head :slightly_smiling_face: thanks @kaliel for your input! :slightly_smiling_face: |
# |
Jul 15th 2019, 15:23 |
lubos |
@kaliel the memory issues are before creating any CSV (when trying to debug `orders` results - just count output) |
# |
Jul 15th 2019, 15:23 |
kaliel |
@lubos do you use a plugin or something to output csv ? I had memory issues too with some of them. Or do the allowed memory error is triggered before csv construction ? |
# |
Jul 15th 2019, 15:22 |
lubos |
to be even more specific, we have `orders` and `leads` data and client is requiring output of both combined in CSV file so they can process data on their side |