# |
Jun 17th 2018, 09:06 |
piwi |
i want to to populate request data but it will be depreciate into 4.0 version |
# |
Jun 17th 2018, 09:05 |
piwi |
hi everybody |
# |
Jun 16th 2018, 22:53 |
Dino_ |
Not find any useful event to intercept and try to write directly |
# |
Jun 16th 2018, 22:52 |
Dino_ |
Creating "otherTask.php" doesn't list at console as new task |
# |
Jun 16th 2018, 22:52 |
Dino_ |
Creating TemplateTask.php goes to "cannot redeclare class". |
# |
Jun 16th 2018, 22:50 |
saeideng |
:sleeping_accommodation: |
# |
Jun 16th 2018, 22:49 |
ndm |
maybe... it's not really a pressing issue. Gotta go to get some sleep now. night everybody :zzz: |
# |
Jun 16th 2018, 22:49 |
Dino_ |
Hi All. Serious trouble extending bake. "bake template myTable -t myTheme" is working as it should. But I wish to bake an index.ctp with small parts as elements. How to create together Template/MyTable/index.ctp and Template/Element/MyTable/small_part_one_of_many.ctp |
# |
Jun 16th 2018, 22:47 |
saeideng |
just needs a new Issue in github |
# |
Jun 16th 2018, 22:47 |
saeideng |
maybe new method maybe `getNamed` would be useful |
# |
Jun 16th 2018, 22:46 |
saeideng |
you are right |
# |
Jun 16th 2018, 22:45 |
saeideng |
all routes dont have `_name` in options |
# |
Jun 16th 2018, 22:44 |
ndm |
That's not the problem, actually there isn't really a "problem", I can access the name via the routes `options` property. I was just wondering why `getName()` behaves like it behaves :slightly_smiling_face: |
# |
Jun 16th 2018, 22:44 |
saeideng |
use `Hash::get($route->options, '_name', $route->getName())` |
# |
Jun 16th 2018, 22:41 |
saeideng |
for receiving all routes with `_name` |
# |
Jun 16th 2018, 22:40 |
saeideng |
use `RouteCollection::named()` |
# |
Jun 16th 2018, 22:40 |
saeideng |
so |
# |
Jun 16th 2018, 22:38 |
saeideng |
routes are in RouteCollection |
# |
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 |