Tags:
create new tag
, view all tags

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

TWiki version: TWikiRelease04x00x05
TWiki plugins: SpreadSheetPlugin, CommentPlugin, EditTablePlugin, InterwikiPlugin, PreferencesPlugin, RenderListPlugin, SlideShowPlugin, SmiliesPlugin, TablePlugin, WysiwygPlugin
Server OS: Ubuntu 6.06 server for amd64, Linux 2.6.15-27
Web server: Apache 2.
Perl version: v5.8.7
Client OS: WinXp or Ubuntu
Web Browser: FF1.5.0.8 or FF2.0 or IE6.0
Categories: Plugins

-- HaggaiST - 28 Dec 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
Texttxt EliminateEditButtonsKupuProblem-details.txt manage 2.3 K 2006-12-28 - 11:03 HaggaiST additional details
Topic revision: r6 - 2007-01-09 - HaggaiST
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.