[TYPO3-UG Italy] Configurazione EXT Front End User Registration

namesys at live.com namesys at live.com
Wed Mar 12 17:39:47 CET 2008


Facciamo così Lucia, andiamo per gradi poi se ci legge e corregge qlcn ancora meglio ... prendiamo il manuale ...

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.

ho creato questa struttura

root [TEMPLATE]
|
pagina HOME
|
pagina REGISTRAZIONE (id=239)
|
pagina A
|
pagina B
|
pagina C
|
cartella REGISTRATION STORAGE FOLDER (id=238)
                 - gruppo utenti web "userGroupUponRegistration" (id=3)
                 - gruppo utenti web "userGroupAfterConfirmation" (id=4)


e nel template (root) ho settato:

plugin.tx_srfeuserregister_pi1.file.templateFile = fileadmin/templates/exeo/ext/srfeuserregister_css.html
plugin.tx_srfeuserregister_pi1.enableAdminNotifyConfirmation = 1
plugin.tx_srfeuserregister_pi1.enableEmailOnRegister = 1
plugin.tx_srfeuserregister_pi1.enablePreviewEdit = 1
plugin.tx_srfeuserregister_pi1.enableEmailConfirmation = 1
plugin.tx_srfeuserregister_pi1.useShortUrls = 1
plugin.tx_srfeuserregister_pi1.enablePreviewRegister = 1
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 3 // id del gruppo utenti non confermati <----------------------------------MODIFICATAplugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 4 // id del gruppo utenti confermati <----------------------------------MODIFICATAplugin.tx_srfeuserregister_pi1.passwordAtLeast = 6
plugin.tx_srfeuserregister_pi1.email = namesysy at live.com
plugin.tx_srfeuserregister_pi1.usernameAtMost = 10 // numero caratteri max
plugin.tx_srfeuserregister_pi1.salutation = informal
plugin.tx_srfeuserregister_pi1.nameAtMost = 20 // numero caratteri max
plugin.tx_srfeuserregister_pi1.usernameAtLeast = 6 // numero caratteri max
plugin.tx_srfeuserregister_pi1.formFields = username, password, gender, first_name, last_name, status, date_of_birth, email, address, city, zone, static_info_country, zip, telephone, fax, language, title, company, www, image, comments, disableplugin.tx_srfeuserregister_pi1.defaultCODE = CREATE
plugin.tx_srfeuserregister_pi1.siteName = My Company
plugin.tx_srfeuserregister_pi1.registerPID = 239 // pagina di registrazione <---------------------------------- MODIFICATA
plugin.tx_srfeuserregister_pi1.pid = 238 // cartella user <----------------------------------MODIFICATA
plugin.tx_srfeuserregister_pi1.requiredFields = username,password,first_name,last_name,email
plugin.tx_srfeuserregister_pi1.pidTitleOverride = My Company
plugin.tx_srfeuserregister_pi1.editPID = 14
plugin.tx_srfeuserregister_pi1.autoLoginRedirect_url = index.php?id=15
plugin.tx_srfeuserregister_pi1.enableAutoLoginOnConfirmation = 1plugin.tx_srfeuserregister_pi1.maxImages = 1
plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 14
plugin.tx_srfeuserregister_pi1.loginPID = 4 // pagina login 

a dire il vero mi manca ancora da settare l'ultimo parametro (loginPID) che mi sfugge, non so se creare una pagina apposta o mettere l'id della home ma andiamo avanti:

