# |
Dec 22nd 2019, 23:33 |
Isaac |
Hello. Maybe someone can help me, i am new to cakephp... And i want to use a diffrent css theme/template like adminlte..... But how can i migrate these? I did not find some instruction for these? |
# |
Dec 22nd 2019, 23:29 |
dsar |
Plus, javascript frameworks (and everything js-related) are not stable for long term solutions. They easily get out of fashion and often rewritten from scratch because of new cool features of javascript |
# |
Dec 22nd 2019, 23:25 |
dsar |
I don't like that some small applications may require 1-2gb of modules dependencies of nodejs |
# |
Dec 22nd 2019, 22:17 |
raisen |
I think the initial approach for modernization of the current codebase would be to separate all the backend logic into an API server |
# |
Dec 22nd 2019, 22:16 |
raisen |
I agree. It was just a general question. I've been working on an old web application which has been going through some refactoring but stopped at Cake 2. |
# |
Dec 22nd 2019, 22:07 |
kevin.pfeifer |
i think that depends on which problems you try to solve^^ NodeJS is definitely on the rise, thats for sure, but its not the "ultimate" solution to all our problems (in my opinion) |
# |
Dec 22nd 2019, 21:51 |
raisen |
where is everyone going nowadays? nodejs? |
# |
Dec 22nd 2019, 21:50 |
raisen |
hi there, cakephp fellowers. this channel used to have way more people |
# |
Dec 22nd 2019, 21:08 |
kevin.pfeifer |
Anyone having problems with current `^4.0` cakephp and debugkit regarding $_SESSION not defined when debug mode is active and you try to delete an entry from one of your tables/models? |
# |
Dec 22nd 2019, 20:16 |
savant |
you can set route scopes on particular subdomains: https://book.cakephp.org/4/en/development/routing.html#matching-specific-hostnames |
# |
Dec 22nd 2019, 20:16 |
savant |
@mocelle that should be fine |
# |
Dec 22nd 2019, 18:59 |
mocelle |
Hi to all. Is It posible to use CakePHP for multidomain application? For example: I have two domains and want use one application. |
# |
Dec 22nd 2019, 18:56 |
kailas |
for what it’s worth, i changed it from “auth” to “all” (after looking through the code) and things seem to work now, however, it’s not clear to me exactly what’s happening |
# |
Dec 22nd 2019, 16:01 |
slackebot |
i’m not sure what this means. can someone point me in the right direction? |
# |
Dec 22nd 2019, 16:01 |
kailas |
I’m trying to use the CakeDC.Users plugin with a custom Users model (SiteUsers). I’ve copied the entity code from CakeDC/Users to my SiteUsers entity, and used the users.php file from cakede/users/config as my default users.php in my /config directory. when i go to my site i get the login page, but when i try to login, i get the error : Unknown finder method “auth”. i see under Auth.authenticate.all, finder is set to ‘auth’, but |
# |
Dec 22nd 2019, 15:34 |
luizcmarin |
thanks you @ndm it's ok |
# |
Dec 22nd 2019, 15:23 |
challgren |
Hmm looks like option output is spilling into the `migration migrate` command `Dumps the current schema of the database to be used while baking a diff` seems out of place |
# |
Dec 22nd 2019, 15:22 |
ndm |
@luizcmarin In your action via the view builder (`$this->viewBuilder()->setLayout()`), in your template via the `$layout` property (`$this->layout = ...`). https://book.cakephp.org/4/en/views.html#layouts |
# |
Dec 22nd 2019, 15:21 |
challgren |
Hmm not sure what repo to submit this too |
# |
Dec 22nd 2019, 15:20 |
luizcmarin |
@ndm "or disable/exchange the layout for your login action/template.". How? |
# |
Dec 22nd 2019, 15:09 |
ndm |
Either hide them based on the authentication status (https://book.cakephp.org/authentication/2/en/view-helper.html), or disable/exchange the layout for your login action/template. |
# |
Dec 22nd 2019, 15:00 |
luizcmarin |
please |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I just want to leave the login page clean. |
# |
Dec 22nd 2019, 14:38 |
luizcmarin |
I followed all the instructions for authentication on cake4.0. However, the login page opens with all menus. How to remove them? |
# |
Dec 22nd 2019, 11:20 |
challgren |
Ewww table name is contact_us and cake bakes ContactU as the entity |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
I dont have idea |
# |
Dec 22nd 2019, 07:20 |
md.islam11 |
My PM wants Checksum of my project. What is the procedure? |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
. |
# |
Dec 22nd 2019, 07:19 |
md.islam11 |
hello |
# |
Dec 22nd 2019, 01:09 |
challgren |
And id look in https://github.com/cakephp/authentication/tree/master/tests |
# |
Dec 22nd 2019, 01:09 |
challgren |
Did you try looking at https://book.cakephp.org/authentication/2/en/index.html |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
@challgren |
# |
Dec 22nd 2019, 01:04 |
luizcmarin |
I don't need much. Just login, logout, permissions to add, update, delete, print, stuff like that. Simple. |
# |
Dec 22nd 2019, 01:02 |
luizcmarin |
`` The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in `` -> dereuromark or cakedc ? |
# |
Dec 22nd 2019, 00:59 |
challgren |
The old AuthComponent way is. I havent tried the latest version with cake4 yet. But I like it because it has oauth, superuser, rabc, otp built in |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
is easy? |
# |
Dec 22nd 2019, 00:58 |
challgren |
Maybe https://github.com/dereuromark/cakephp-tinyauth/tree/cake4 could help yah |
# |
Dec 22nd 2019, 00:58 |
luizcmarin |
never used. |
# |
Dec 22nd 2019, 00:57 |
challgren |
Plus I prefer CakeDC/Users as it has everything I need built in |
# |
Dec 22nd 2019, 00:54 |
challgren |
Yeah thats why Im holding off for a bit. The docs seem really incomplete and plus for the sites I build a lot of plugins dont support 4.x yet |
# |
Dec 22nd 2019, 00:52 |
luizcmarin |
I'm doing it step by step for the third time, following the tutorial and making corrections to it. It's hard ... |