User personalisation and reference tool.
See Personal Info Add On? for an introduction and installation instructions.
This topic is meant for administrators and serves as introduction springboard to PersonalInfoAddOn topics. Keep this topic as reference.
All these files need to reside in your user web (by default Main).
Diagram of main pages
Documentation of the INCLUDE sections in Personal Info.
personalInfo
This block is intended as a quick introduction of the user (picture!) and to provide the most common information at hand. It makes it easy to edit the data "on the fly".
This block is included on every user page when Personal Info User View Template is set as view template:
To set PersonalInfoUserViewTemplate as view template, follow these steps:
Include the personal info block in existing pages using either of these 2 methods:
by editing files using the file system: add this line at the bottom:
To customize which fields are displayed, follow these steps:
Add the custom fields and field formats to the table in System.User Form. Below is an example, so change the fields as you like, but keep the fields Picture and WorkStatus (including the value 'Current') (both fields are not displayed to the user in topic view). In the current setup the value for WorkStatus can be set when editing the topic.
| Picture | label | 1 | | | H |
| <nop>WorkStatus | select | 1 | Current, Former | | H |
| <nop>WorkEmail | text | 40 | | | H |
| <nop>WorkPhone | text | 40 | | | H |
| <nop>WorkPhoneMobile | text | 40 | | | H |
| <nop>WorkLocation | text | 40 | | | H |
Edit Personal Info and write the fields and field labels by editing the INCLUDE variables. The variable fieldName corresponds to the field names in User Form. The variable label can be any text you wish.
Some more indepth information what happens when the user saves her data:
When AllowRedirectUrl is enabled in configure, topic Personal Info will be saved as well. This setting is not advisable for public installations, but is ok for intranets.
The javascript file will make directSearch quite a bit faster. If AttachContentPlugin is not installed, the search will fall back on Foswiki's (slower) live search.
The same idea may be used to create an XML file, this is turned off for performance. See phoneListXML.
On large intranets this will have a performance hit. Possibly a different timing of updating the javascript will be needed.
Creates a search box to directly find users with their WorkPhone number.
When AttachContentPlugin is enabled, an updated javascript file attachment is created each time Personal Info is saved. This will make loading of the directSearch module a lot faster.
To disable the auto-creation of the attachment, change Personal Info#create Direct Search Attachment: change %STARTATTACH{ to %<nop>STARTATTACH{
Usage:
Creates a list of user data in XML format. Listed users have a field WorkPhone and have the value Current at field WorkStatus.
The auto-generation of an XML attachment is turned off for performance. To create the XML file, remove the <nop> from the beginning of STARTATTACH at PersonalInfo:createPhoneListXMLAttachment.
Usage: