# |
Dec 12th 2019, 15:59 |
neothermic |
I ponder why it didn't complain about... oh.. |
# |
Dec 12th 2019, 15:56 |
ricksaccous |
awesome! |
# |
Dec 12th 2019, 15:55 |
neothermic |
100% better :) |
# |
Dec 12th 2019, 15:54 |
neothermic |
weird! |
# |
Dec 12th 2019, 15:54 |
neothermic |
aha, that fixed it |
# |
Dec 12th 2019, 15:53 |
ricksaccous |
good luck |
# |
Dec 12th 2019, 15:53 |
neothermic |
but we'll see |
# |
Dec 12th 2019, 15:53 |
neothermic |
sadly my target is 7.1... |
# |
Dec 12th 2019, 15:53 |
neothermic |
but I'm gonna throw down the gauntlet of "we must update" next month |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
i still remember your plight |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
hahaha |
# |
Dec 12th 2019, 15:52 |
neothermic |
yep! |
# |
Dec 12th 2019, 15:52 |
neothermic |
so I can't use anything higher because the PHP version requirement got bumped |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
all for pdfs |
# |
Dec 12th 2019, 15:52 |
ricksaccous |
:( |
# |
Dec 12th 2019, 15:52 |
neothermic |
cause it's sadly still running on the same servers as the 2.x platform, which is currently still on 5.5 ¬_¬ |
# |
Dec 12th 2019, 15:51 |
neothermic |
it's part of the reason why I'm doing it in 3, I refused to write this new huge system in an old version of cake |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
then why not use latest cake XD |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
oh lol |
# |
Dec 12th 2019, 15:51 |
neothermic |
oh, this is a new property. the old huge app is still on 2.x :) |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
keep going |
# |
Dec 12th 2019, 15:51 |
neothermic |
first rule of troubleshooting: make no assumptions |
# |
Dec 12th 2019, 15:51 |
ricksaccous |
also it's amazing you're getting your huge app that far up in cake versions |
# |
Dec 12th 2019, 15:50 |
neothermic |
I'll try it the pre 3.4 way |
# |
Dec 12th 2019, 15:50 |
neothermic |
yeah, hmm |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
but then wouldn't it whine the method doesn't exist |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
lol |
# |
Dec 12th 2019, 15:50 |
neothermic |
I think I'm using pre 3.4 |
# |
Dec 12th 2019, 15:50 |
neothermic |
ooh, hmm, wait |
# |
Dec 12th 2019, 15:50 |
ricksaccous |
also that is a peculiar error |
# |
Dec 12th 2019, 15:48 |
ricksaccous |
pretty sure you knew that already though |
# |
Dec 12th 2019, 15:48 |
neothermic |
yeah, but if I enable that setTemplates line, I get errors that start with: ```substr() expects parameter 1 to be string, array given [CORE/src/View/Helper/FormHelper.php, line 2472]``` |
# |
Dec 12th 2019, 15:47 |
ricksaccous |
i do that plugin-wide for my theme |
# |
Dec 12th 2019, 15:47 |
ricksaccous |
that works, if all you're doing is literally changing a default template you could also do that sitewide |
# |
Dec 12th 2019, 15:45 |
neothermic |
the date widget template does have the various {{day}} {{month}} etc things in it; I copied the default one and just changed the order to be DMY rather than YMD :P |
# |
Dec 12th 2019, 15:42 |
slackebot2 |
using it as per the documentation... |
# |
Dec 12th 2019, 15:42 |
neothermic |
so... templates... I did something like this: ```$dobTemplaate = ['dateWidget' => '<ul class="list-inline">...</ul>']; $this->Form->setTemplates($dobTemplaate); echo $this->Form->input($item['field'], $item['settings']);``` (where `$item` is an array that contains the settings for the given input item) This seems to have exploded, as now I'm getting errors from FormHelper; if I remove the setTemplates line then it all works. I think I'm |
# |
Dec 12th 2019, 15:37 |
val |
Hi, is there an alternative for `$this->Form->inputDefaults(` in 3.x? |
# |
Dec 12th 2019, 15:27 |
latenal |
it works!! Thanks a lot |
# |
Dec 12th 2019, 15:22 |
dereuromark |
You create the jobs inside your code. And you have a worker running to process them. |
# |
Dec 12th 2019, 15:15 |
latenal |
So should I instead doing something like.. ` ```$QueuedJobs->createJob('PaymentsBuild', [],... ``` |