Question
Is there a way I can hide the "Replace form..." button when users are editting certain pages? The topic is created with an html form and the appropriate form is attached at this time. I don't want users to be able to change the form.
Environment
--
DeanSpicer - 17 Feb 2008
Answer
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.
- Create a file in folder templates:
form.noreplace.tmpl
- Write in that file:
%TMPL:INCLUDE{"form"}%
%TMPL:DEF{"changeform"}%%TMPL:END%
- Set for the topic the cover to
noreplace. Either as a TWiki variable Set COVER or by url parameter &cover=noreplace
--
ArthurClemens - 17 Feb 2008
Thanks Arthur, that's exactly what I needed.
--
DeanSpicer - 17 Feb 2008