Difference: PietroGiampa (6 vs. 7)

Revision 717 Mar 2013 - PietroGiampa

Line: 1 to 1

My Links

Line: 30 to 28
Turn off the unwanted display of the user's personal details meta-data by the TWikiForm UserForm.
Displaying this information (selectively) is done by the DisplayUserDetails include topic below.
Please DO NOT alter these items.  


This TOPIC is included from each users home topic page (eg. http://hostname/twiki/bin/view/JoeBloggs) and displays their account details using the meta-data stored in their home topic file. For this reason the ?raw=debug URL parameter must not be permitted for non-authenticated users because it displays the topic's meta-data. Which item are displayed depends on whether an authenticated user is logged on and if so who.

The motivation for producing this feature was to replace the default TWiki forms based approach which produces a table displaying the same information in the users' home topic using the meta-data record,

but permits no control over which items (eg. the user's loginname) are displayed to (eg. to non-authenticated users).

How to control which items in the table below are visible. ====================================================== (1) Items with the condition "0=0" are visible to everyone on the Internet who has access to this page. (2) Items with the condition "context authenticated" are only visible to registered & logged-on TWiki users. (3) Items with the condition "'Public.TWikiGuest' ingroup 'TWikiAdminGroup' are only visible to the TWiki Admin team.

See the file /home/tcrane/work/newtwiki/BrianTest.txt for an illustration of the syntax for doing this within a user's home topic, such that the user can adjust the visible items themselves.

Note: It is essential that the meta-data records of the form, are changed to, otherwise the will return a blank "User Item" field.

Tom Crane, Wed Oct 31 18:08:20 GMT 2012. -->

RHUL User Account Details

User Item Value
First Name Pietro
Last Name Giampa
Wikiname PietroGiampa
Titles Undergraduate - M.Sci.
Department Physics
Room T243
Organization Dept. Physics, RHUL
Location Egham
Region Surrey
Country United Kingdom
Status Update  

META FORM name="Public.UserForm"
FORM FIELD First Name FirstName Pietro
FORM FIELD Last Name LastName Giampa
FORM FIELD LoginName Loginname ztap052
FORM FIELD WikiName Wikiname PietroGiampa
FORM FIELD Loginname Loginname ztap052
FORM FIELD Wikiname Wikiname PietroGiampa
FORM FIELD Titles Titles Undergraduate - M.Sci.
FORM FIELD Email Email Pietro.Giampa.2008@live.rhul.ac.uk
FORM FIELD Telephone Telephone  
FORM FIELD Mobile Mobile  
FORM FIELD Department Department Physics
FORM FIELD Room Room  
FORM FIELD Room Room T148
FORM FIELD Organization Organization Dept. Physics, RHUL
FORM FIELD Location Location Egham
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback