# |
May 31st 2016, 07:55 |
aavrug |
micalm: Yea I can also do that. |
# |
May 31st 2016, 07:48 |
micalm |
aavrug: that does not appear as secure to me at all. Why not make docker install cake from composer? |
# |
May 31st 2016, 07:47 |
marlinc |
Morning |
# |
May 31st 2016, 07:42 |
unorthodox |
Morning @neon1024 |
# |
May 31st 2016, 07:42 |
Neon1024 |
Morning all |
# |
May 31st 2016, 07:33 |
aavrug |
Created a docker repo for CakePHP3 with docker https://github.com/aavrug/Docker |
# |
May 31st 2016, 07:31 |
mazba |
admad: thanks, i am using Hashids now |
# |
May 31st 2016, 07:28 |
admad |
mazba: https://github.com/UseMuffin/Obfuscate |
# |
May 31st 2016, 07:21 |
unorthodox |
Morning alan |
# |
May 31st 2016, 07:20 |
alanderouen |
morning bakers |
# |
May 31st 2016, 07:01 |
mazba |
"url parameter" like- user/edit/1 to user/edit/fas1df33 |
# |
May 31st 2016, 06:58 |
voycey |
what do you mean decrypt URL? |
# |
May 31st 2016, 06:26 |
mazba |
without Hashids is there any way to encrypt/decrypt URL in cake3? |
# |
May 31st 2016, 05:27 |
unorthodox |
Morning everyone. |
# |
May 31st 2016, 04:41 |
tlmarker |
Thank you I will look into those options. |
# |
May 31st 2016, 04:40 |
voycey |
or even running HTML tidy in beforeRender |
# |
May 31st 2016, 04:40 |
voycey |
output filters or something |
# |
May 31st 2016, 04:39 |
voycey |
Im pretty sure there is a nicer way to do it |
# |
May 31st 2016, 04:39 |
voycey |
I got it working, just needed to do a little more research. Thank you. The $crlf is there so I can format to page source code. A little excessive, I know, but I am very particular about how my source code looks in the browser. |
# |
May 31st 2016, 03:26 |
voycey |
It should work though assuming its in a table header |
# |
May 31st 2016, 03:24 |
voycey |
$crlf seems excessive |
# |
May 31st 2016, 02:52 |
tlmarker |
will this line work, if not what is wrong: echo $tab8.'<th>'.$this->Paginator->sort('username',$this->Html->image('UsernameHeader.png'),['escape' => false]).'</th>'.$crlf; |
# |
May 31st 2016, 01:20 |
royalty |
yeah that sounds nice |
# |
May 31st 2016, 01:19 |
flashios09 |
it will generate the html code for me |
# |
May 31st 2016, 01:19 |
flashios09 |
$this->Form->datepicker($params) |
# |
May 31st 2016, 01:19 |
flashios09 |
after that i just use it: |
# |
May 31st 2016, 01:19 |
flashios09 |
and i do all the test and the convert inside |
# |
May 31st 2016, 01:19 |
royalty |
I see |
# |
May 31st 2016, 01:18 |
flashios09 |
MyFormHelper::datepicker |
# |
May 31st 2016, 01:18 |
royalty |
i wish it could just hydrate automatically though |
# |
May 31st 2016, 01:18 |
royalty |
i suppose i can just do that |
# |
May 31st 2016, 01:18 |
royalty |
i see |
# |
May 31st 2016, 01:18 |
flashios09 |
i create a custom method inside MyFormHelper |
# |
May 31st 2016, 01:17 |
flashios09 |
btw i don't use widget |
# |
May 31st 2016, 01:17 |
flashios09 |
<input type="text" name="{{name}}" class="form-control" value="{{value}}"> |
# |
May 31st 2016, 01:16 |
flashios09 |
then in the widget |
# |
May 31st 2016, 01:16 |
flashios09 |
$this->Form->input('expense_date',['templateVars'=>['name'=>'expense_date', 'value' => $expense->date_var->i18nFormat(...)]]); |
# |
May 31st 2016, 01:16 |
flashios09 |
did you try something like this : |
# |
May 31st 2016, 01:14 |
royalty |
and of course i have js stuff to get this going as well |
# |
May 31st 2016, 01:13 |
royalty |
which is kind of dumb, but i just wanted to get something working |
# |
May 31st 2016, 01:13 |
royalty |
the name thing doesn't really work, i have to feed it the name |