Tags:
create new tag
view all tags

Question

I am trying to add the genpdf plugin to TWiki 4.04. It works successfully if I simply replace view in the URL to genpdf, so the plugin itself is working correctly.

What I would like to do now is add a PDF tab next to the Edit, Printable, and Attach tabs at the top right of each page. I'd also like to add a PDF link to the bottom topic acations bar as well. The problem is I do not know what to edit in order to add this extra tab/link.

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: SLES9
Web server: Apache 2.2
Perl version: 5.8
Client OS: SuSE10.1
Web Browser: Firefox 1.5
Categories: Plugins

-- AnthonyTuel - 02 Aug 2006

Answer

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.

This depends on the skin used. For modifications to the default PatternSkin , see PatternSkinCustomization, PatternSkinCssCookbook. Look at PatternSkinCustomization and redefine:

  • %TMPL:DEF{"toolbar_buttons"}% for the toolbar buttons on top, defined in viewtoolbar.pattern.tmpl
  • %TMPL:DEF{"topicactionbuttons"}% for the bottom links, defined in view.pattern.tmpl

(You might want to look at a more recent PDF solution, PublishContrib)

-- PeterThoeny - 09 Sep 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2006-09-09 - 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-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.