# |
Jun 16th 2018, 22:38 |
saeideng |
routes |
# |
Jun 16th 2018, 22:37 |
ndm |
n8 |
# |
Jun 16th 2018, 22:37 |
ndm |
@saeideng I need to be able to retrieve routes via their names... it's some fancy stuff about linking things internally via specific name patterns, etc... :slightly_smiling_face: |
# |
Jun 16th 2018, 22:35 |
saeideng |
night |
# |
Jun 16th 2018, 22:32 |
saeideng |
why you need returning `_name`? |
# |
Jun 16th 2018, 22:27 |
ndm |
@saeideng `\Cake\Routing\Route\Route` of course... I was just wondering about the technical reason for method to only return the generated route name, and not the configured one. Upon further inspection it seems that checking and storing the routes differently in `RouteCollection::add()` seems to be one of the reasons. |
# |
Jun 16th 2018, 21:55 |
saeideng |
`Get the standardized plugin.controller:action name for a route.` |
# |
Jun 16th 2018, 21:54 |
saeideng |
at least for now |
# |
Jun 16th 2018, 21:54 |
saeideng |
also unrelated to `_name` naming |
# |
Jun 16th 2018, 21:51 |
saeideng |
there is not any class `Cake\Routing\Route` |
# |
Jun 16th 2018, 21:28 |
ndm |
Everybody's asleep, huh? Gotta give it a try before I hop into bed too... anyone knows if there's maybe a specific reason for `\Cake\Routing\Route::getName()` not to return the name defined via the `_name` option when connecting/creating the route? |
# |
Jun 16th 2018, 10:20 |
josbeir |
ok, i'll just use plain phinx for now untill the plugin is updated to 0.10 :slightly_smiling_face: need the newer yaml |
# |
Jun 16th 2018, 09:52 |
lorenzo |
@josbeir better integration and some extra commands |
# |
Jun 16th 2018, 09:49 |
saeideng |
https://book.cakephp.org/3.0/en/migrations.html |
# |
Jun 16th 2018, 09:17 |
josbeir |
stupid question, what is the main benefit (except bake and the automatic setup) for using the migrations plugin over stand alone phinx? |
# |
Jun 16th 2018, 08:48 |
rinku |
how.................:sleepy: |
# |
Jun 16th 2018, 08:48 |
rinku |
but some times its working or sometimes not |
# |
Jun 16th 2018, 08:48 |
rinku |
Hi community i am facing an problem to save belongsToMany data in user and user_category |
# |
Jun 16th 2018, 08:46 |
rinku |
hey |
# |
Jun 16th 2018, 07:48 |
birdy247 |
morning |
# |
Jun 16th 2018, 03:09 |
petteyg359 |
Moving it to bootstrap worked, thanks. |
# |
Jun 16th 2018, 02:48 |
dereuromark |
in a minor i mean |
# |
Jun 16th 2018, 02:48 |
dereuromark |
yeah the whole plugin loading thingie in a major seems to blow up a bit. Plugin::load() in bootstrap as documented should work though |
# |
Jun 16th 2018, 02:31 |
Guest82403 |
s/recommended/suggested |
# |
Jun 16th 2018, 02:31 |
Guest82403 |
This is with whatever cakephp/app chooses as the default version, and dereuromark/cakephp-ide-helper was listed in the recommend block. |
# |
Jun 16th 2018, 02:21 |
dereuromark |
go oldschool |
# |
Jun 16th 2018, 02:21 |
dereuromark |
Sounds like u are using the new plugin loading with plugins that dont do this yet. |
# |
Jun 16th 2018, 01:47 |
Guest82403 |
t be found. Ensure your autoloader is correct." Apparently I missed a setup step. |
# |
Jun 16th 2018, 01:47 |
Guest82403 |
So I haven't used CakePHP in years, and I have no idea how to debug a broken plugin. Tried to enable dereuromark/cakephp-ide-helper. It's in the composer.json and the vendor directory, but if I add it to Application.php attempting to use bin/cake returns "PHP Fatal error: Uncaught InvalidArgumentException: The plugin class `IdeHelper\Plugin` canno |
# |
Jun 15th 2018, 22:33 |
squeeze |
route is missing on customer prefix i guess ? |
# |
Jun 15th 2018, 22:27 |
mike__ |
https://thepasteb.in/p/2RhK4zD558Qu4 |
# |
Jun 15th 2018, 22:23 |
mike__ |
when i load the view i have the follow error |
# |
Jun 15th 2018, 22:22 |
mike__ |
the second form is with url option ( 'url' => ['controller' => 'Deactivations', 'action' => 'index' ]) |
# |
Jun 15th 2018, 22:21 |
mike__ |
the first form is from view's controller ( users ) |
# |
Jun 15th 2018, 22:20 |
mike__ |
i want to do 2 forms into the same view |
# |
Jun 15th 2018, 22:20 |
mike__ |
i have some problem with formhelper |
# |
Jun 15th 2018, 22:16 |
mike__ |
hello everybody |
# |
Jun 15th 2018, 21:04 |
itmpls |
anyone use cakephp-subdomains or similar in 3.6+ for a dynamic subdomain setup? |
# |
Jun 15th 2018, 20:46 |
blackjccl |
File uploaded https://cakesf.slack.com/files/U5V7HDBHC/FB8C9SK28/-.php / https://slack-files.com/T053DPNCM-FB8C9SK28-09e61014ba |
# |
Jun 15th 2018, 20:45 |
blackjccl |
my code |
# |
Jun 15th 2018, 20:45 |
blackjccl |
"Cannot get an empty property" |