# |
Jun 14th 2019, 11:13 |
awi |
hm. I dont see there any errors |
# |
Jun 14th 2019, 11:02 |
neon1024 |
I tend to use `var_dump($entity->getErrors())` as I dont believe that DebutKit always displays them if they’re nested |
# |
Jun 14th 2019, 11:02 |
neon1024 |
They’re in the Entities errors property with a key of the table I think |
# |
Jun 14th 2019, 11:01 |
awi |
Does aqnyone know, where I do get model validation errors when I save associated data into BelongsToMany Table using through? |
# |
Jun 14th 2019, 10:37 |
berarma |
Thanks. Now I see all the options. |
# |
Jun 14th 2019, 10:23 |
steinkel |
@berarma there is a mailing list here https://nimb.ws/OjApmC see the bottom of the page at https://cakephp.org/ |
# |
Jun 14th 2019, 10:18 |
neon1024 |
@berarma If you go to cakephp.org and hover over the Community menu item on the right hand side it has links to things like the forum |
# |
Jun 14th 2019, 10:16 |
berarma |
I'm working on an alternative to templating languages and I want to build a cakephp plugin for it. Since I work alone I'd like to have some input from anyone interested. |
# |
Jun 14th 2019, 10:14 |
berarma |
I'll use the forums. |
# |
Jun 14th 2019, 10:13 |
berarma |
Thanks @steinkel, so there's no mailing list I guess. I think there was one some time ago. |
# |
Jun 14th 2019, 10:11 |
steinkel |
@berarma https://cakephp.org/pages/get-involved#getHelp |
# |
Jun 14th 2019, 09:57 |
berarma |
OMG, I didn't know there was a forum. I wonder why I never found it on google searches. Isn't it getting indexed? |
# |
Jun 14th 2019, 09:42 |
berarma |
Hi. Does CakePHP have a mailling list? |
# |
Jun 14th 2019, 09:33 |
neon1024 |
Oh I see, didn’t realise, sorry |
# |
Jun 14th 2019, 09:33 |
acosonic |
I'm still on 2 :slightly_smiling_face: but I guess I'll find it |
# |
Jun 14th 2019, 09:33 |
neon1024 |
What is not working in that for you? |
# |
Jun 14th 2019, 09:33 |
neon1024 |
https://book.cakephp.org/3.0/en/core-libraries/email.html#setting-headers |
# |
Jun 14th 2019, 09:32 |
acosonic |
I figured that one, now trying to add list-unsubscribe... |
# |
Jun 14th 2019, 09:32 |
acosonic |
@neon1024 yeah both worked |
# |
Jun 14th 2019, 09:30 |
neon1024 |
@acosonic I think with the Cake Email class you can use `$Email->emailFormat('both')` |
# |
Jun 14th 2019, 09:26 |
acosonic |
somehow |
# |
Jun 14th 2019, 09:26 |
acosonic |
also... header(array('List-Unsubscribe' => $url)) I need that |
# |
Jun 14th 2019, 09:04 |
scuadra |
@admad thank you |
# |
Jun 14th 2019, 08:58 |
acosonic |
hm.... |
# |
Jun 14th 2019, 08:58 |
acosonic |
https://stackoverflow.com/questions/11565136/cakeemail-send-html-and-plain-text-message-manually |
# |
Jun 14th 2019, 08:56 |
acosonic |
https://wiki.apache.org/spamassassin/Rules/MIME_HTML_ONLY |
# |
Jun 14th 2019, 08:55 |
acosonic |
but it complains about only html email... |
# |
Jun 14th 2019, 08:55 |
acosonic |
https://www.mail-tester.com |
# |
Jun 14th 2019, 08:54 |
acosonic |
I'm just trying to get good score on |
# |
Jun 14th 2019, 08:54 |
acosonic |
hi everyone, how do I send email both html and text... ? |
# |
Jun 14th 2019, 08:42 |
dereuromark |
Also if you cant fuck up things on prod :slightly_smiling_face: I wouldnt do it for API things for example. If you forget to set local stuff you might delete/modify via live API |
# |
Jun 14th 2019, 08:42 |
dereuromark |
Joe: for non sensible data yes |
# |
Jun 14th 2019, 08:40 |
admad |
@scuadra it probably doesnt like empty image name. I suggest you use name for a 1x1px tranparent png instead |
# |
Jun 14th 2019, 08:36 |
kgb.acct.personal |
So, I write prod config in `app.php` then I write dev config in `.env`? |
# |
Jun 14th 2019, 08:35 |
slackebot1 |
'data-src' => '/cache/images/products/...whatever']). The first argument is empty and the lazyload get the img src from the data-src attribute. My question is whether is possible to avoid that warning? |
# |
Jun 14th 2019, 08:35 |
scuadra |
Hello. In Cake 3.7 I get the following notice: Uninitialized string offset: 0 [CORE/src/View/Helper/UrlHelper.php, line 178]. This is the assetUrl() method. However the warning comes from the image() method in this Helper. What I am trying to do is to use jquery lazyload for images because they are too much and the error probably comes because I use the Html image helper like that: $this->Html->image('', ['class' => 'lazyload card-img', |
# |
Jun 14th 2019, 08:34 |
dereuromark |
not the other way around, ever.. ^^ |
# |
Jun 14th 2019, 08:34 |
dereuromark |
like debug mode off - that should be the default, and locally you enable it |
# |
Jun 14th 2019, 08:34 |
kgb.acct.personal |
Putting in `app.php` looks promising |
# |
Jun 14th 2019, 08:34 |
dereuromark |
that often simplifies things and keeps mistakes in prod away |
# |
Jun 14th 2019, 08:34 |
dereuromark |
they "can" default to prod if you wanted to and only overwrite locally and for tests |