Tags:
create new tag
view all tags

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

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2003-02-08 - TWikiAdmin
 
  • 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.