Tags:
create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2003-09-03 - ArthurClemens
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.