Tags:
create new tag
, view all tags

Question

Hi,

I have recently tried to modify the NewUserTemplate.txt

---++ My Personal Data

%EDITTABLE{ format="| label |text,30|" changerows="off" quietsave="off" }%

Name: %USERINFO{"NewUserTemplate" format="$wikiname"}%
Email: %USERINFO{"NewUserTemplate" format="$emails"}%

---++ Useful Links

Some LINKS

%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="UserView"}%

And when i create a new user and try to view the result

My Personal Data

Name:  
Email:  

Useful Links

Some LINKS

  • First Name: Tommy
  • Last Name: Martin


The problem now is i have this additional first,last name and set ALLOWTOPICCHANGE in the bottom which i want to get rid of, but i just cannot find where do they come from, and how to remove them...

Thanks in advance

Tommy

Environment

TWiki version: unspecified
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- TommyMartin - 20 Jul 2007

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.

I think i have noticed that this might has something to do with the Register.pm file, looking at the writeRegistrationDetailsToTopic method.. but still i wondering if i can remove those thing away... better if without any modification to the Register.pm file

-- TommyMartin - 20 Jul 2007

it's hard coded in Register.pm (line 884) so you have to touch the file file and remove the ALLOWTOPICHANGE part if you wanna get rid of it.

-- CarloSchulz - 23 Jul 2007

Yeah.. i did it already, editing the Register.pm, so that those thing will appear hidden, thank anyway

-- TommyMartin - 24 Jul 2007

 
Change status to:
Topic revision: r5 - 2007-07-24 - TommyMartin
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by PerlIdeas, 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.