Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.79 KB

File metadata and controls

56 lines (36 loc) · 1.79 KB

Backend

The application backend is accessible via /backend or by clicking on the gear icon, after you are logged in.

Only users with permission backend_default can access the backend dashboard.

Access restricitions

‼️ By default all controllers of the application are only accessible to the admin user.

You can make a page or controller publicly available, when you add the corresponding permission to the Public role. It is recommended to setup an user with role Editor for managing the contents in the backend.

User authentication and authorization is provides by the extension dektrium/yii2-user, you can find its documentation on GitHub.

Language Selection

You can switch the application language by choosing another language under the flag icon on the top right menu bar.

Module: Users

Module: RBAC

Module: Settings

The settings module provides an easy to use key/value-storage.

Module: Pages

The pages module is a manager for sitemap trees.

Create a new page

  • login and go to pages in the left sidebar in application backend
  • create a root node, if there is none already
  • select root-node and add a new page by clicking on the ➕
  • add a unique Name ID and set the Menu name which will be displayed in the navigation
  • select a route to define which action should be executed, eg. site/index
  • save new page
  • visit page in application frontend

Add a route

  • login and go to settings in the left sidebar in application backend
  • create or edit pages, key availableRoutes
  • add one route per line, eg. /docs, which should render the default action of the default controller of the module registered as docs.
  • save