# |
Apr 5th 2019, 08:40 |
k4t |
? |
# |
Apr 5th 2019, 08:40 |
k4t |
Hi, is it possible to do somehow something like this in Cake3: Router::url('https://google.com', '?' => ['redirectUrl' => $redirectUrlParam]) |
# |
Apr 5th 2019, 08:32 |
conehead |
Anyone using the uploads plugin by jose gonzales? I was using it with my cakephp 2 app. Currently I am trying to convert it to 3.7. Seems like the polymorphic feature has been dropped (upload multiple files to multiple models) |
# |
Apr 5th 2019, 07:55 |
asdfgh |
anyone? |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
Why isn’t the enableAutoFields not selecting the OrderItems.order_id for me? |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
Now I’m running a query on Orders with a OrderItems contain with a closure, that runs a ‘select()’ on. After the select I use ‘enableAutoFields’ but I’m still getting the error that I should select ‘OrderItems.order_id’. This used to work in CakePHP 3.2 (Im currently upgrading). |
# |
Apr 5th 2019, 07:37 |
SvenBuis |
I have question. I'm running CakePHP 3.7 and I have the following situation. I have Orders that hasMany OrderItems. |
# |
Apr 5th 2019, 07:34 |
asdfgh |
it does follow the cakephp conventions but it is too generic |
# |
Apr 5th 2019, 07:34 |
asdfgh |
i thought about agents_projects <-- only |
# |
Apr 5th 2019, 07:34 |
asdfgh |
does ti sound good for a name of a table? |
# |
Apr 5th 2019, 07:25 |
asdfgh |
morning |
# |
Apr 5th 2019, 07:24 |
neon1024 |
Morning |
# |
Apr 5th 2019, 07:22 |
willem |
how can i set the -f param when sending email ? |
# |
Apr 5th 2019, 07:21 |
asdfgh |
pardon guys i have two tables agents and projects i should create a third table where i store/log the views of the gent that visit the page of the project... how can i call this table? agent_project_views? does it follow cakephp conventions? |
# |
Apr 5th 2019, 07:20 |
asdfgh |
hello |
# |
Apr 5th 2019, 05:14 |
cc |
resources for cake php |
# |
Apr 5th 2019, 02:39 |
liaogz82 |
is there a way to use phpspec with Cake? can't seem to find a good example |
# |
Apr 4th 2019, 20:46 |
blackjccl |
well here I set the UTF-8 `$pdf = new PdfSer ('L', PDF_UNIT, PDF_PAGE_FORMAT, TRUE, 'UTF-8', FALSE); $pdf->SetCreator (PDF_CREATOR);` |
# |
Apr 4th 2019, 20:43 |
etipaced |
My guess is there must be a way to configure tcpdf to use UTF-8, but I’ve never used that library so I can’t be sure. |
# |
Apr 4th 2019, 20:43 |
blackjccl |
This is inside my code |
# |
Apr 4th 2019, 20:41 |
blackjccl |
if in my layout I have `<? = $ this-> Html-> charset ()?>` and in app.config it is thus `'encoding' => env ('APP_ENCODING', 'UTF-8')` |
# |
Apr 4th 2019, 20:37 |
etipaced |
With `'encoding' => env('APP_ENCODING', 'UTF-8'),` in app.php? |
# |
Apr 4th 2019, 20:37 |
etipaced |
Do you have `$this->Html->charset()` in your layout file? |
# |
Apr 4th 2019, 20:35 |
blackjccl |
error message |
# |
Apr 4th 2019, 20:34 |
blackjccl |
hello community, I have a problem with the tcpdf library when generating a pdf |
# |
Apr 4th 2019, 18:43 |
ricksaccous |
i see |
# |
Apr 4th 2019, 18:43 |
this.impetus |
metaphorically, yeah, probably; having back-end creds on the CV opens doors. but actually? naw man betty crocker has my back |
# |
Apr 4th 2019, 18:39 |
ricksaccous |
are you trying to be a professional chef? |
# |
Apr 4th 2019, 18:35 |
this.impetus |
lul even in the kitchen that's untrue. but one can aspire. |
# |
Apr 4th 2019, 18:34 |
ricksaccous |
np, keep on trucking cake master |
# |
Apr 4th 2019, 18:18 |
this.impetus |
ty for your time |
# |
Apr 4th 2019, 18:18 |
this.impetus |
yeah, understandable. I *know* how to achieve this, in any case... it's jsut that with cake there's almost always a "if you'd just set it up this way...." solution that avoids my writing manual code. The trick is always being knowledgeable about Cake's magic |
# |
Apr 4th 2019, 18:17 |
ricksaccous |
lol |
# |
Apr 4th 2019, 18:17 |
ricksaccous |
but we are not about to sink time into bake templates unless i can convince a lead dev to do so |
# |
Apr 4th 2019, 18:17 |
ricksaccous |
i probably should |
# |
Apr 4th 2019, 18:16 |
ricksaccous |
yeah, it's on the template i'd think, i'm not quite sure i really don't bake a lot |
# |
Apr 4th 2019, 18:15 |
this.impetus |
really? it's a template issue? I was imagining that the request for the associated models somehow lacked an instruction about which column is meant to be retrieved for display purposes |
# |
Apr 4th 2019, 18:15 |
ricksaccous |
i need more context here i think |
# |
Apr 4th 2019, 18:15 |
ricksaccous |
that data is probably already selected though |
# |
Apr 4th 2019, 18:15 |
ricksaccous |
or you want to just select that data |
# |
Apr 4th 2019, 18:15 |
ricksaccous |
not sure if you mean you want the default baked template to display that |