Tags:
create new tag
, view all tags

Question

I wanted to customize UserForm, so I looked at TWiki.UserForm, and I followed these instructions:

This form defines the form of the home pages of registered TWiki users listed in TWikiUsers. Do not edit this topic - if you want to customise the user form, then:

   1. Take a copy of this topic and save it to Main.UserForm
   2. Customise Main.UserForm
   3. Take a copy of NewUserTemplate and save it to Main.NewUserTemplate
   4. Modify Main.NewUserTemplate and change the form to select your new user form.

So far so good, my problem now is that TWiki.TWikiRegistration still uses TWiki.UserForm and not my customized Main.UserForm, so when a new user registers the default form is used instead of mine.

What is the correct procedure to get my Main.Userform used during the registration process?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Mswin32 4.0 (MSWin32-x86-multi-thread)
Web server: Apache/2.2.4 (Win32)
Perl version: 5.008008 (MSWin32)
Client OS: Fedora Core 8 Linux
Web Browser: Firefox 2.0.0.10
Categories: Registration, Forms

-- RobertoCornacchia - 30 Jan 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

Sorry, closing this question after more than 30 days of inactivity. Feel free to re-open if needed.

-- PeterThoeny - 02 Mar 2008

I have also the same problem frown

-- LardVerschuren - 2009-04-07

Also having problems related to this and BulkRegistration.

It's my understanding, that when you follow the procedures for customizing Main.UserForm and then selecting the new Main.UserForm to be included in your new Main.NewUserTemplate that the TWIki.UserForm and TWiki.NewUserTemplate are no longer used for new registrations, being over-ridden by your customized forms in your Main web.

This is not the case, however, as seen when trying to create a BulkRegistration table for processing. You get errors related to using undefined values in an ARRAY.

For example, I changed FirstName and LastName to be ClanTag and GameName, and when using those values as headers in UnProcessedRegistrations the error pops up. I know I've customized the forms correctly because when users register themselves everything works properly.

This leads me to believe that the BulkRegistration script responsible for parsing the table is hard coded to use the default fields for FirstName and LastName, but given that users are freely able to customise their registration forms, shouldn't BulkRegistration also be coded to use the fields defined in Main.UserForm?

-- DavidEnfield - 2009-04-08

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-06-02

I'm encountering the same problem. Anyone have an answer?

-- MichaelKerrisk - 2009-06-10

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider a subscription for support or engage one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-08-12

 
Change status to:
Topic revision: r7 - 2009-08-12 - PeterThoeny
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.