[TYPO3] sr_feuser register problem

Christopher Torgalson bedlamhotel at gmail.com
Wed Jan 31 23:08:37 CET 2007


Hi,

On 1/31/07, Aji Johannes <aji.yahya at gmail.com> wrote:
> a owen schrieb:
> > Hello
> >
> > I'm having problems with the registration, but the editing of existing
> > users works. When i register nothing happens, not even an error. When I
> > try to register with a existing user there's no error neither.
> >
> > thanks for help
> >
> > template is attached to email and this is the constants field of my
> > template for the registration:
> >
> > plugin.tx_srfeuserregister_pi1 {
> >   formFields = username,password,
> > first_name,last_name,date_of_birth,email, address,city,zone,
> > static_info_country,zip, telephone,language
> >   requiredFields =
> > username,password,first_name,last_name,date_of_birth,email,static_info_country,language
> > }
> >
> >
> > this is the setup field of my template for the registration:
> >
> > # Default PAGE object:
> > page = PAGE
> > page.typeNum = 0
> > config.language = en
> >
> > # Copying the content from TEMPLATE for <head>-section:
> > page.headerData.10 < temp.headTemplate
> >
> > # Copying the content from TEMPLATE for <body>-section:
> > page.10 < temp.mainTemplate
> >
> > # Copying the content from TEMPLATE for <body>-section:
> > page.20 < temp.footerTemplate
> >
> > plugin.tx_srfeuserregister_pi1 {
> >  templateFile = fileadmin/template/registration.htm
> >  registerPID = 5
> >  pid = 22
> >  confirmPID = 24
> >  editPID = 23
> >  loginPID = 1
> >  linkToPID = 2
> >  _LOCAL_LANG.en.date_of_birth = Date of Birth (dd.mm.yyyy):
> >  _LOCAL_LANG.de.date_of_birth = Geburtsdatum (tt.mm.jjjj):
> >  _LOCAL_LANG.de.evalErrors_date = Bitte geben Sie ein g&uuml;ltiges
> > Datum im Format tt.mm.jjjj ein!
> >  _LOCAL_LANG.de.evalErrors_date_informal = Bitte gib ein g&uuml;ltiges
> > Datum im Format tt.mm.jjjj ein!
> >  _LOCAL_LANG.en.EDIT_YOUR_ACCOUNT = %2$s
> > }
> >
> > plugin.tx_newloginbox_pi1.showForgotPassword = 1
> > plugin.tx_newloginbox_pi1.storagePid = 22
> Hello Owen,
>
> i think you have some errors in your Template Setup.
> this lines must go to Constants and not in Setup:
>
>   registerPID = 5
>   pid = 22
>   confirmPID = 24
>   editPID = 23
>   loginPID = 1
>   linkToPID = 2
>
> try it and give me a Feedback


If you check the static templates from the extension--or the manual--I
think you will find that this is not true. sr_feuser_register sets up
the default TS like this:

plugin.tx_srfeuserregister_pi1.registerPID =
{$plugin.tx_srfeuserregister_pi1.registerPID}

So if you're not using the constant editor to manage settings,
something like this:

plugin.tx_srfeuserregister_pi1.registerPID = 5

...makes perfect sense.



-- 
Christopher Torgalson


More information about the TYPO3-english mailing list