# |
Apr 21st 2017, 20:48 |
ra7bi |
any idea how to solve this ? |
# |
Apr 21st 2017, 20:48 |
ra7bi |
i used Datatbles plugin for datepicker |
# |
Apr 21st 2017, 20:47 |
ra7bi |
i add datepicker to cake template but when i save i got ``` dateTime The provided value is invalid ``` |
# |
Apr 21st 2017, 19:52 |
admad |
@junior you are supposed to target the PR for muffin/footprint not your own repo. Not to mention you didn't actually change the readme, just wrote the change required in the post :slightly_smiling_face: Anyway i have already added the warning to readme. |
# |
Apr 21st 2017, 19:29 |
nemmons |
https://book.cakephp.org/3.0/en/views/helpers/form.html#options-for-form-creation (`in the $options argument, any valid HTML attributes that you want to pass to the created form element.`) |
# |
Apr 21st 2017, 19:29 |
jippi |
its even on the page @nemmons linked to |
# |
Apr 21st 2017, 19:28 |
jippi |
read the docs! |
# |
Apr 21st 2017, 19:23 |
ra7bi |
i want to add css class to ``` form``` |
# |
Apr 21st 2017, 19:22 |
ra7bi |
is there a way to overwrite the output of ``` $this->Form->create ``` ? |
# |
Apr 21st 2017, 19:17 |
ra7bi |
@nemmons Thanks |
# |
Apr 21st 2017, 19:09 |
nemmons |
ra7bi check out https://book.cakephp.org/3.0/en/views/helpers/form.html#customizing-the-templates-formhelper-uses |
# |
Apr 21st 2017, 19:01 |
ra7bi |
i want to add custom css and javascript to all input and select menu |
# |
Apr 21st 2017, 19:00 |
ra7bi |
how i can overwrite the output of ```$this->Form->input``` |
# |
Apr 21st 2017, 19:00 |
ra7bi |
hey |
# |
Apr 21st 2017, 18:59 |
nemmons |
@junior you need to do a merge request on https://github.com/UseMuffin/Footprint> not <https://github.com/nemmons/Footprint |
# |
Apr 21st 2017, 18:58 |
chrisso |
the chmod? (I'm very new to deploying) |
# |
Apr 21st 2017, 18:57 |
chrisso |
what should be a part of my deployment script? |
# |
Apr 21st 2017, 18:57 |
nemmons |
lol why is the PR on *my* fork of Footprint? |
# |
Apr 21st 2017, 18:57 |
dereuromark |
should be part of your deployment script |
# |
Apr 21st 2017, 18:55 |
chrisso |
Have anyone experienced `bin/cake: denied permission` when you pull changes from repo to prod. server? So annoying to chmod bin/cake after every pull. |
# |
Apr 21st 2017, 18:25 |
junior |
@admad , created PR at: https://github.com/nemmons/Footprint/pull/1 |
# |
Apr 21st 2017, 17:24 |
hmic |
:-( |
# |
Apr 21st 2017, 17:24 |
hmic |
it's a shame! |
# |
Apr 21st 2017, 17:23 |
hmic |
admad: have you seen his paste? |
# |
Apr 21st 2017, 17:20 |
admad |
"no wonder this spits on you!" LOL |
# |
Apr 21st 2017, 16:25 |
Dinossaur |
@hmic thanks for trying... I'll go back to 3.1, for now... |
# |
Apr 21st 2017, 16:23 |
watermark |
I know you're right, but not sure being right matters here |
# |
Apr 21st 2017, 16:23 |
hmic |
thats the proper solution to the problem. |
# |
Apr 21st 2017, 16:22 |
watermark |
no, that is logical, it won't work |
# |
Apr 21st 2017, 16:21 |
hmic |
set the clock correct and set the alarms 10 mins before the events |
# |
Apr 21st 2017, 16:21 |
watermark |
so, slightly off topic, my boss just said we cannot use two factor totp because he wants to set the clock on his phone 10 minutes fast so he's not late to things. What do? |
# |
Apr 21st 2017, 16:20 |
hmic |
*shudder* |
# |
Apr 21st 2017, 16:20 |
hmic |
there is lots of things that need to be fixed |
# |
Apr 21st 2017, 16:19 |
Dinossaur |
Literal queries was done on my first encounter with CakePHP. I just had not learn ORM then. Not escaping was a blunder. I'll fix it |
# |
Apr 21st 2017, 16:15 |
hmic |
are you kiding me? |
# |
Apr 21st 2017, 16:15 |
hmic |
$conn->execute($query); |
# |
Apr 21st 2017, 16:15 |
hmic |
); |
# |
Apr 21st 2017, 16:15 |
hmic |
$_SERVER['clienteDominio'] |
# |
Apr 21st 2017, 16:15 |
hmic |
$req->query['Usuario_id'], |
# |
Apr 21st 2017, 16:15 |
hmic |
$entity->id, |
# |
Apr 21st 2017, 16:15 |
hmic |
you use literal queries with user data, not escaping it at all, not binding the values at least and not using the orm in the same function for no reason? $query = sprintf("insert ignore into sis_usuario_perfil (Perfil_id,Usuario_id,Cliente_id) values (%d,%d,%d)", |