# |
Mar 9th 2018, 08:57 |
emi1988 |
so this is the scenario |
# |
Mar 9th 2018, 08:57 |
emi1988 |
@dakota. Sorry. My fault |
# |
Mar 9th 2018, 08:49 |
dakota |
emi1988, just ask your question, and if somebody can help they will :slightly_smiling_face: |
# |
Mar 9th 2018, 08:31 |
emi1988 |
someone can help me if possible please;? |
# |
Mar 9th 2018, 08:31 |
emi1988 |
i need help for a project in cakephp 2.9 |
# |
Mar 9th 2018, 08:31 |
emi1988 |
hi all |
# |
Mar 9th 2018, 07:23 |
bravo-kernel |
@pedrorochani for my JWT API I use dereuromark/cakephp-tinyauth (to determine which user/groep can access which actions) |
# |
Mar 9th 2018, 06:59 |
rima |
Cakephp version 2.x |
# |
Mar 9th 2018, 06:57 |
rima |
Hello...I am new to cakephp.I have a query.Where can I set header('Content-Type: text/html; charset=utf-8'); in cakephp? |
# |
Mar 9th 2018, 05:29 |
savant |
never used it though @cnizzardini |
# |
Mar 9th 2018, 05:04 |
savant |
looks interesting |
# |
Mar 9th 2018, 04:55 |
cnizzardini |
Does anyone have experience using Amphp\parallel with CakePHP? |
# |
Mar 8th 2018, 23:22 |
Pedroni |
Can someone show me one example on how to validate if users can access a specific method in my controller on a restful api using this authentication https://github.com/ADmad/cakephp-jwt-auth ? Or any other authentications |
# |
Mar 8th 2018, 22:04 |
admad |
@willem you are not wrong :slightly_smiling_face: |
# |
Mar 8th 2018, 21:05 |
savant |
heh |
# |
Mar 8th 2018, 21:00 |
meder |
thanks for being patient yesterday - i can say i'm more familiar with cake routing now |
# |
Mar 8th 2018, 21:00 |
meder |
savant: btw, instead of adjusting the router caching - i'm refactoring the way this app builds routes. 1500 inflected routes.... |
# |
Mar 8th 2018, 20:07 |
slackebot |
correct me if i’m wrong. but this seems to work |
# |
Mar 8th 2018, 20:07 |
willem |
it think i got it: ``` $routes->connect( '/customers', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'en' ] ); $routes->connect( '/klanten', ['controller' => 'Customers', 'action' => 'index'], [ 'routeClass' => 'ADmad/I18n.I18nRoute', 'lang' => 'nl' ] ); ``` |
# |
Mar 8th 2018, 19:59 |
willem |
both would point to the same controller e.g. Customers |
# |
Mar 8th 2018, 19:58 |
willem |
when using @admad’s I18n plugin, is it possible (and how do i set up the routes) to have for example this ``` /nl/klanten /en/customers ``` |
# |
Mar 8th 2018, 19:37 |
gsitex |
@dereuromark postLink is not working if you have it wrapped in a <form> tag, right? |
# |
Mar 8th 2018, 19:37 |
dereuromark |
e.g. inside forms, you need to use the non-inline script block way |
# |
Mar 8th 2018, 19:36 |
dereuromark |
it usually only fails if you dont use it as documented |
# |
Mar 8th 2018, 19:36 |
Brian_ |
anyone know (a) why the devs decided to use dom vars and (b) why it fails sometimes? |
# |
Mar 8th 2018, 19:36 |
Brian_ |
this onclick handler fails sometimes because it's (rather hackishly) targeting a hidden form using dom variables instead of jquery or a vanilla js selector |
# |
Mar 8th 2018, 19:35 |
Brian_ |
$onClick = 'document.' . $formName . '.submit();'; |
# |
Mar 8th 2018, 19:35 |
Brian_ |
I've got a workaround, but I'd like to understand the bug |
# |
Mar 8th 2018, 19:34 |
Brian_ |
just found a bug in cake3 postLink, wondering if anyone had insight |
# |
Mar 8th 2018, 19:18 |
savant |
something like that |
# |
Mar 8th 2018, 19:18 |
angelxmoreno |
well, at least i know @savant is going. He is legally bound to attend 5 more cakefests |
# |
Mar 8th 2018, 19:17 |
savant |
lol |
# |
Mar 8th 2018, 19:14 |
angelxmoreno |
@dereuromark you are going to pay the $75 processing fee on my refund |
# |
Mar 8th 2018, 19:14 |
ricksaccous |
lmao |
# |
Mar 8th 2018, 19:14 |
angelxmoreno |
REFUND!!!!! |
# |
Mar 8th 2018, 19:14 |
angelxmoreno |
wtf |
# |
Mar 8th 2018, 19:14 |
ricksaccous |
ok |
# |
Mar 8th 2018, 19:14 |
dereuromark |
Nope |
# |
Mar 8th 2018, 19:13 |
ricksaccous |
just curiousssss |
# |
Mar 8th 2018, 19:13 |
ricksaccous |
@dereuromark are you going to cakefest this year? |
# |
Mar 8th 2018, 19:01 |
angelxmoreno |
if i move out of ny, lol |