# |
Jul 10th 2018, 19:23 |
saeideng |
http://subdomain.domain.com/foo/bar/index |
# |
Jul 10th 2018, 19:23 |
itmpls |
right - but in parse() it doesn't become the controller name |
# |
Jul 10th 2018, 19:23 |
saeideng |
`bar` is controller name |
# |
Jul 10th 2018, 19:23 |
saeideng |
if it is plugin name/prefix |
# |
Jul 10th 2018, 19:23 |
waspinator |
http://cakephp.com/ |
# |
Jul 10th 2018, 19:23 |
sdevore |
attack deprecation warnings with vim and vigor |
# |
Jul 10th 2018, 19:22 |
kitcat711 |
thx, I am migrating from 3.5 to 3.6 preparing migration to 4 |
# |
Jul 10th 2018, 19:22 |
itmpls |
the problem is the action part |
# |
Jul 10th 2018, 19:22 |
itmpls |
yeah |
# |
Jul 10th 2018, 19:21 |
saeideng |
@itmpls is `foo` plugin prefix ? |
# |
Jul 10th 2018, 19:20 |
sdevore |
the ide helper doesn’t help with migration but it makes autocomplete work way better. As far as migrating older sites to 3.x there are some plugins (check awesome) but nothing is perfect or ‘easy’ |
# |
Jul 10th 2018, 19:18 |
saeideng |
use dereuromark ide helper |
# |
Jul 10th 2018, 19:17 |
kitcat711 |
hello, does anyone use phpStorm and developping in Cake 3 ? I am looking for an extension to help me migrate to 3.6 |
# |
Jul 10th 2018, 18:47 |
admad |
Was a chance lakaku had just before the break |
# |
Jul 10th 2018, 18:46 |
josbeir |
Pff pff pff :) |
# |
Jul 10th 2018, 18:21 |
josbeir |
But not Spielbergs version .. |
# |
Jul 10th 2018, 18:20 |
josbeir |
Tintin every time. |
# |
Jul 10th 2018, 18:20 |
josbeir |
Haha |
# |
Jul 10th 2018, 18:18 |
admad |
https://i.redd.it/0awuooxu05911.jpg |
# |
Jul 10th 2018, 18:17 |
admad |
Hehe |
# |
Jul 10th 2018, 18:17 |
josbeir |
After this wk i will have lost all my nails |
# |
Jul 10th 2018, 18:14 |
admad |
Hold your horses, let them score :slightly_smiling_face: |
# |
Jul 10th 2018, 18:13 |
josbeir |
:flag-be: :flag-be: |
# |
Jul 10th 2018, 17:41 |
itmpls |
should I do it differently? |
# |
Jul 10th 2018, 17:41 |
itmpls |
for a custom routing class for subdomains, in the parse() method I want to just override a plugin but keep the action/controllers as they are (for a subdomain). the problem is, $url = parent::parse($url, $method); when I go to subdomain.domain.com/foo/bar, 'action' is still 'index' and not 'bar'. I'm defining this custom route via fallbacks |
# |
Jul 10th 2018, 17:27 |
ashish_onmobile |
I am planning to choose angular as frontend and cakephp as backend for my future projects. |
# |
Jul 10th 2018, 17:26 |
ashish_onmobile |
? |
# |
Jul 10th 2018, 17:26 |
ashish_onmobile |
Is there any angular developer. |
# |
Jul 10th 2018, 17:16 |
admad |
@jhob there must be lots of minor changes between 3.3 and 3.6. Read the migration guide |
# |
Jul 10th 2018, 17:06 |
jhob |
After upgrading 3.3.16 to 3.6.7 AJAX post is returning 403, was working fine before. Has something changed with authentication that I need to handle differently? |
# |
Jul 10th 2018, 17:03 |
ricksaccous |
I suppose I can do this https://stackoverflow.com/questions/34090241/import-vendor-class-in-cakephp-3-without-require |
# |
Jul 10th 2018, 17:01 |
popperz0r |
somehow |
# |
Jul 10th 2018, 17:01 |
popperz0r |
fixed with frozendate |
# |
Jul 10th 2018, 17:00 |
ricksaccous |
without going down a rabbit hole where I refactor a decent amount of this application |
# |
Jul 10th 2018, 17:00 |
ricksaccous |
for legacy reasons I can't namespace this class |
# |
Jul 10th 2018, 17:00 |
ricksaccous |
anyone familiar with including non-namespaced class somewhere in a cake application? |
# |
Jul 10th 2018, 16:54 |
popperz0r |
`I18n::getLocale()` is returning pt_PT but it isnt loading the file |
# |
Jul 10th 2018, 16:53 |
popperz0r |
nothing is loading my cake.po :( |
# |
Jul 10th 2018, 16:53 |
popperz0r |
Is this still working? `'defaultLocale' => env('APP_DEFAULT_LOCALE', 'en_US'),` or rather use this? `ini_set('intl.default_locale', 'pt_PT'); ` |
# |
Jul 10th 2018, 16:52 |
popperz0r |
Hello! |
# |
Jul 10th 2018, 16:32 |
james.phillips |
ahh its a path issue https://host-7djrft.api.swiftype.com/api/as/v1/engines/xxx//documents/_search |