Tags:
create new tag
view all tags

SID-00678: How to add a general edit link for included topic

Status: Answered Answered TWiki version: 4.2.2 Perl version:
Category: CategoryEditing Server OS: Last update: 16 years ago

currently the edit link for a topic has a varied postfix "t=xxxxx", can we have a general syntax to add a edit link for included topic in the including topic?

-- BoGao - 2009-12-18

Discussion and Answer

The t=xxxx parameter is a trick to tell the browser to not cache edit content. You can construct this anywhere as follows:

[[%SCRIPTURL{edit}%/%WEB%/%TOPIC%?t=%SERVERTIME{$epoch}%][edit]]

Replace %TOPIC% with a specific topic name if needed.

-- PeterThoeny - 2009-12-18

      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 How to add a general edit link for included topic
SupportCategory CategoryEditing
TWiki version 4.2.2
Server OS

Web server

Perl version

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2009-12-18 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.