SID-00678: How to add a general edit link for included topic
| Status: |
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
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.