无标签可用.

应用教程

Front End User Registration扩展安装

2006年06月09日 16:17 存在: 18 yrs
分类: 应用教程
作者: hiworld

1.所需相关扩展:kb_md5fepw,fh_library,newloginbox,Static Info Library,sr_static_info(根据所选设置不同,可能用到)
2.设置:
1>TS模板处添加(从扩展添加): 'FE User Registration CSS-styled'(需要sr_static_info扩展) 或者 'FE User Registration Old Style'.
2>创建一个System Folder 类型页面,并在创建两个前台用户组A,B,用来盛放注册用户,其中一个A组用来盛放注册用户,另一个B组用来盛放验证通过用户.名字任意.
3>TS模板constant 中,设置 pid =[刚才创建的System Folder 页面ID]……

还是看下面完整英文的步骤吧:

Configuration steps

These are the steps to configuring the Front End User Registration extension:

  1. Install the extension using the Extension Manager. If not already installed, you will be requested to install the Static Info Library extension. You should also consider installing extensions New Login Box (newloginbox), KB MD5 FE Password (kb_md5fepw) and FE, BE Library (fh_library).

  2. Add one of the following static templates to your TypoScript template: 'FE User Registration CSS-styled' or 'FE User Registration Old Style'. If you select the CSS-styled template, make sure you have installed version 1.4.9+ of extension Static Info Library (sr_static_info).

  3. Create a System Folder page that will contain the records of Frontend users created by the extension. Set the TS template constant pid to the page id of this folder. Under the System Folder, create two Frontend User Groups. Set the TS template constant userGroupUponRegistration to the uid of the first group and constant userGroupAfterConfirmation to the uid of the second group. The second group gives access to the pages targeted at the registered front end users, while the first group does not.

  4. Create a page, setting the Page “General Storage Storage” to the System Folder that will contain the front end user records created by the extension. Insert the New Login Box on the page. Then, on the same page, after the New Login Box, insert the Front End User Registration extension, leaving the CODE empty, but setting the Starting Point to the System Folder that will contain the Frontend user records created. Set the TS template constant loginPID to the page id of this page.

  5. Create a second page under the previous one and set the access general option to “Hide at login”. Insert the Front End User Registration extension, setting the CODE to CREATE, and the Starting Point to the System Folder that will contain the Frontend user records. Note that the access restriction should be set on the page, not on the content elements. Set the TS template constant registerPID to the page id of this page.

  6. Create a third page, also under the first one, limiting access to this page to the second user group you created. Insert the Front End User Registration extension, setting the CODE to EDIT, and the Starting Point to the System Folder that will contain the front end user records. Note that the access restriction should be set on the page, not on the content elements. Set the TS template constant editPID to the page id of this page.

  7. Create a fourth page, also under the first one, setting the access general option to “Hide at login”. Insert the Front End User Registration extension, leaving the CODE empty and setting the Starting Point to the System Folder that will contain the front end user records. Note that the access restriction should be set on the page, not on the content elements. Set the TS template constant confirmPID to the page id of this page.

  8. Decide which fields you want included on the registration form and, among those, which ones you want to be required in order to register. Set TS template constants formFields and requiredFields.

  9. Review the extension constants described below. All these properties may be conveniently edited using the Constant Editor TS template tool. If you do not use the Constant Editor to configure the extension, please note the form of the constants assignments in the constants section of your TS template: plugin.tx_srfeuserregister_pi1.property = value


  打印版本  联系我们  到顶部   
最后更新日期 date