# |
Oct 9th 2016, 12:57 |
ndm |
That should work fine... it does for me at least. |
# |
Oct 9th 2016, 12:55 |
maikh |
http://pastebin.com/my6vdhcs |
# |
Oct 9th 2016, 12:54 |
maikh |
yes, it is. |
# |
Oct 9th 2016, 12:54 |
ndm |
also it should be inside `head` |
# |
Oct 9th 2016, 12:54 |
maikh |
nothing only with pdf. have i to do something in my controller before that? |
# |
Oct 9th 2016, 12:53 |
ndm |
the path should be either non-relative, ie `/css/pdf.css`, or the shorthand variant, just `pdf` |
# |
Oct 9th 2016, 12:53 |
maikh |
i tried is withou the leading "css" but it also not work |
# |
Oct 9th 2016, 12:52 |
maikh |
@ndm in doku it is so: ```echo $this->Html->css('bootstrap/bootstrap.css', ['fullBase' => true]);``` |
# |
Oct 9th 2016, 12:51 |
maikh |
this file is in webroot/css/pdf.css |
# |
Oct 9th 2016, 12:50 |
maikh |
@ndm this is in my template in ```head></head>``` ```<?= $this->Html->css('css/pdf.css', ['fullBase' => true]); ?``` |
# |
Oct 9th 2016, 12:50 |
ndm |
So, _where_ and _how_ are you including it? |
# |
Oct 9th 2016, 12:50 |
maikh |
@ndm ok, now im on Dompdf. But css is not loading... |
# |
Oct 9th 2016, 12:49 |
ndm |
@maikh Never tried Mpdf, but including external CSS works fine for me with Dompdf and wkhtmltopdf. |
# |
Oct 9th 2016, 11:59 |
maikh |
@spriz do you use a css file fore generating your pdf with mpdf and cakepdf? I try to set a css file like described in doku, but its not working. |
# |
Oct 9th 2016, 11:54 |
maikh |
@waspinator did you find a solution for this css problem? I have the same issue. |
# |
Oct 9th 2016, 11:40 |
maikh |
hey there. Is someone here fimilar with cakepdf in conclusion with mpdf or dompdf? i try to insert a css, file like described in doku, but it does not work. |
# |
Oct 9th 2016, 10:01 |
cakephp658 |
returns nul |
# |
Oct 9th 2016, 10:01 |
cakephp658 |
new Google_Client(); |
# |
Oct 9th 2016, 10:01 |
cakephp658 |
shows Error: Call to a member function listVideos() on null |
# |
Oct 9th 2016, 10:01 |
cakephp658 |
$results = $yt->videos->listVideos('snippet') |
# |
Oct 9th 2016, 10:00 |
cakephp658 |
but I can't seem to get the service to work |
# |
Oct 9th 2016, 10:00 |
cakephp658 |
installed via composer |
# |
Oct 9th 2016, 10:00 |
cakephp658 |
i'm trying to use Google API with Cake 2.9 |
# |
Oct 9th 2016, 08:21 |
admad |
github.com/cakephp/cakephp |
# |
Oct 9th 2016, 08:21 |
slackebot |
~tell turtle_ about issue |
# |
Oct 9th 2016, 08:21 |
slackebot |
Command sent from Slack by admad: |
# |
Oct 9th 2016, 05:59 |
justinatack |
Hi All, can someone help me with using the collections class sortBy function. I have a query that pulls a list of users but I need to sort that list of users by a deeply nested relationship. |
# |
Oct 9th 2016, 05:44 |
turtle_ |
hi, is there anywhere to log a feature request for cake? |
# |
Oct 9th 2016, 02:07 |
waspinator |
looks like someone else had this issue a couple years back, but it never got answered. I'm sure it's straightforward once you know it. https://github.com/FriendsOfCake/CakePdf/issues/63 |
# |
Oct 9th 2016, 02:06 |
waspinator |
good evening moose. |
# |
Oct 9th 2016, 02:06 |
moose517 |
evening waspinator |
# |
Oct 9th 2016, 01:56 |
waspinator |
trying to include a css link in a pdf template that's being generated by a shell, but `echo $this->Html->css('bootstrap/bootstrap', ['fullBase' => true]);` outputs null. Do I have to do something special when trying to use view helpers from a shell? |
# |
Oct 8th 2016, 23:16 |
moose517 |
more desriptive of the issue maybe? |
# |
Oct 8th 2016, 22:09 |
ksoj |
hi, i have problem with cake. Long respons by ajax, cookie regenerate = logout :-/ any help please? |
# |
Oct 8th 2016, 21:10 |
theovert |
lol working with MMM |
# |
Oct 8th 2016, 21:05 |
theovert |
but M give a digit |
# |
Oct 8th 2016, 21:05 |
theovert |
tried like i18nFormat('M dd, yyyy HH:mm',$timezone) |
# |
Oct 8th 2016, 21:05 |
theovert |
hi there, someone can advice ? trying to format like May 10, 2016 3:30 output of i18nFormat() fct |
# |
Oct 8th 2016, 20:10 |
admad |
or in layout itself before calling getCrumbs() |
# |
Oct 8th 2016, 20:10 |
admad |
in any view template or element |
# |
Oct 8th 2016, 19:48 |
samyak |
on the same ctp file? |