This chatroom is for the cakeadmin-plugin for CakePHP 3.x
mayurmakwana
@mayurmakwana
Yes thx
Leonardo Ruhland
@leoruhland
2 issues on installing the cakephp-cakeadmin
First, the requirements in composer.json, notifier and utils, are missing.
Leonardo Ruhland
@leoruhland
After installing the dependencies and migrations, I have to create an administrator using the bin/cake admin newAdmin task, right?
Is returning me PHP Fatal error: Can't use method return value in write context in /**/vendor/cakemanager/cakephp-cakeadmin/src/Model/Table/AdministratorsTable.php on line 133
@leoruhland I've added the dependencies: cakemanager/cakephp-cakeadmin@11396f0
Leonardo Ruhland
@leoruhland
Good! One last thing missing.. about the migration in notifier plugin. Add bin/cake migrations migrate -p Notifier in instructions ?
Bob Mulder
@bobmulder
Ah good point. Ill add it.
Leonardo Ruhland
@leoruhland
I was thinking while developing the theme, that the cakephp-settings should be integrated to cakeadmin. For use with some standard options such as Project Name. What do you think?
Bob Mulder
@bobmulder
Yeah totally agree. On the other side, You could use static configs and make them dynamic in your app when using the settings plugin...
Hi I think that the table must be named admins and not users
just an idea
Bob Mulder
@bobmulder
I understand @ayman-alkom, but the problem is that all users over all the application (so admins in this case, and all other users from the users-plugin) should be saved in 1 table because else the whole application will be f**ked up ;) Thats because of double ID's ;) Understand? ;) It was a hart decision for me;)
Ayman Alkom
@ayman-alkom
Ah I have understood
Bob Mulder
@bobmulder
Nice ;) It's good to ask questions ;P
Ayman Alkom
@ayman-alkom
thanks :smile:
I am installing the user plugin now that may help to make the idea more clear to me
The idea is clear now I may provide some help, I hope.
Bob Mulder
@bobmulder
Good good :D
Ayman Alkom
@ayman-alkom
Hi what about registration, it was performed in cake manager, but missed in the new strategy.
Bob Mulder
@bobmulder
Hey man. Registration in the cakeadmin plugin would be hard because its your backend. (imagine you have a webshop and everybody is able to login in your backend to change stuff ;)). Registration for the users-plugin is a very good - and necessary - idea, but didnt have time to implement it yet...
Ayman Alkom
@ayman-alkom
Ok I will
Bob Mulder
@bobmulder
Great
mauricabrera
@mauricabrera
im having trouble with installation
please anyone there?
i follow all the steps on the page but with i finish registering users formthe console when i try to log in it shows me Invalid username password i dont know why i have tried on serveral cake fresh installs HELP
Bob Mulder
@bobmulder
@mauricabrera hey man. Can you provide me some more details? What was your input? Are you sure it was an email address you used as username? It should be..