Question
I would like to eliminate the Edit button from the toolbar and from the topicactionbuttons,
only for a certain web (not for all site-wide webs).
I successfully eliminated the two Edit buttons for a certain web
But WYSIWYG editor does not save topic text
(i.e. WYSIWYG edit -> apply text -> save -> topic text apears -> WYSIWYG edit : no text, blank topic! ).
Environment
--
HaggaiST - 28 Dec 2006
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.
The KupuContrib uses the COVER setting to change the edit skin to
kupu instead of the default picked up from the skin. I suspect your COVER setting may be confusing it.
You do not say if Kupu appears correctly.
--
CrawfordCurrie - 02 Jan 2007
The Kupu appears correctly.
I'm still working with TWiki 4.0.5, does the
KupuContrib part of it?
I look into
PatternSkinCustomization (
http://twiki.org/cgi-bin/view/TWiki/PatternSkinCustomization
), and then cooked the described in the attached EliminateEditButtonsKupuProblem-details.txt file.
Although, the headings issue deals with "...hide the edit buttons from certain users"
Is there any other 'right' way to achieve my target?
(And a more general target is a Web's specific skin)
--
HaggaiST - 02 Jan 2007
in order to eliminate raw-Edit button for a specific Web (e.g. WebName):
1) create and put viewtopicactionbuttons.pattern_mobi.tmpl file in template dir.
the file contains only two lines:
%TMPL:INCLUDE{"viewtopicactionbuttons.pattern"}%
%TMPL:DEF{"editraw"}%%TMPL:END%
2) Add the following line to WebName/WebPreferences
* Set SKIN=pattern_mobi, pattern
The Edit button will be eliminated from both topic toolbar and bottom toolbar
--
HaggaiST - 09 Jan 2007
FAQ saved as
HowToDisableTheEditButton, thanks!
--
CrawfordCurrie - 09 Jan 2007