# |
Feb 8th 2018, 13:40 |
alysson-azevedo |
Hi. Does `Router::prefix` inside a `Router::scope`? |
# |
Feb 8th 2018, 13:27 |
hmic |
can all your supported browsers use require()? |
# |
Feb 8th 2018, 13:25 |
birdy247 |
require('eonasdan-bootstrap-datetimepicker'); |
# |
Feb 8th 2018, 13:25 |
birdy247 |
@neon1024 I am doing things like this |
# |
Feb 8th 2018, 13:20 |
pedrorocha |
I'm afraid of compatibility issues, because this app is gonna be an extension to another two cakephp applications running 3.1.6 version |
# |
Feb 8th 2018, 13:18 |
saeideng |
and `composer install ` |
# |
Feb 8th 2018, 13:17 |
admad |
that said it's a bad idea making a new project with older version |
# |
Feb 8th 2018, 13:17 |
saeideng |
chnage composer.json |
# |
Feb 8th 2018, 13:17 |
saeideng |
composer cakephp/app |
# |
Feb 8th 2018, 13:17 |
pedrorocha |
Thanks |
# |
Feb 8th 2018, 13:17 |
pedrorocha |
I'll try and I'll get back to you |
# |
Feb 8th 2018, 13:16 |
admad |
@pedrorocha `composer create-project --prefer-dist cakephp/app:"3.1.*" app_name` |
# |
Feb 8th 2018, 13:16 |
dereuromark |
all there: https://github.com/cakephp/app/releases - but why do you need to? |
# |
Feb 8th 2018, 13:16 |
saeideng |
there is another way |
# |
Feb 8th 2018, 13:15 |
dereuromark |
just download an older app zip file |
# |
Feb 8th 2018, 13:15 |
pedrorocha |
Hey guys, is there any way to create a new project using older versions of cakephp? I've tried `composer create-project --prefer-dist cakephp/app app_name 3.1.*` but it doesnt work |
# |
Feb 8th 2018, 13:02 |
saeideng |
I see this problem with contain() .. |
# |
Feb 8th 2018, 13:01 |
saeideng |
you can do some OP on table that has `null` |
# |
Feb 8th 2018, 13:01 |
saeideng |
>So it doesn’t seem possible to find associations optionally and sort on the optional association |
# |
Feb 8th 2018, 13:00 |
neon1024 |
Inspired by, https://twitter.com/fhinkel/status/958653179889180673 |
# |
Feb 8th 2018, 12:59 |
neon1024 |
The Alf to your Gandalf, if you will :P |
# |
Feb 8th 2018, 12:59 |
neon1024 |
At least, that’s how I understand it. I should say |
# |
Feb 8th 2018, 12:59 |
neon1024 |
The `node_modules` folder is to Node what your `vendors` folder is to Composer |
# |
Feb 8th 2018, 12:56 |
neon1024 |
Because that’s what it’s for ;) |
# |
Feb 8th 2018, 12:56 |
neon1024 |
Nope, I use NPM |
# |
Feb 8th 2018, 12:52 |
birdy247 |
Anyone using node to require node_modules here? |
# |
Feb 8th 2018, 12:47 |
neon1024 |
So it doesn’t seem possible to find associations optionally and sort on the optional association |
# |
Feb 8th 2018, 12:38 |
neon1024 |
Lé sigh. |
# |
Feb 8th 2018, 12:38 |
neon1024 |
Oh, it’s the inverted `notMatching` which I’m using because content is optional |
# |
Feb 8th 2018, 12:35 |
neon1024 |
Ah, nevermind. I have `(Contents.id) IS NULL` in my SQL for some reason |
# |
Feb 8th 2018, 12:32 |
neon1024 |
I’d like to have a paginate sort link for a third level association, but it doesn’t seem to be working. Do I need to specify all the association levels in my `Paginator->sort()` and my `sortWhiteList` ? `'sortWhiteList' => 'ContentAssingments.Contents.modified'` ? |
# |
Feb 8th 2018, 12:13 |
saeideng |
https://github.com/dereuromark/cakephp-shim/blob/master/src/Model/Behavior/NullableBehavior.php |
# |
Feb 8th 2018, 12:12 |
neon1024 |
@saeideng Cool, thanks! |
# |
Feb 8th 2018, 12:11 |
saeideng |
https://github.com/cakephp/cakephp/issues/11499 |
# |
Feb 8th 2018, 12:11 |
saeideng |
@neon1024 |
# |
Feb 8th 2018, 11:42 |
neon1024 |
Guess I’ll knock up a big beforeMarshal method |
# |
Feb 8th 2018, 11:25 |
neon1024 |
Or more a question for the forums? |
# |
Feb 8th 2018, 11:25 |
neon1024 |
Is there a better way to tell the marshaller to not marshall request data where it’s value is empty? With an optional select element, using ‘empty’ I can submit request data with a foreignKey of `''` and the marshaller will fail validation when it tries to create a new entity. This feels like a bug to me, and I’m having to sidestep it by unsetting my request data. I’m sure I’m missing a feature in the core here, anyone know what |
# |
Feb 8th 2018, 10:47 |
h.mavisakalian |
Neo4j for example |
# |
Feb 8th 2018, 10:46 |
h.mavisakalian |
Does anyone have any experience with using cakephp3 with graph databases ? |
# |
Feb 8th 2018, 10:46 |
h.mavisakalian |
Hi all. |