4. Create a page or reuse a top level 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, using the default display mode (or the CODE field remains 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.

Qui capisco che devo creare una pagina (già creata, Registrazione id=239) ed assegnare la Pagina General Record Storage = Registration Storage Folder. Poi mi dice di inserire New Login Box nella pagina quindi immagino il plugin Login, poi sempre nella stessa il plugin FE User Reg. assegnado il Punto di partenza la nostra solita cartella Registration Storage Folder... ultimo questo punto assegnado l'id 239 (pagina registrazione) al loginPID (forse quello che non capivo prima). 

plugin.tx_srfeuserregister_pi1.loginPID = 239 // pagina login 

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 (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.

Sotto la pagina "Registrazione" crea la pag. "Login" (id=249) ed assegno nelle opzioni generali "Nascondi al login" e stesso ambaradam di prima con il plugin FE User Reg. con il punto di partenza. A questo punto creado di aver sbagliato prima nell'assegnazione del registerPID = 239 che modifico come segue

plugin.tx_srfeuserregister_pi1.registerPID = 249

Per adesso mi fermo ed attendiamo un riscontro positivo, se hai qualche spunto anche te scrivi pure ;)

Enrico




> From: luciaderosso at hotmail.com
> To: typo3-ug-italy at lists.netfielders.de
> Date: Wed, 12 Mar 2008 15:44:51 +0000
> Subject: Re: [TYPO3-UG Italy] Configurazione EXT Front End User Registration
>
>
>> Procurarsi un ottimo libro, vivamente consigliato perchè contiene una
>> montagna di risposte e di soluzioni tecniche altrimenti difficilmente
>> reperibili nei manuali online, si intitola TYPO3 Enterprise Content
>> Management e vale davvero la spesa iniziale perchè fa risparmiare una
>> montagna di tempo, è una specie di ABC di Typo3. Trovi indicazioni
>> dettagliate su www.Typo3.org
>
> Beppe, non so a che livello sia Enrico ma io, anche se non sono esperta, trovo questa installazione abbastanza complicata e non è un discorso di libro Typo3 sepur utile ...
>
> Il manuale non è che sia chiarissimo ...
>
> Lucia
>
>
>
>
>> Date: Wed, 12 Mar 2008 14:29:14 +0100
>> From: idronautico at libero.it
>> To: typo3-ug-italy at lists.netfielders.de
>> Subject: Re: [TYPO3-UG Italy] Configurazione EXT Front End User Registration
>>
>> luciaderosso at hotmail.com ha scritto:
>>> Secondo me il PID è la pagina madre .... cmq anche io mi sono fermata a questo punto e non so più che fare anche perchè nella pagina Registrazione non vedo nulla in FE!!! sigh!
>>>
>>> Help please
>>> Lucia
>>>
>>>
>>>> From: namesys at live.com
>>>> To: typo3-ug-italy at lists.netfielders.de
>>>> Date: Wed, 12 Mar 2008 09:51:18 +0000
>>>> Subject: Re: [TYPO3-UG Italy] Configurazione EXT Front End User Registration
>>>>
>>>>
>>>> Seguendo le tue indicazioni ho creato la seguente struttura:
>>>>
>>>> root
>>>> |
>>>> pagina HOME
>>>> |
>>>> pagina REGISTRAZIONE (id=239)
>>>> |
>>>> pagina A
>>>> |
>>>> pagina B
>>>> |
>>>> pagina C
>>>> |
>>>> cartella REGISTRATION STORAGE FOLDER (id=238)
>>>> - gruppo utenti web "userGroupUponRegistration" (id=3)
>>>> - gruppo utenti web "userGroupAfterConfirmation" (id=4)
>>>>
>>>> Alcune domande:
>>>> 1. Per PID intendi l'id della pagina?
>>>>
>> Si
>>>> 2. Quali altre pagine devo creare oltre Registrazione? dalla tua risposta ne deduco un'altra per la Login ma se la login la voglio inglobare nella home?
>>>>
>> non so, non ho provato a farlo, ma è pur sempre un modulo
>>>> 3. Così ho impostato il tuo codice adattandolo allo schema di sopra, corretto?
>>>>
>> non proprio, per es. il percorso del mio template non puo essere uguale
>> al tuo
>>>> plugin.tx_srfeuserregister_pi1.file.templateFile = fileadmin/templates/exeo/ext/srfeuserregister_css.html
>>>> plugin.tx_srfeuserregister_pi1.enableAdminNotifyConfirmation = 1
>>>> plugin.tx_srfeuserregister_pi1.enableEmailOnRegister = 1
>>>> plugin.tx_srfeuserregister_pi1.enablePreviewEdit = 1
>>>> plugin.tx_srfeuserregister_pi1.enableEmailConfirmation = 1
>>>> plugin.tx_srfeuserregister_pi1.useShortUrls = 1
>>>> plugin.tx_srfeuserregister_pi1.enablePreviewRegister = 1
>>>> plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 3 // id del gruppo utenti non confermati <----------------------------------MODIFICATA
>>>> plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 4 // id del gruppo utenti confermati <----------------------------------MODIFICATA
>>>> plugin.tx_srfeuserregister_pi1.passwordAtLeast = 6
>>>> plugin.tx_srfeuserregister_pi1.email = namesysy at live.com
>>>> plugin.tx_srfeuserregister_pi1.usernameAtMost = 10 // numero caratteri max
>>>> plugin.tx_srfeuserregister_pi1.salutation = informal
>>>> plugin.tx_srfeuserregister_pi1.nameAtMost = 20 // numero caratteri max
>>>> plugin.tx_srfeuserregister_pi1.usernameAtLeast = 6 // numero caratteri max
>>>> plugin.tx_srfeuserregister_pi1.formFields = username, password, gender, first_name, last_name, status, date_of_birth, email, address, city, zone, static_info_country, zip, telephone, fax, language, title, company, www, image, comments, disable
>>>> plugin.tx_srfeuserregister_pi1.defaultCODE = CREATE
>>>> plugin.tx_srfeuserregister_pi1.siteName = My Company
>>>> plugin.tx_srfeuserregister_pi1.registerPID = 239 // pagina di registrazione <----------------------------------MODIFICATA
>>>> plugin.tx_srfeuserregister_pi1.pid = 238 // cartella user <----------------------------------MODIFICATA
>>>> plugin.tx_srfeuserregister_pi1.requiredFields = username,password,first_name,last_name,email
>>>> plugin.tx_srfeuserregister_pi1.pidTitleOverride = My Company
>>>> plugin.tx_srfeuserregister_pi1.editPID = 14
>>>>
>>
>>>> plugin.tx_srfeuserregister_pi1.autoLoginRedirect_url = index.php?id=15
>>>>
>> questa è la pagina di reindirizzamento a seguito del login, dovrai
>> impostare i permessi di accesso
>>>> plugin.tx_srfeuserregister_pi1.enableAutoLoginOnConfirmation = 1
>>>> plugin.tx_srfeuserregister_pi1.maxImages = 1
>>>> plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 14
>>>> plugin.tx_srfeuserregister_pi1.loginPID = 4 // pagina login <----------------------------------SE LA VOGLIO INGLOBARE NELLA HOME? ID DELLA HOME?
>>>>
>>>> i passi seguenti quali sono?
>>>>
>> Procurarsi un ottimo libro, vivamente consigliato perchè contiene una
>> montagna di risposte e di soluzioni tecniche altrimenti difficilmente
>> reperibili nei manuali online, si intitola TYPO3 Enterprise Content
>> Management e vale davvero la spesa iniziale perchè fa risparmiare una
>> montagna di tempo, è una specie di ABC di Typo3. Trovi indicazioni
>> dettagliate su www.Typo3.org
>>
>> Comunque l'estensione lavora abbinando alla pagina di registrazione
>> quella del login, (loginPID = 4) dopodichè, a login avvenuto, l'utente
>> viene reindirizzato a una pagina di accesso, (.... autoLoginRedirect_url
>> = index.php?id=15 ) con due aree di testo, per esempio, di cui una di
>> benvenuto visibile solo agli utenti autenticati e un'altra visibile in
>> caso contrario, contenente le indicazioni e i link per effettuare il
>> login o registrarsi
>> beppe
>>>> Grazie atutti per la collaborazione
>>>>
>>>> Enrico
>>>>
>>>>
>>>>
>>
>> _______________________________________________
>> TYPO3-UG-italy mailing list
>> TYPO3-UG-italy at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy
>
> _________________________________________________________________
> Organizza le tue feste e condividine le foto con Windows Live Eventi!
> http://home.services.spaces.live.com/events/
> _______________________________________________
> TYPO3-UG-italy mailing list
> TYPO3-UG-italy at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-italy

_________________________________________________________________
Organizza le tue feste e condividine le foto con Windows Live Eventi!
http://home.services.spaces.live.com/events/


More information about the TYPO3-UG-italy mailing list