Skip to content

flextype-plugins/accounts

Repository files navigation

Accounts Plugin for Flextype

Version License Total downloads Flextype Discord

Accounts Plugin to manage users accounts in Flextype.
Built in predesigned and fully customizable pages: Accounts List, Login, Registration, Password Reset, Account Profile and Account Edit Profile.

Dependencies

The following dependencies need to be downloaded and installed for Accounts Plugin.

Item Version Download
flextype 0.9.16 download
site >=1.0.0 download
twig >=2.0.0 download
acl >=1.0.0 download
phpmailer >=1.0.0 download

Installation

  1. Download & Install all required dependencies.

  2. Create new folder /project/plugins/accounts

  3. Download Accounts Plugin and unzip plugin content to the folder /project/plugins/accounts

  4. Copy all fieldsets from /project/plugins/accounts/bluprints to /project/bluprints folder.

  5. Add new collection to entries.collections => /project/config/flextype/settings.yaml

    accounts:
      pattern: accounts
      filename: entry
      extension: yaml
      serializer: yaml
      fields: 
        registry:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/RegistryField.php"
        slug:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/SlugField.php"
        parsers:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/ParsersField.php"
        uuid:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/UuidField.php"
        id:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/IdField.php"
    accounts_item:
      pattern: accounts/([a-zA-Z0-9_-]+)
      filename: account
      extension: yaml
      serializer: yaml
      fields: 
        registry:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/RegistryField.php"
        slug:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/SlugField.php"
        registered_at:
          enabled: true
          path: "/project/plugins/accounts/core/Entries/Fields/RegisteredAtField.php"
        parsers:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/ParsersField.php"
        uuid:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/UuidField.php"
        id:
          enabled: true
          path: "/src/flextype/core/Entries/Fields/Default/IdField.php"

Resources

License

The MIT License (MIT) Copyright (c) 2021 Sergey Romanenko