Log message #4173915

# At Username Text
# Jan 17th 2019, 10:51 neon1024 So in production you set those directly in the environment, not using a file
# Jan 17th 2019, 10:51 neon1024 I thought the .env file overrode environment variables
# Jan 17th 2019, 10:39 joris_ We're currently using .env files to set system specific configurations although i just read in this in the comments: `It is HIGHLY discouraged to use a .env file in production, due to security risks and decreased performance on each request.` How is it different from loading a local config file through `Configure::load('app_local', 'default');` ?
# Jan 17th 2019, 10:37 neon1024 Array?
# Jan 17th 2019, 10:35 asdfghj dereuromark, can you help me please?
# Jan 17th 2019, 10:34 asdfghj it is a <select>
# Jan 17th 2019, 10:34 asdfghj guys, what type should i use in buildschema for a field that accept multiple ids ?
# Jan 17th 2019, 10:32 dereuromark See also https://www.dereuromark.de/2015/01/06/acl-access-control-lists-revised/
# Jan 17th 2019, 10:31 dereuromark @justrohu if you dont need acl, dont use it. only use if simpler approaches arent enough.
# Jan 17th 2019, 10:15 rogerpro Hi @justrohu, regarding ACL you can check this article: https://www.cakedc.com/roger_campanera/2018/01/26/integrating-users-and-acl-plugins-in-cakephp
# Jan 17th 2019, 10:12 asdfghj neon1024 pardon another question, i am creating a new custom form (model-less) in thie form i have a select where the user can select multiple options... now i have a doubt regarding the type of that field in the _buildSchema(Schema $schema)
# Jan 17th 2019, 10:08 asdfghj good!
# Jan 17th 2019, 10:08 asdfghj hmm ok
# Jan 17th 2019, 10:08 asdfghj neon1024, maybe a custom block inside the cell view where i "link" to css files
# Jan 17th 2019, 09:55 neon1024 Although it does sound like it needs a new custom finder to me
# Jan 17th 2019, 09:55 neon1024 `$query = $users->findByUsername(null, ['notnull' => true])`
# Jan 17th 2019, 09:54 neon1024 I’d probably use an option and update your custom finder
# Jan 17th 2019, 09:40 johnwayne something like `$query = $users->findByUsername(not null); `
# Jan 17th 2019, 09:39 johnwayne is there a way to use `$query = $users->findByUsername('joebob');` but to check `if Username is not null`
# Jan 17th 2019, 09:30 neon1024 You could write a cell specific CSS file, and just add a `<link ref="stylesheet">` tag to your Cells template file
# Jan 17th 2019, 09:19 asdfghj i know cells are isolated but, they can have script and css too, is it normal that i must use <style> and <script>...</script> from there?
# Jan 17th 2019, 09:17 asdfghj passing the view object through the cell() is not really cool :D
# Jan 17th 2019, 09:16 asdfghj i think it is usefull to add css or script from cells
# Jan 17th 2019, 09:12 neon1024 Morning all
# Jan 17th 2019, 09:10 willem ok, i think you should read this page: https://github.com/cakephp/cakephp/issues/10166 it has some solutions
# Jan 17th 2019, 09:06 willem weird. I deleted model cache and persistent cache and now it seems to work.
# Jan 17th 2019, 09:06 asdfghj willem you are right but i should use a css where the cell are loaded i woul dlike to avoid adding that style in everypage
# Jan 17th 2019, 09:05 asdfghj back
# Jan 17th 2019, 09:01 willem when i add the CAKEPHP cookie with the session id from the database it works and i can log in
# Jan 17th 2019, 08:59 willem question: what could cause this problem: i have a login form but login fails. I did not see the CAKEPHP cookie, so i set it to database. Now i see in the database a session created on every refresh of the login page. i tested with a basic php session_start and $_SESSION[‘test’] = ‘sds’; and that worked as it should. Cake app is working locally and used to work on another server.
# Jan 17th 2019, 08:57 willem cells are output to the current DOM, so you can style them using the main css file and address them by classname or ID as usual
# Jan 17th 2019, 08:35 asdfgh anyone ?
# Jan 17th 2019, 08:08 asdfgh how can i import custom css from cell?
# Jan 17th 2019, 08:08 asdfgh i read that cell are isolates from the main view/layout
# Jan 17th 2019, 08:08 asdfgh i mean, can i add a .css from there?
# Jan 17th 2019, 08:08 asdfgh pardon guys how can i style my cell with css?
# Jan 17th 2019, 07:26 lubos @justrohu take a look on list here https://github.com/FriendsOfCake/awesome-cakephp
# Jan 17th 2019, 04:39 leonardomrl Good morning, I was wondering if to create a menu that changes according to user level, example: (unlogged) -> Home -> Login | (Login) -> Home -> My Account -> Statistic -> Exit. Would you use Cakephp3 Cells?
# Jan 17th 2019, 04:37 voycey I think that is up-to-date
# Jan 17th 2019, 04:37 voycey https://github.com/locally-io/cakephp-redshift @fbotti this might help you
# Jan 17th 2019, 04:20 justrohu Hello all, I am trying to implement ACL in my current CakePHP 3 application. CakePHP 3 does not support ACL out of the box. Please suggest me any good plugin to work with