SID-02212: Is it possible to set an referenced table?
Status: |
Answered |
TWiki version: |
6.0.2 |
Perl version: |
|
Category: |
CategoryPlugins |
Server OS: |
|
Last update: |
7 years ago |
Hello all,
I was wondering whether it is possible to set it such that a table automatically updates whenever another table is updated. Office hours are written in a table for the twiki I work on and is placed in a specific page for archiving, but that page is not very visible and hard to access. For that reason, I would like to create an identical version on a home page that would update and reflect the information on the table in the archives.
--
Ethan Vuong - 2016-06-16
Discussion and Answer
Hi Ethan,
I think what you're trying to do can be accomplished using
%INCLUDE{"TopicName"}%
In the topic containing the hours, surround the table where the hours are placed with:
%STARTSECTION{"HoursTable"}%
%ENDSECTION{"HoursTable"}%
Then in the homepage topic, add the following exactly where you want the hours table to be placed.
%INCLUDE{"NameOfTopicWhereHoursAreEntered" section="HoursTable"}%
--
Jani Hamalainen - 2016-06-17
Good answer Jani!
Detail at
VarINCLUDE,
VarSTARTSECTION.
For advanced TWiki apps see
How to Create a TWiki Application
--
Peter Thoeny - 2016-06-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.