# |
Jul 3rd 2017, 15:29 |
neon1024 |
I would think debugging something in your native language would make life much easier |
# |
Jul 3rd 2017, 15:27 |
neon1024 |
Why would translating something be bad? |
# |
Jul 3rd 2017, 15:27 |
inoas |
ndm why was DebugKit translated in the first place? Not sure that's a good thing tbh |
# |
Jul 3rd 2017, 15:25 |
ndm |
@admad Well it seems so... just wanted to make sure that I'm looking at an actual "bug" :slightly_smiling_face: |
# |
Jul 3rd 2017, 15:19 |
admad |
@ndm guess no one else has taken an issue either :) |
# |
Jul 3rd 2017, 15:15 |
ndm |
I never noticed it, as I never took an issue with DebugKit being shown in english only, but it looks like DebugKits `Locale` folders haven't been upgraded to 3.x? `LC_MESSAGES` isn't been used anymore, or is it? https://github.com/cakephp/debug_kit/tree/3.10.4/src/Locale |
# |
Jul 3rd 2017, 15:12 |
dereuromark |
like a property being set |
# |
Jul 3rd 2017, 15:12 |
dereuromark |
most traits that need it have some internal state check etc |
# |
Jul 3rd 2017, 15:11 |
dereuromark |
they dont need to as the parent code has that |
# |
Jul 3rd 2017, 15:07 |
devito |
do cake traits have a initalizer? |
# |
Jul 3rd 2017, 15:04 |
neon1024 |
Faffing with template strings to add 1 class to 1 field is a pita |
# |
Jul 3rd 2017, 15:04 |
neon1024 |
I miss being able to add a class to the form input wrapper by adding the div option |
# |
Jul 3rd 2017, 14:43 |
kitcat711 |
I appreciated your support guys. |
# |
Jul 3rd 2017, 14:43 |
kitcat711 |
I failed to reach my goal no matter how hard I tried spending week ends, week days to work on my computer |
# |
Jul 3rd 2017, 14:41 |
kitcat711 |
My attempts to bootstraping my activity is coming to an end, and along my coding |
# |
Jul 3rd 2017, 14:39 |
kitcat711 |
hi neon1024 |
# |
Jul 3rd 2017, 14:39 |
devito |
@neon1024 thanks ill give it a peek |
# |
Jul 3rd 2017, 14:37 |
neon1024 |
Hey kitcat711 |
# |
Jul 3rd 2017, 14:36 |
kitcat711 |
sorry |
# |
Jul 3rd 2017, 14:36 |
kitcat711 |
to greet |
# |
Jul 3rd 2017, 14:35 |
kitcat711 |
I am just passing by to great all those who helped me during the pas two years |
# |
Jul 3rd 2017, 14:33 |
kitcat711 |
Hello |
# |
Jul 3rd 2017, 14:29 |
neon1024 |
Then just ajax’ed in mustache templates as I needed them |
# |
Jul 3rd 2017, 14:29 |
neon1024 |
Well I used Mustache as I had to add and remove multiple form blocks |
# |
Jul 3rd 2017, 14:15 |
devito |
nice. how did you go about doing it? |
# |
Jul 3rd 2017, 14:14 |
neon1024 |
..and it’s not broken yet! |
# |
Jul 3rd 2017, 14:13 |
neon1024 |
Yes, I just finished doing that. It went live on production this morning :) |
# |
Jul 3rd 2017, 14:11 |
devito |
has anyone done dynamic form field adding with the form helper and jquery? |
# |
Jul 3rd 2017, 14:10 |
devito |
hello all |
# |
Jul 3rd 2017, 14:01 |
frent |
@admad well it worked fine in the past with my regular routes and so far it's working as well for my plugin. I noticed if I remove " $routes->fallbacks('DashedRoute'); " from my similar build up in my regular routes file, that it can find the controlled. but how to fix this then? |
# |
Jul 3rd 2017, 13:57 |
adriencs |
did the Security::encrypt() have changed between Cake 2 and Cake 3 ? Can't decrypt old data now |
# |
Jul 3rd 2017, 13:55 |
admad |
you might find my i18n goodies helpful https://github.com/admad/cakephp-i18n#i18nroute |
# |
Jul 3rd 2017, 13:53 |
admad |
it has to be a static string |
# |
Jul 3rd 2017, 13:53 |
admad |
@frent you can't use a placeholder for 1st argument of Router::scope() |
# |
Jul 3rd 2017, 13:51 |
neon1024 |
Could just be a case sensitivity issue perhaps |
# |
Jul 3rd 2017, 13:50 |
neon1024 |
Have you defined your language routing tokens regex? |
# |
Jul 3rd 2017, 13:46 |
frent |
my link creates following url : `/nl/tbapi/import` as expected |
# |
Jul 3rd 2017, 13:45 |
slackebot |
but still doesn't load the controller... |
# |
Jul 3rd 2017, 13:45 |
frent |
Hi Guy's, trying to get a routes for a plugin to work but keep getting a "Controller class Tbapi could not be found." error `Router::scope('/:language', function (RouteBuilder $routes) { $routes->plugin('TBApi', ['path' => '/tbapi'], function ($routes) { $routes->connect('/import', ['controller' => 'ProductGroups', 'action' => 'import'], ['_name' => 'import']); }); });` I have a link to this action, and it does change to the path 'tbap |
# |
Jul 3rd 2017, 13:19 |
Martin` |
I also seaching for the solution of a problem, when I asked it I found it in a few minutes :P |
# |
Jul 3rd 2017, 13:17 |
dereuromark |
:slightly_smiling_face: ok |