Config felogin 

Important steps

Felogin: Enable Site Set 

  1. Install ext:felogin
  2. Open your site config: config/sites/<your-site>/config.yaml
  3. Add the login set dependency:

    dependencies:
      - quicko/clubmanager
      - quicko/clubmanager-login
    Copied!

Felogin: Site settings 

Set login-related values in your site settings file: config/sites/<your-site>/settings.yaml

clubmanagerLogin.storagePid: 123
clubmanagerLogin.loginFormPid: 45
clubmanagerLogin.memberProfilePage: 67
clubmanagerLogin.label.login: 'Login'
clubmanagerLogin.label.profile: 'Profil'
clubmanagerLogin.label.logout: 'Logout'
Copied!

See also Site sets reference.

Felogin pagetree 

Your page tree should look like that:

Home
├── ...
├── Login page
│  └── Restricted content
├── Logout target page
├── ...
└── Storage
   ├── ...
   ├── Frontend User
   └── ...
Copied!

Create default frontend user group 

  1. Go to the module Web > List
  2. Move to Storage > Frontend User in your pagetree.
  3. Click on + Create new record on top of the page.
  4. Click on Frontend Access > Website Usergroup.
  5. Fill in the Group Title and Save.

Important global configuration 

  1. Configure these values in config/sites/<your-site>/settings.yaml:

    clubmanagerLogin.storagePid: 123
    clubmanagerLogin.loginFormPid: 45
    clubmanagerLogin.memberProfilePage: 67
    Copied!
  2. Go to Admin Tools > Settings > Extension Configuration.
  3. Choose clubmanager and then Tab Fe-user-login.
  4. Set the uid of your default fe_users group defaultFeUserGroupUid (this is still required for member to fe_user assignment).
  5. Optional fallback values (used if matching site settings are 0): feUsersStoragePid, feUsersLoginPid, defaultTargetLogoutPage.
  6. In case you want to change it, set the lifetime of password recovery links in hours: passwordRecoveryLifeTime.
  7. In tab Mail set the number of attempts for a mail delivery.

Felogin TypoScript 

TypoScript is optional and mainly relevant as legacy fallback / targeted override in your own sitepackage.

Setup 

Have a look at the ext:clubmanager > felogin localization TypoScript Setup and change wording in your own sitepackage to your needs.

Path to felogin setup
EXT:clubmanager/Configuration/TypoScript/Felogin/setup.typoscript
Copied!

Constants 

Have a look at the ext:clubmanager > felogin TypoScript constants and change them in your own sitepackage to your needs.

Path to felogin constants
EXT:clubmanager/Configuration/TypoScript/Felogin/constants.typoscript
Copied!

Change default core mail templates 

  1. [MAIL] layoutRootPaths: EXT:core/Resources/Private/Layouts/,EXT:backend/Resources/Private/Layouts/,EXT:mysitepackage/Resources/Private/Extensions/Sysmail/Layouts/
  2. [MAIL] partialRootPaths: EXT:core/Resources/Private/Partials/,EXT:backend/Resources/Private/Partials/,EXT:mysitepackage/Resources/Private/Extensions/Sysmail/Partials/
  3. [MAIL] templateRootPaths: EXT:core/Resources/Private/Templates/Email/,EXT:backend/Resources/Private/Templates/Email/,EXT:mysitepackage/Resources/Private/Extensions/Sysmail/Templates/

Afterwards you can overwrite the core templates in your sitepackage and fit them to your needs!