# |
Dec 19th 2019, 13:33 |
gianmarxgagliardi |
I should make a form to match the matches of the teams. How do I prevent a team from playing against itself |
# |
Dec 19th 2019, 13:24 |
challgren |
No he means you can’t filter by for example authentication related plugins. |
# |
Dec 19th 2019, 13:16 |
jimbo2150 |
You can always contact the developers of said plugins/libraries and ask them to push to Composer ;) |
# |
Dec 19th 2019, 13:03 |
dereuromark |
composer is missing some useful cake specific grouping/filtering, though IMO |
# |
Dec 19th 2019, 12:48 |
jimbo2150 |
Composer pretty much took over for the CakePHP plugins directory - https://packagist.org/?query=cakephp |
# |
Dec 19th 2019, 10:50 |
kiwi_8 |
yo |
# |
Dec 19th 2019, 10:48 |
gianmarxgagliardi |
morning |
# |
Dec 19th 2019, 10:32 |
dereuromark |
sure, the mind reading plugin |
# |
Dec 19th 2019, 10:16 |
challgren |
No plugin to do all that??? :P |
# |
Dec 19th 2019, 10:13 |
dereuromark |
tags, filtering and few other useful meta things are nice to have. just a bit sad no one took better ownership here |
# |
Dec 19th 2019, 10:12 |
dereuromark |
well, in a way, but you cannot fully replace a DB driven approach with a static list |
# |
Dec 19th 2019, 10:12 |
challgren |
Thats what I though, I thought fox/awesome replaced it |
# |
Dec 19th 2019, 10:10 |
dereuromark |
i dont think so, for years |
# |
Dec 19th 2019, 09:49 |
challgren |
Is https://plugins.cakephp.org/ still maintained? |
# |
Dec 19th 2019, 09:08 |
kaliel |
morning all :croissant: |
# |
Dec 19th 2019, 08:50 |
alexdd55976 |
and duderinas |
# |
Dec 19th 2019, 08:50 |
alexdd55976 |
morning dudes |
# |
Dec 19th 2019, 08:32 |
kani |
`<?php` `use Cake\Routing\RouteBuilder;` `use Cake\Routing\Router;` `use Cake\Routing\Route\DashedRoute;` `Router::plugin(` `'Api',` `['path' => '/api'],` `function (RouteBuilder $routes) {` `$routes->fallbacks(DashedRoute::class);` `$routes->setExtensions(['json']);` `$routes->resources("Posts");` `}` `);` |
# |
Dec 19th 2019, 08:19 |
kani |
v4 not loading plugin route |
# |
Dec 19th 2019, 07:58 |
megan |
morning all! |
# |
Dec 19th 2019, 07:52 |
jotpe |
morning |
# |
Dec 19th 2019, 07:42 |
javier.villanueva |
morning all |
# |
Dec 19th 2019, 06:48 |
yadav.manu36 |
Current query: $query = $this->Users->find(); $query->matching('Listings'); $query->matching('Organizations'); I need like this: $query = $this->Users->find(); $query->matching('Listings'); $query->orMatching('Organizations'); Please help me if have any solution about this type of query |
# |
Dec 19th 2019, 06:47 |
yadav.manu36 |
@admad can you please help me, i have post my query 17 Dec but i am not getting proper solution I have a problem Retrieving Data with matching 2 different different Association. I want if have 1 matching table from both matching then we want the result. it is possible using matching? behavior like we need according to matching and orMacthing senorio (edited) In the Laravel have option like: WhereHas() / orWhereHas |
# |
Dec 19th 2019, 06:44 |
yadav.manu36 |
@admad Thanks for this |
# |
Dec 19th 2019, 05:35 |
admad |
No, but you can use any other database management tool to do so, for e.g. mysql workbench |
# |
Dec 19th 2019, 05:12 |
yadav.manu36 |
Like this: https://quickadminpanel.com/blog/generate-sql-db-schema-image-with-laravel-er-diagram-generator/ |
# |
Dec 19th 2019, 05:12 |
yadav.manu36 |
In the CakePHP possible to Generate SQL DB Schema Image (ER Diagram)? |
# |
Dec 19th 2019, 05:10 |
yadav.manu36 |
Hi All Good morning |
# |
Dec 19th 2019, 01:12 |
nuzulfikrie |
I understand that the intention is to use cache, - but do i have to configure __cake__model_ to use the cache as well? |
# |
Dec 19th 2019, 00:55 |
nuzulfikrie |
how do i debug this? |
# |
Dec 19th 2019, 00:54 |
nuzulfikrie |
And I encountered error *The "_cake_model_" cache configuration does not exist.* |
# |
Dec 19th 2019, 00:54 |
slackebot |
`]` `],` `'Cache' => [` `'defaults' => [` `'className' => 'Cake\Cache\Engine\FileEngine',` `'path' => CACHE,` `'url' => env('CACHE_DEFAULT_URL', null),` `]` `],` |
# |
Dec 19th 2019, 00:54 |
nuzulfikrie |
hi support . On cake 3 here, I am trying to copy the ComboSession.php. Instead of using the APC engine, i used the file engine like so `'Session' => [` `'defaults' => 'database',` `'handler' => [` `'engine' => 'Manage\Http\Sessions\EagleSessions',` `'model' => 'Manage.UserSession',` `'cache' => 'defaults'` |
# |
Dec 19th 2019, 00:06 |
challgren |
Mailgun 5.0.0 has been released with support for CakePHP 4.0.0 https://github.com/narendravaghela/cakephp-mailgun/releases/tag/5.0.0 |
# |
Dec 18th 2019, 21:23 |
grzegorek.rafal |
*Thanks |
# |
Dec 18th 2019, 21:22 |
grzegorek.rafal |
Got it. Thank guys! :) |
# |
Dec 18th 2019, 21:22 |
grzegorek.rafal |
:+1: |
# |
Dec 18th 2019, 21:22 |
challgren |
And your schema would be `$schema->addField('name_id', 'boolean')` but I would recommend doing `$schema->addField('name_id', ['type' => 'boolean'])` |
# |
Dec 18th 2019, 21:22 |
grzegorek.rafal |
I see. |
# |
Dec 18th 2019, 21:21 |
challgren |
If you want the name_id to be hidden you would use `$this->Form->hidden('name_id')` instead of control |