AddressBook
I need some pages like:
| Doctor 1 |
on call |
phonenr: 3968796 |
call: 68768796 |
| Doctor 2 |
on call |
phonenr: 3968796 |
call: 68768796 |
| Doctor 3 |
on call |
phonenr: 3968796 |
call: 68768796 |
| Doctor 4 |
on call |
phonenr: 3968796 |
call: 68768796 |
The Phone number must reflect to the doctors homepage (
WikiTopic)
DocOne
Doctor 1
phone: xxxxxx
DocTwo
Doctor 2
phone: xxxxxx
I want to change the numer only once and want to get the result everywhere in the Intranet.
- Define a CONTACT once and get it everywhere.
- I think about 200-300 Contacts (phone/fax/persons/etc..)
How to realize that?
--
VolkerLapczynski - 05 Feb 2003
You can use custom variables in your user topics. For instance:
* Set PHONE = 12345
Then to create an overview of all phone numbers, do a search over all user topics (or topics that are classified using a form) and show it in a table. See
PluginPackage for an example table.
If you use classification forms, make sure your Web has a
WebForm topic, something like:
| *Name:*| *Type:* | *Size:* | *Values:* | *Tooltip message:* |
| TopicClassification | select | 1 | Select one..., CallDoctors | Classify a topic |
In your
WebPreferences you should add the
WebForm page (or another name for the topic) with * Set WEBFORMS.
Add this form to each doctor user page. Then create an overview page CallDoctors (same as in your WebForm) with a table like:
---+ List of all doctors and phone numbers
| *Name* | *Phone* |
%SEARCH{ "[T]opicClassification.*value\=\"[C]allDoctor" casesensitive="on" regex="on" nosearch="on" nototal="on" format="| [[$topic]] | $pattern(.*?\*\sSet\sPHONE\s\=([^\n\r]*).*) |"}%
--
ArthurClemens - 03 Sep 2003