# |
Apr 17th 2017, 18:13 |
obinoob |
I'm using DomPdf |
# |
Apr 17th 2017, 18:13 |
dereuromark |
it depends on the engine how exactly it needs configuring |
# |
Apr 17th 2017, 18:13 |
dereuromark |
make sure they get absolute URLs then with the proper settings will be included correctly |
# |
Apr 17th 2017, 18:12 |
obinoob |
I've read it ;) |
# |
Apr 17th 2017, 18:12 |
dereuromark |
obinoob: http://www.dereuromark.de/2014/04/08/generating-pdfs-with-cakephp/#tips might help |
# |
Apr 17th 2017, 18:05 |
obinoob |
with cakePDF |
# |
Apr 17th 2017, 18:05 |
obinoob |
how can reference css files and images? |
# |
Apr 17th 2017, 18:03 |
mikesmoniker |
Is there any way (in 3.x) to control how a model behavior gets instantiated? (new'd up) |
# |
Apr 17th 2017, 17:57 |
obinoob |
anyone? |
# |
Apr 17th 2017, 17:56 |
obinoob |
i need to build a template for CakePDF any example available? In particular with image url and style... |
# |
Apr 17th 2017, 17:18 |
dereuromark |
Some eyes look at me It seems, I feel observed ;) |
# |
Apr 17th 2017, 17:17 |
angelxmoreno |
:eyes: @dereuromark |
# |
Apr 17th 2017, 17:08 |
dereuromark |
I had similar issues, and my extended upgrade tool also still sometimes has that issue |
# |
Apr 17th 2017, 17:08 |
dereuromark |
it doesnt properly detect your root and thus starts nesting |
# |
Apr 17th 2017, 17:04 |
awebster |
Okay thats what I thought. What could be the cause of having so many src directories? |
# |
Apr 17th 2017, 17:01 |
cpierce |
inside it you'd have the base stuff |
# |
Apr 17th 2017, 17:01 |
cpierce |
should only have one `/src` |
# |
Apr 17th 2017, 17:00 |
cpierce |
@awebster ummm composer |
# |
Apr 17th 2017, 16:53 |
awebster |
I do not use the views of the app. I am just using cake as an API that connects via endpoints to an angular front end |
# |
Apr 17th 2017, 16:53 |
awebster |
Also, do I need to install a test app with cake 3 and grab the core cake files I need and place them in the correct directory. It looks like the tool made a src directory and then made another src directory under that contains yet another src dir and Template directory. That next src directory contains a Template | Layout directory |
# |
Apr 17th 2017, 16:52 |
dakota |
Start with the first one :slightly_smiling_face: |
# |
Apr 17th 2017, 16:52 |
dakota |
https://book.cakephp.org/3.0/en/appendices/3-x-migration-guide.html |
# |
Apr 17th 2017, 16:51 |
awebster |
@dakota Can you send me the link to the migration guides? |
# |
Apr 17th 2017, 16:48 |
dakota |
You need to carefully work through the migration guides |
# |
Apr 17th 2017, 16:48 |
dakota |
awebster The upgrade tool only takes you around 50% of the way, it does the automatable things. |
# |
Apr 17th 2017, 16:47 |
awebster |
How can I tell it added the 3.4.5 cake core files and use those because it looks to be using the 2.9.7 lib files even though I ran the upgrade script |
# |
Apr 17th 2017, 16:46 |
awebster |
I ran the upgrade script for from 2.9.7 to 3.4.5 using the bin/cake upgrade all --git app_dir command and now when I run my app, I get `Fatal error: Class 'AppHelper' not found in /public/v2/lib/Cake/View/Helper/HtmlHelper.php on line 32` |
# |
Apr 17th 2017, 16:25 |
cpierce |
trying to use templates for my Form. I'm not having any luck with the error showing unless I include {{content}} in my input but that isn't documented and does really place it in the correct spot. Any help? |
# |
Apr 17th 2017, 15:58 |
obinoob |
solved pathname was wrong |
# |
Apr 17th 2017, 15:41 |
obinoob |
any idea what might happen? |
# |
Apr 17th 2017, 15:40 |
obinoob |
using CakePdf |
# |
Apr 17th 2017, 15:40 |
obinoob |
and chown to server on the folder |
# |
Apr 17th 2017, 15:40 |
obinoob |
I have set 777 in folder |
# |
Apr 17th 2017, 15:39 |
obinoob |
Hi, I'm getting this notice Warning (2): mkdir(): Permission denied [CORE/src/Filesystem/Folder.php, line 616] |
# |
Apr 17th 2017, 13:06 |
mikesmoniker |
In 2.x, is there a likely reason why Cake would be trying to do an insert (resulting in an integrity violation constraint) when deep saving a model w/ a hasOne relationship? |
# |
Apr 17th 2017, 12:55 |
makallio85 |
what would be the correct place to build navigation links for entities automatically in cakephp 3 rest api? |
# |
Apr 17th 2017, 11:56 |
theaxiom |
sorry for the spam :,) |
# |
Apr 17th 2017, 11:56 |
theaxiom |
I'm off to bed, g'night folks |
# |
Apr 17th 2017, 11:44 |
dakota |
`$this->request->session()` |
# |
Apr 17th 2017, 11:44 |
dakota |
Through the request |
# |
Apr 17th 2017, 11:39 |
rushabh |
How can i access session in Helper in cakephp 3.x ? |