# |
Mar 25th 2019, 20:27 |
challgren |
@feliruc https://github.com/UseMuffin/Footprint |
# |
Mar 25th 2019, 20:22 |
feLiruc |
How can I get the user logged information in the entity? |
# |
Mar 25th 2019, 20:20 |
admad |
there is be first alpha next month |
# |
Mar 25th 2019, 20:20 |
admad |
https://github.com/cakephp/cakephp/wiki/4.0-Roadmap |
# |
Mar 25th 2019, 20:05 |
ricksaccous |
'(mySqlEquation) > 3' |
# |
Mar 25th 2019, 20:05 |
ricksaccous |
@devito I think you just have to have the whole thing in one string if you want to do that |
# |
Mar 25th 2019, 20:01 |
vjnvisakh |
when is it launching |
# |
Mar 25th 2019, 20:00 |
vjnvisakh |
what is new in cakephp 4 |
# |
Mar 25th 2019, 19:58 |
devito |
is that valid? |
# |
Mar 25th 2019, 19:58 |
devito |
ive got some crazy query that i want to use as a where condition. does a bunch of mat can I have where=>[“(mySqlEquation) >“=>3] |
# |
Mar 25th 2019, 19:56 |
vjnvisakh |
Hey |
# |
Mar 25th 2019, 19:40 |
daniel.upshaw |
I might have found a way to do it.... Make templates with only `<?= $html ?>` and `<?= $text ?>` and just send it the entire contents |
# |
Mar 25th 2019, 19:33 |
daniel.upshaw |
Although, that was in 2015 |
# |
Mar 25th 2019, 19:33 |
daniel.upshaw |
Without using .ctp templates |
# |
Mar 25th 2019, 19:32 |
daniel.upshaw |
Looks like there's no straightforward way to set the Plain Text version and HTML version manually |
# |
Mar 25th 2019, 19:32 |
daniel.upshaw |
https://stackoverflow.com/questions/32860252/cakephp-3-x-can-we-use-emailformat-both-without-using-template |
# |
Mar 25th 2019, 19:31 |
ricksaccous |
yeah beforeMarshall |
# |
Mar 25th 2019, 19:30 |
daniel.upshaw |
Here is the floatval() docs: https://www.php.net/manual/en/function.floatval.php |
# |
Mar 25th 2019, 19:30 |
daniel.upshaw |
What's the mask plugin? |
# |
Mar 25th 2019, 19:30 |
daniel.upshaw |
Starting a thread... |
# |
Mar 25th 2019, 19:29 |
daniel.upshaw |
Is there any way to format before it goes to patchEntity? |
# |
Mar 25th 2019, 19:26 |
ricksaccous |
if data['fieldname'] is set modify it as you wish |
# |
Mar 25th 2019, 19:26 |
ricksaccous |
on the model |
# |
Mar 25th 2019, 19:26 |
ricksaccous |
you can do it beforeMarshall |
# |
Mar 25th 2019, 19:25 |
feLiruc |
daniel, I need to implement this on the controller or in the entity? any link to help me |
# |
Mar 25th 2019, 19:25 |
daniel.upshaw |
But one or the other is simple by passing into `send($content)`.... Just not both |
# |
Mar 25th 2019, 19:25 |
daniel.upshaw |
It looks like there's no straightforward way to send both HTML and Plaintext emails in Cake without using templates |
# |
Mar 25th 2019, 19:24 |
daniel.upshaw |
Maybe floatval()? Or a preg_replace to reformat it |
# |
Mar 25th 2019, 19:24 |
daniel.upshaw |
Can you do a number_format on it? |
# |
Mar 25th 2019, 19:17 |
feLiruc |
Hello guys... the mask plugin I'm using is sending R$ 450.000,00 to the patchEntity but this field is a double field... What can I do in this case? |
# |
Mar 25th 2019, 18:35 |
ricksaccous |
np |
# |
Mar 25th 2019, 18:35 |
devito |
thanks man |
# |
Mar 25th 2019, 18:35 |
devito |
word up |
# |
Mar 25th 2019, 18:34 |
ricksaccous |
https://book.cakephp.org/3.0/en/orm/query-builder.html#advanced-conditions |
# |
Mar 25th 2019, 18:34 |
ricksaccous |
let me link you |
# |
Mar 25th 2019, 18:34 |
ricksaccous |
yeah it's in the book, and what you had looks right |
# |
Mar 25th 2019, 18:33 |
devito |
but not finding anythign on this in the book… |
# |
Mar 25th 2019, 18:33 |
devito |
sounds right in my head |
# |
Mar 25th 2019, 18:32 |
ricksaccous |
ohhhhh uhhh, not sure let me seeee |
# |
Mar 25th 2019, 18:32 |
devito |
im guess than or=>[[1,3],[3,4]] will check 1,3 or 3,4 ? |
# |
Mar 25th 2019, 18:31 |
devito |
or=>[1,2,3,4,5] will check each item as an or |