SID-00552: How to track completeness of individual sections of a topic
| Status: |
Answered |
TWiki version: |
4.3.1 |
Perl version: |
|
| Category: |
CategoryAutomation |
Server OS: |
|
Last update: |
16 years ago |
I am trying to figure out how to track individual sections in a Twiki topic. I am creating a twki topic with about 10 sections. I want the ability to mark each inidividual section as "Done" or "WIP" or "Not Started" using radio buttons. I want the status of these sections to be rolled up into an indicator table (so that I can track how much of the topic is complete). I also want a notification to be sent to a list of approvers when a certain section is marked done - so that they can approve that section.
How would I go about doing this? I am fairly new to the Twiki environment - so still trying to parse through the documentation to find something that might help - but hopefully someone here can point me in the right direction.
Thanks.
--
SameerRuiwale - 2009-10-05
Discussion and Answer
There are several ways you can "skin the cat.";
1. You could use an
EditTablePlugin table in each section. The table contains a single row to keep track of status. Example edit table for a "Deliverables" section:
%EDITTABLE{ format="| label | text, 10 |" changerows="off" }%
| Status of Deliverables: | Not started %EDITCELL{select, 1, Not started, WIP, Done}% | %EDITCELL{ "editbutton, 1, Change...." }% |
Which renders as:
You can use a
FormattedSearch with a
RegularExpression $pattern() in the
format="" parameter to query the status for display in a summary page.
2. You could use
TWikiForms to keep track of all your structured data. The form contains sections, each section has a selector for status, a multi-line edit field for content, a picklist for owner etc. Use also a FormattedSearch to report on this. Search is much easier this way because you do not need to figure out the regular expression patterns.
--
PeterThoeny - 2009-10-09
How i tracked different sections in my office
Hi Sameer,
Try Javascript in page with method: document.getElementById('table3');
This will help you a lot in customizing the look and feel of tables.Usually people prefer colors with overall status.
Try the example below. This might help you in some way or the other. I got this working after a very long efforts to customize status reports in my office. This will help you a lot since you are new to TWiki.
In general you can fetch a cell from any table from a page and compare it with any value and perform action. Make sure you use with unique id in each table. you can fetch the table with id and traverse in rows and columns as you wish and populate theoverall status in a fianl table.
Cheers!!!
--
RaghuKiran - 2009-10-23
Thanks Raghu for sharing this with the TWiki community!
--
PeterThoeny - 2009-10-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.
Thanks for the suggestions. I will be trying these out.