Tags:
create new tag
view all tags

SID-02212: Is it possible to set an referenced table?

Status: Answered 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"}%
Office Hours Table Here
 %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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Is it possible to set an referenced table?
SupportCategory CategoryPlugins
TWiki version 6.0.2
Server OS

Web server

Perl version

Browser & version Chrome 51.0.2704.84
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2016-06-23 - PeterThoeny
 
  • 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-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.