# |
Nov 29th 2017, 20:49 |
saeideng |
`$conn->execute('INSERT into addresses ` |
# |
Nov 29th 2017, 20:49 |
joopm |
do you that how can i get the first result from the following querry |
# |
Nov 29th 2017, 20:48 |
joopm |
good evening to all community members |
# |
Nov 29th 2017, 20:48 |
saeideng |
obinoob |
# |
Nov 29th 2017, 20:48 |
obinoob |
are your sure? |
# |
Nov 29th 2017, 20:47 |
saeideng |
why you use cake ? |
# |
Nov 29th 2017, 20:47 |
obinoob |
yes I'm not escaping content etc not for the time being anyways |
# |
Nov 29th 2017, 20:45 |
inoas |
because sqlinject ,-)? |
# |
Nov 29th 2017, 20:44 |
inoas |
neothermic heh |
# |
Nov 29th 2017, 20:44 |
dereuromark |
hopefully this is an admin only function :slightly_smiling_face: |
# |
Nov 29th 2017, 20:40 |
obinoob |
perhaps I can better illustrate my case with code, eventually my aim is to replace the current code with the use of entity class objects: https://gist.github.com/obinoob/1baf3af92c689b746a0ed824d57746fe |
# |
Nov 29th 2017, 20:38 |
obinoob |
I wonder if it is possible to insert data into multiple tables at once using entity dot notation (after set associations between entities) or do I still need one entity object for each entry? |
# |
Nov 29th 2017, 20:07 |
neothermic |
@ionas, yeah both, both are doing it wrong :P |
# |
Nov 29th 2017, 19:25 |
inoas |
cause that's what I fetched with i18n extract |
# |
Nov 29th 2017, 19:25 |
inoas |
is this still working? __d('cake', 'on %s'), |
# |
Nov 29th 2017, 19:16 |
WyriHaximus |
(Also ref the gist =D) |
# |
Nov 29th 2017, 19:16 |
WyriHaximus |
Awesome \o/! |
# |
Nov 29th 2017, 19:16 |
inoas |
i ll put the to stuff into cakephp/localized and ref you |
# |
Nov 29th 2017, 19:16 |
inoas |
ty |
# |
Nov 29th 2017, 19:16 |
WyriHaximus |
inoas: commented on the gist |
# |
Nov 29th 2017, 19:16 |
inoas |
thats ok |
# |
Nov 29th 2017, 19:15 |
WyriHaximus |
inoas: changed it to faulty rather then invalid |
# |
Nov 29th 2017, 19:14 |
inoas |
and well __USER_FORM_INPUT_ERROR_FLASH_MESSAGE__ |
# |
Nov 29th 2017, 19:14 |
inoas |
__CART_SESSION_INVALID_EXCEPTION_MESSAGE__ is my placeholder |
# |
Nov 29th 2017, 19:13 |
inoas |
basically after purchasing parts of the session data are cleared |
# |
Nov 29th 2017, 19:12 |
inoas |
yes |
# |
Nov 29th 2017, 19:12 |
WyriHaximus |
inoas: Does "Cart session invalid." refer to an ecommerce shopping cart? |
# |
Nov 29th 2017, 19:12 |
WyriHaximus |
inoas: ping |
# |
Nov 29th 2017, 18:53 |
inoas |
bootstrapui cakephp3 plugin messes with those already |
# |
Nov 29th 2017, 18:52 |
inoas |
aside messing with the templates |
# |
Nov 29th 2017, 18:52 |
inoas |
channel: is there any way to make formhelpers date widgets render d m y instead of y m d? |
# |
Nov 29th 2017, 18:52 |
inoas |
laughing out loud ;-) |
# |
Nov 29th 2017, 18:51 |
WyriHaximus |
inoas: well honestly I prefer my water shaken not stirred, and ice cold |
# |
Nov 29th 2017, 18:51 |
inoas |
WyriHaximus: boiling you some water for tea or coffee |
# |
Nov 29th 2017, 18:48 |
birdy247 |
just a normal array :+1: |
# |
Nov 29th 2017, 18:48 |
birdy247 |
ah yes |
# |
Nov 29th 2017, 18:47 |
birdy247 |
i.e. Articles/index/hello |
# |
Nov 29th 2017, 18:47 |
birdy247 |
is it possible to pass a param in the loginRedirect? |
# |
Nov 29th 2017, 18:43 |
WyriHaximus |
inoas: hold my water :D |
# |
Nov 29th 2017, 18:34 |
inoas |
WyriHaximus: seems Martin` flew out as well - you are my only hope for today ;-) |
# |
Nov 29th 2017, 18:09 |
ajibarra |
You could take a look here: https://github.com/CakeDC/users/blob/master/src/Auth/SocialAuthenticate.php to see how we managed that in Users Plugin, and also take a look here https://github.com/CakeDC/users/tree/master/src/Auth/Social/Mapper to see how to map data coming from fb,twitter,etc. |