# |
Mar 14th 2018, 11:22 |
neon1024 |
At a quick glance, I have to create a yaml config for all the changes between my version and the target? |
# |
Mar 14th 2018, 11:20 |
dereuromark |
this tool or my upgrade tool (a bit outdated) should do the trick |
# |
Mar 14th 2018, 11:20 |
dereuromark |
bottom line: https://www.reddit.com/r/PHP/comments/82ddpt/the_cakephp_core_team_is_excited_to_announce_the/dvaa8kv/ |
# |
Mar 14th 2018, 11:19 |
neon1024 |
Before 17:00 GMT? ;) |
# |
Mar 14th 2018, 11:19 |
dereuromark |
I am posting a blog post later today :slightly_smiling_face: |
# |
Mar 14th 2018, 11:18 |
neon1024 |
I am upgrading a plugin to Cake 3.5. Anyone have any tips on how to find and fix all the deprecations? I have run the deprecated code inspection in PHP Storm and fixed a few, but I’m not convinced it’s found them all. |
# |
Mar 14th 2018, 10:53 |
turkles |
meh, then I find it :) |
# |
Mar 14th 2018, 10:53 |
turkles |
argggg.. can someone remind me where the site title is set.. |
# |
Mar 14th 2018, 10:50 |
neon1024 |
Check the test suite, perhaps there is a test which uses Postgres |
# |
Mar 14th 2018, 10:49 |
neon1024 |
Not sure my boss would be happy with me spending time installing Postgres |
# |
Mar 14th 2018, 10:32 |
jimesh.gajera |
Even you can check it by installing Postgres into your machine |
# |
Mar 14th 2018, 10:31 |
jimesh.gajera |
with connection manager it is working properly |
# |
Mar 14th 2018, 10:31 |
neon1024 |
It would need someone who knows postgres to check :slightly_smiling_face: |
# |
Mar 14th 2018, 10:31 |
neon1024 |
Really? Sounds like a potential bug |
# |
Mar 14th 2018, 10:31 |
jimesh.gajera |
But with postgresql ORM is not working |
# |
Mar 14th 2018, 10:30 |
neon1024 |
You will not be able to write sql with a connection |
# |
Mar 14th 2018, 10:30 |
neon1024 |
That’s the ORM’s job |
# |
Mar 14th 2018, 10:30 |
neon1024 |
It won’t |
# |
Mar 14th 2018, 10:30 |
neon1024 |
Why would the connection know about sql? |
# |
Mar 14th 2018, 10:30 |
jimesh.gajera |
My question is, I am using postgresql with cakephp3, which is not directly working with Cakephp ORM. I need to write query using connnection manager. Now, I need to use $this->Paginator->paginate() but it is not working |
# |
Mar 14th 2018, 10:23 |
neon1024 |
So, what actually is your question? |
# |
Mar 14th 2018, 10:19 |
jimesh.gajera |
Yes, I am using Paginator component |
# |
Mar 14th 2018, 10:19 |
jimesh.gajera |
Postgres is already supported with cakephp3.0.12 version |
# |
Mar 14th 2018, 10:19 |
neon1024 |
As Postgres is supported, I would imagine you can use the Paginator component though as normla |
# |
Mar 14th 2018, 10:18 |
jimesh.gajera |
Not an issue, Thank @neon1024 for your response |
# |
Mar 14th 2018, 10:18 |
neon1024 |
Although I would suggest upgrading your Cake version |
# |
Mar 14th 2018, 10:17 |
neon1024 |
Sorry @jimesh.gajera I’ve never used Postgres with CakePHP |
# |
Mar 14th 2018, 09:45 |
Jimesh |
I am using Cakephp 3.0.12 |
# |
Mar 14th 2018, 09:44 |
Jimesh |
Could anyone help for the same? |
# |
Mar 14th 2018, 09:44 |
Jimesh |
But, didn't get a success |
# |
Mar 14th 2018, 09:43 |
Jimesh |
I need to add pagination using connection |
# |
Mar 14th 2018, 09:43 |
Jimesh |
I am using postgres using connection |
# |
Mar 14th 2018, 09:28 |
slackebot |
->find() ->where( [ 'Applicants.id' => '00000000-0000-0000-0000-100000000001', ] ) ->contain( [ 'DegreesOfTheApplicant' => ['FieldsOfStudies'], ]); ``` gets me the results like i need them! |
# |
Mar 14th 2018, 09:28 |
willem |
@neon1024 Just to let you know, thanks first of all for the support, i managed to get it working by adding a new assocciation to the ApplicantsTable ``` $this->hasMany('DegreesOfTheApplicant', [ 'bindingKey' => 'id', 'foreignKey' => 'applicant_id', 'className' => 'ApplicantsDegrees', ]); ``` No calling the find like this: ``` $test = $this->ApplicantsTable |
# |
Mar 14th 2018, 09:25 |
neon1024 |
Morning all |
# |
Mar 14th 2018, 09:19 |
turkles |
Can anyone point me in the direction of some reading for the built in cake css stuff? I just want to drop a paragraph to just above the footer.. but have no idea where to start |
# |
Mar 14th 2018, 09:18 |
turkles |
hello an hour later |
# |
Mar 14th 2018, 09:11 |
adrienlambertwac |
hi Andrew :slightly_smiling_face: |
# |
Mar 14th 2018, 08:57 |
dorxy |
hi! :) |
# |
Mar 14th 2018, 08:36 |
megan |
Hi Andrew_ :slightly_smiling_face: welcome! |
# |
Mar 14th 2018, 08:19 |
ono-t |
hello ^^/ |