Question
How can I include the name of the last person to change the page and the date of that change? E.g. As in the form at:
http://twiki.org/cgi-bin/view/Support/AnsweredQuestions
I create a TWiki Form. One field inside the Form is a field named
Lastupdatewho. The value of that field is the TWiki Variable WIKIUSERNAME.
When I use this Form in a Templatepage the field Lastupdatewho is empty.
I enter in the field on the Templatepage again the TWiki Variable
WIKIUSERNAME. When I save the Page the value of the field Lastupdatewho is
TwikiGuest not my Twikiname.
When I create a new Page with my Templatepage and view the Preview Change,
the value of the formfield Lastupdatewho is my Twikiname, but when I save
the Page the value change to TwikiGuest.
How can I include the name of the last person to change the page & date of change?
I have examples saved in the Sandbox
SoapServicesToDoForm,
SoapServicesToDoTemplate,
SoapServicesToDo
- TWiki version: 1.12.2001
- Perl version: Perl v5.6.1
- Web server: Apache
- Server OS: Linux
- Web browser: Explorer
- Client OS: Windows 2000
--
AlexandraJakubith - 09 Dec 2002
Answer
Update: I don't think the following really answers the question, but neither have we heard from Alexandra saying that. Maybe someone else can provide a better answer. (rhk)
I just copied this from the
AnsweredQuestions page you mention above -- it should work -- I'll save and test it:
%SEARCH{ "[S]upportStatus.*(td..td|value\=).*[A]nsweredQuestions" casesensitive="on" regex="on" nosearch="on" order="modified" reverse="on"}%
That seems to work -- you'll have to change the search criteria ("[S]upportStatus.*(td..td|value\=).*[A]nsweredQuestions") to something that meets your needs.
Testing (now disabled with <nop>):
%SEARCH{ "[S]upportStatus.*(td..td|value\=).*[A]nsweredQuestions" casesensitive="on" regex="on" nosearch="on" order="modified" reverse="on"}%
--
RandyKramer - 13 Dec 2002