注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

天上人间*bobo之家

有阳光的时段,就有他(她)的博客文章。也许天气并非晴空万里,博主的“博物钟”却是

 
 
 

日志

 
 

Login-register plugin  

2009-11-13 17:53:18|  分类: typo3 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
extension: 1. felogin(系统自带) or newloginbox
                 2.sr_feuser_registe
注:newloginbox登陆住住会出现登陆失败提示,设置page.opinion.General Record Storage page:相应存储User的sysforder的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 extension Static Info Tables (static_info_tables). You should also consider installing a login box extension of your choice (see requirements) and Static Methods for Extensions since 2007 (div2007). For md5 password encryption you will also need KB MD5 FE Password (kb_md5fepw).

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

  3. Create a System Folder page that will contain the records of front end users created by the extension. Set the TS template constant pid to the page id of this folder. Under the System Folder, create two Front End 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. Insert the login box plugin on any page. Then, on the same page, after the login box, insert the Front End User Registration extension, using the default (DE: 'normal') display mode (or the CODE field remains empty), but setting the Starting Point to the System Folder that will contain the front end user records created. Set the TS template constant loginPID to the page id of this page.

  5. Create a second page after the previous one and set the access general options to “Hide at login”. Insert the Front End User Registration extension, setting the display mode to Create (DE: 'Anlegen') (CODE = CREATE), 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 registerPID to the page id of this page.

  6. Create a third page limiting access to this page to the second user group you created. Insert the Front End User Registration extension, setting the display mode to Edit (CODE = 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 setting the page type to  'Standard' or 'Advanced'' and click the checkbox at “Hide in menu”. Insert the Front End User Registration plugin, using the Default display mode (CODE is empty) and setting the Starting Point to the System Folder that will contain the front end user records.  Note that no access restriction should be set on this page, because other wise unregistered users cannot see the confirmation page, and they cannot click on the confirmation link.  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

    or if you assign multiple values:

    plugin.tx_srfeuserregister_pi1 { property = value... }

  10. TypoScript Setup:

    config.sys_language_uid = 0config.language = deconfig.locale_all = germanconfig.typolinkLinkAccessRestrictedPages = NONE;


  评论这张
 
阅读(156)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018