# |
Apr 17th 2017, 18:48 |
awebster |
Okay thanks. Sorry about the confusion. Just have not done an upgrade from 2 to 3 before so it is all new to me |
# |
Apr 17th 2017, 18:39 |
dereuromark |
one is http://www.dereuromark.de/2015/06/06/cakephp-3-0-migration-notes/ |
# |
Apr 17th 2017, 18:37 |
awebster |
Okay I do not see where you are talking about. Also, do not see the blog posts about the upgrades |
# |
Apr 17th 2017, 18:34 |
dereuromark |
and maybe some blog posts from that time |
# |
Apr 17th 2017, 18:34 |
dereuromark |
should be all in the repo |
# |
Apr 17th 2017, 18:29 |
awebster |
Do you have a link the 2 year old explanations? Also, what are the manual things that need to be done? |
# |
Apr 17th 2017, 18:28 |
dereuromark |
should get you a decent help of automation along the road of still quite a few manual things to be done |
# |
Apr 17th 2017, 18:27 |
dereuromark |
try to follow the 2 year old explanations |
# |
Apr 17th 2017, 18:27 |
awebster |
@dereuromark I am using your extended upgrade script. I have it on a branch in git so I can start over. Is there a way that i can do to properly upgrade my app to cake 3 from 2.9.7 |
# |
Apr 17th 2017, 18:16 |
dereuromark |
but either way with DomPDF I used to have defi("DOMPDF_ENABLE_REMOTE", true); etc enabled for it to work |
# |
Apr 17th 2017, 18:16 |
dereuromark |
if you read the above link you would know that it internally fixed the paths in my examples :slightly_smiling_face: |
# |
Apr 17th 2017, 18:15 |
obinoob |
slackebot5: lets see how it goes |
# |
Apr 17th 2017, 18:15 |
obinoob |
slackebot5: but the problem is about the absolute path to files... working on it using <?= $this->Html->css(WWW_ROOT . '/css/pdf.css') ?> |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
any idea ? |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
I set up intl default in bootstrap |
# |
Apr 17th 2017, 18:14 |
obinoob |
I can generate pdf |
# |
Apr 17th 2017, 18:14 |
rudy1976s |
Hello I am fighting against date internationalization: there is no way to have date other than english. I have intl installed and configured in php.ini but no way to have dates in my language |
# |
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 |