contao-manager icon indicating copy to clipboard operation
contao-manager copied to clipboard

Improve the installation process of the current contao-demo

Open zoglo opened this issue 3 months ago • 5 comments

Description

Every user that would install the demo-website, would never see the login credentials for k.jones, they just see that an admin account already exists.

Most people may not understand that the contao-manager and the contao application are decoupled and that the user they just created in the manager is not the one for the contao backend.

The only notice we get about this is at the start but you could guess that this is easily overseen:

Image

The hotfix ~~(already reverted)~~

~~Deactivating k.jones in the contao-demo will now prompt you to create an account when installing the demo.~~

Image

The issue persists

The already reverted hotfix in the demo is not a solution, see https://github.com/contao/contao-demo/issues/88 for more context. Maybe the manager should be able to create a second admin account during the installation?

Is there any other ideas how to improve that behavior and make sure that people know what credentials to use when logging in into the backend?

zoglo avatar Sep 21 '25 09:09 zoglo

If the Contao Manager detects that an admin account is present, it could just tell you that you will have to consult the official documentation for the theme you just installed on how to log in.

The Contao Manager could even still optionally offer you to create an additional admin account alongside the existing one.

fritzmg avatar Sep 21 '25 11:09 fritzmg

it could just tell you that you will have to consult the official documentation for the theme you just installed on how to log in.

Some themes do not have documentation about it but there is no official documentation for the contao-demo other than a readme or the official contao-docs.

zoglo avatar Sep 21 '25 11:09 zoglo

Some themes do not have documentation about it

That's not the Contao Manager's problem though.

but there is no official documentation for the contao-demo other than a readme

The README is the official documentation for the Contao Demo.

fritzmg avatar Sep 21 '25 11:09 fritzmg

@aschempp can you label this as up for discussion so this can be talked about in the next contao-call?

zoglo avatar Sep 21 '25 11:09 zoglo

The demo documentation now offers a new section with the credentials and could be referenced in a warning / hint / green / box or in any other way, when installing the demo.

https://github.com/contao/contao-demo?tab=readme-ov-file#login

zoglo avatar Sep 21 '25 13:09 zoglo