Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/typo3/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Forms 注册用户并让用户使用Typo3登录_Forms_Typo3_Typo3 8.x - Fatal编程技术网

Forms 注册用户并让用户使用Typo3登录

Forms 注册用户并让用户使用Typo3登录,forms,typo3,typo3-8.x,Forms,Typo3,Typo3 8.x,我是TYPO3新手,我想在我的主页上插入一张注册表格,让注册用户查看特定页面(课程) 我试图实现表单模块,但找不到集成它的方法。这是生成的YAML代码 renderingOptions: submitButtonLabel: Register type: Form identifier: userRegistration label: 'User Registration' prototypeName: standard finishers: - options: p

我是TYPO3新手,我想在我的主页上插入一张注册表格,让注册用户查看特定页面(课程)

我试图实现表单模块,但找不到集成它的方法。这是生成的YAML代码

renderingOptions:
  submitButtonLabel: Register
type: Form
identifier: userRegistration
label: 'User Registration'
prototypeName: standard
finishers:
  -
    options:
      pageUid: '23'
      additionalParameters: ''
    identifier: Redirect
  -
    options:
      message: 'You have sucessgully registered with the course'
    identifier: Confirmation
renderables:
  -
    renderingOptions:
      previousButtonLabel: 'Previous step'
      nextButtonLabel: 'Next step'
    type: Page
    identifier: page-1
    label: Step
    renderables:
      -
        defaultValue: ''
        type: Text
        identifier: Reg_email
        label: Email
        properties:
          fluidAdditionalAttributes:
            required: required
            placeholder: Email
        validators:
          -
            identifier: NotEmpty
          -
            identifier: EmailAddress
      -
        defaultValue: ''
        type: Password
        identifier: Reg_password
        label: Password
        properties:
          fluidAdditionalAttributes:
            required: required
            placeholder: Password
            minlength: '8'
            maxlength: '100'
        validators:
          -
            identifier: NotEmpty
          -
            identifier: Alphanumeric
          -
            options:
              minimum: '8'
              maximum: '100'
            identifier: StringLength
我想知道如何配置此表单以及如何在用户登录中使用注册数据。

Namaste Muditha

我建议使用一个扩展,它提供一个用户注册表单,甚至一个“用户成功注册后登录”操作

看看femanager:


您使用的表单用于简单表单,如联系人表单或类似表单。用户注册要复杂得多。

True。我会试试的。如果我们不使用自定义php直接访问DB,看起来会更好,不是吗?谢谢你的提示。