create new tag
, view all tags


I see in HowToDisableTheEditButton the recipe to hide the Edit button. But in the current Pattern skin in 4.1.2, this seems no longer necessary, as the button doesn't appear in the topic actions bar at the top of the page.

It does appear in the bottom bar, but I would like to put it back at the top of the page as well. Given the latest version of Pattern, how does one do this?


TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: RHEL4u5 Linux
Web server: Apache 2.0.52
Perl version: 5.8.5
Client OS: OS X, RHEL4
Web Browser: Firefox 2
Categories: Missing functionality, Skin

-- JohnDeStefano - 14 Nov 2007


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.

It ought to be there, so this looks like some skin/configuration issue on your installation.

-- ArthurClemens - 14 Nov 2007

Possibly. But the only customization I've done is to add templates that "include" Pattern and add a "Publish" button (please see attached), and another set of templates for published HTML pages to strip out any topic actions entirely. I'm not sure what I've done that might cause one button to go missing?

-- JohnDeStefano - 14 Nov 2007

What do you see if you append ?skin=pattern to the url?

-- ArthurClemens - 14 Nov 2007

The Edit button! wink So you are right, of course: this is a customization issue somehow. Any ideas on how to troubleshoot this and figure out why the button isn't appearing?

-- JohnDeStefano - 15 Nov 2007

It would seem you have overwritten viewtoolbar.pattern.tmpl or the DEF %TMPL:DEF{toolbar_buttons}% inside it.

-- ArthurClemens - 15 Nov 2007

I agree: it would ... but I haven't! The file is untouched and is the latest from the TWiki 4.1.2 install archive. I verified that the "edit" button template (or what looks to be the edit template) is the same on the file system as that in a freshly downloaded file ("=activatable_edit_or_create=" ... I tried to include the actual code here but couldn't keep TWiki from rendering it as a button).

Is there some chance that this definition is somehow in conflict with my custom template (attached)?

-- JohnDeStefano - 15 Nov 2007

Closing this support question after more than 30 days of inactivity. Please feel free to re-open if needed.

-- PeterThoeny - 01 Jan 2008

Change status to:
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formattmpl view.custom.tmpl r1 manage 0.5 K 2007-11-14 - 22:02 JohnDeStefano Customized "view" template to include Pattern templates and add a "Publish" button
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2008-01-01 - 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-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.