# |
Jan 17th 2020, 11:54 |
dereuromark |
ctp => php as well for cake4 |
# |
Jan 17th 2020, 11:53 |
alexdd55976 |
@challgren this is what i looked into |
# |
Jan 17th 2020, 11:52 |
alexdd55976 |
@javier.villanueva nope nothing. |
# |
Jan 17th 2020, 11:10 |
challgren |
I think it would be in /templates/element/flash https://github.com/cakephp/app/tree/master/templates/element/flash |
# |
Jan 17th 2020, 11:04 |
javier.villanueva |
Because if you have any plugin that override Elements/Flash folder |
# |
Jan 17th 2020, 11:02 |
javier.villanueva |
Do you use any template? |
# |
Jan 17th 2020, 10:10 |
alexdd55976 |
thats right |
# |
Jan 17th 2020, 10:09 |
neon1024 |
Perhaps you’re in 4.x? |
# |
Jan 17th 2020, 10:07 |
alexdd55976 |
@neon1024 > Should be in the Elements/Flash folder > Then the Flash->success() would use success.ctp |
# |
Jan 17th 2020, 08:43 |
javier.villanueva |
anyway I use devexpress and I must migrate these lists to it |
# |
Jan 17th 2020, 08:43 |
javier.villanueva |
yes... my bake limit to 200... it's a pending task to change it :_ D |
# |
Jan 17th 2020, 08:36 |
neon1024 |
Was there ever a plan for an offset paginator component? |
# |
Jan 17th 2020, 08:36 |
neon1024 |
Yeah and bake now limits to 100 on baked code too |
# |
Jan 17th 2020, 08:32 |
javier.villanueva |
thanks |
# |
Jan 17th 2020, 08:32 |
javier.villanueva |
ok, i will try |
# |
Jan 17th 2020, 08:31 |
spriz |
but you can change that component in eg. the AppController |
# |
Jan 17th 2020, 08:31 |
spriz |
AFAIK the `Paginator` defaults to `100` in `maxLimit` :thinking_face: |
# |
Jan 17th 2020, 08:31 |
javier.villanueva |
@spriz 3.8 |
# |
Jan 17th 2020, 08:30 |
spriz |
is it 3.x or 4.x @javier.villanueva? |
# |
Jan 17th 2020, 08:24 |
javier.villanueva |
I must set in paginate, 'maxLimit' => 10000 .... but... Is there any way to set it unlimited for the entire project? |
# |
Jan 17th 2020, 08:21 |
javier.villanueva |
my error... |
# |
Jan 17th 2020, 08:11 |
javier.villanueva |
not works |
# |
Jan 17th 2020, 08:10 |
d.lisiecki93 |
@javier.villanueva try `->limit(9999)` on query object |
# |
Jan 17th 2020, 08:09 |
javier.villanueva |
One question.... I have a table with 1300 records. When I find by default, I get 100 rows... :thinking_face: How to can I change this limit? (to unlimited) |
# |
Jan 17th 2020, 07:32 |
neon1024 |
Then the Flash->success() would use success.ctp |
# |
Jan 17th 2020, 07:31 |
neon1024 |
Should be in the Elements/Flash folder |
# |
Jan 17th 2020, 07:30 |
alexdd55976 |
fellows, i struggle with modifying the flash message. the elements in templates seems like they are not beeing used. do not really know where to make changes |
# |
Jan 17th 2020, 07:22 |
neon1024 |
A very merry Friday to all |
# |
Jan 17th 2020, 07:18 |
javier.villanueva |
morning all |
# |
Jan 17th 2020, 06:58 |
d.lisiecki93 |
@admad oh sorry |
# |
Jan 17th 2020, 06:47 |
alexdd55976 |
morning |
# |
Jan 17th 2020, 06:42 |
admad |
don't use threads |
# |
Jan 17th 2020, 06:41 |
d.lisiecki93 |
thank You |
# |
Jan 17th 2020, 06:36 |
admad |
it's secure only if you use form `order('field' => $userInput)` |
# |
Jan 17th 2020, 06:33 |
d.lisiecki93 |
hello fellas, is it secure to pass user input without any escaping to `->order` method on table object? something like this: ```$userInput = $this->request->getQuery('order'); $this->Model->find('all')->order($userInput);``` |
# |
Jan 16th 2020, 23:14 |
challgren |
Myself personally I just use the php functions directly] |
# |
Jan 16th 2020, 23:13 |
challgren |
Well I can say in 4.x they are deprecated and set to be removed in 5.x |
# |
Jan 16th 2020, 23:06 |
wizardfix |
I'm trying to use framework functions as documented here: https://book.cakephp.org/3/en/core-libraries/file-folder.html |
# |
Jan 16th 2020, 23:01 |
challgren |
Ohh sorry, https://www.php.net/manual/en/function.file-put-contents.php? |
# |
Jan 16th 2020, 23:00 |
wizardfix |
@challgren I'm on 3.8...not looking for a plugin,, just want to write text to a file! :) |
# |
Jan 16th 2020, 22:57 |
challgren |
I think only https://github.com/josbeir/cakephp-filesystem supports 4.x |