# |
May 15th 2019, 18:21 |
m.hoffs |
when i uncomment this one |
# |
May 15th 2019, 18:21 |
m.hoffs |
but u cracked if a bit |
# |
May 15th 2019, 18:21 |
ricksaccous |
ok |
# |
May 15th 2019, 18:21 |
m.hoffs |
yes |
# |
May 15th 2019, 18:21 |
ricksaccous |
it should be according to the plugin docs |
# |
May 15th 2019, 18:21 |
ricksaccous |
is your url with '_ext' => 'pdf'? |
# |
May 15th 2019, 18:20 |
ricksaccous |
also |
# |
May 15th 2019, 18:19 |
m.hoffs |
ok |
# |
May 15th 2019, 18:19 |
ricksaccous |
$this->viewBuilder()->setClass or something? |
# |
May 15th 2019, 18:19 |
ricksaccous |
heh |
# |
May 15th 2019, 18:19 |
m.hoffs |
i `m not so expert |
# |
May 15th 2019, 18:19 |
ricksaccous |
well i was basically stopping cake from giving me json serializable magic and json views |
# |
May 15th 2019, 18:19 |
m.hoffs |
so i can search in my code |
# |
May 15th 2019, 18:19 |
m.hoffs |
with what command did u do that > |
# |
May 15th 2019, 18:19 |
m.hoffs |
hmmm |
# |
May 15th 2019, 18:18 |
ricksaccous |
i honestly don't really know but i've had a problem before where my viewClass was being set and it was not allowing another plugin to do it's thing |
# |
May 15th 2019, 18:18 |
m.hoffs |
by adding them manual to viewClassMap ? |
# |
May 15th 2019, 18:17 |
m.hoffs |
not that i know |
# |
May 15th 2019, 18:16 |
ricksaccous |
@m.hoffs are you setting a custom view class anywhere? |
# |
May 15th 2019, 18:11 |
m.hoffs |
but now see same problem with the cakepdf |
# |
May 15th 2019, 18:11 |
m.hoffs |
but that i sorted out different way, didnt pay attention on it |
# |
May 15th 2019, 18:11 |
m.hoffs |
and got simular problem with Csvview |
# |
May 15th 2019, 18:11 |
m.hoffs |
"viewClassMap" => array:5 [▼ "json" => "Json" "xml" => "Xml" "ajax" => "Ajax" "csv" => "CsvView.Csv" "pdf" => "CakePdf.Pdf" |
# |
May 15th 2019, 18:09 |
m.hoffs |
but my feeling its not getting to that class at all |
# |
May 15th 2019, 18:09 |
m.hoffs |
i can see in the request RequestHandler that the CakePdf class is loaded |
# |
May 15th 2019, 18:08 |
m.hoffs |
but its serving normal view |
# |
May 15th 2019, 18:08 |
m.hoffs |
so pthat part can confirm is working |
# |
May 15th 2019, 18:08 |
m.hoffs |
when i open the url, its forcing application/pdf |
# |
May 15th 2019, 18:08 |
m.hoffs |
added the router extension |
# |
May 15th 2019, 18:08 |
savant |
Sometimes people just aren’t around (lots of timezones in here) or busy with work :slightly_smiling_face: |
# |
May 15th 2019, 18:08 |
m.hoffs |
I installed the cakepdf plugin |
# |
May 15th 2019, 18:07 |
savant |
Whats the actual question? |
# |
May 15th 2019, 18:07 |
m.hoffs |
tried in morning and midday allready |
# |
May 15th 2019, 18:07 |
waspinator |
@m.hoffs just ask, and if someone has the time and knows how to help they will |
# |
May 15th 2019, 18:05 |
m.hoffs |
Anyone has a bit spare time to help me with debugging ? |
# |
May 15th 2019, 17:04 |
pedroseco |
any idea how could I get a list of all tables that my loaded plugins use? |
# |
May 15th 2019, 17:04 |
pedroseco |
Hi guys |
# |
May 15th 2019, 15:52 |
neon1024 |
:thumbsup: |
# |
May 15th 2019, 15:42 |
ondrej.nedvidek |
thanks @neon1024.. I needed mapping, but you gave me lead .. and after more searching I found it https://crud.readthedocs.io/en/latest/configuration.html#action-configuration so classic RTFM-properly situation .. |
# |
May 15th 2019, 15:25 |
neon1024 |
@ondrej.nedvidek If the controller extends it, just enable the action in that controllers `initialize` function |
# |
May 15th 2019, 15:24 |
neon1024 |
Boo! |