Tags:
create new tag
view all tags

SID-00545: redefining a template for a Web using a Topic

Status: Unanswered Unanswered TWiki version: 4.1.2 Perl version: 5.8.8
Category: CategoryTemplates Server OS: Red Hat Enterprise Linux AS release 3, 2.4.21-4.ELsmp Last update: 16 years ago

Hello,

I would like to override the template "printable_link" so that the "Printable" button will link to something defined by me. I would like to do it only for a given Web, redefining only printable_link in a Topic.

I cannot find how to name correctly the Topic in the given Web and I don't even know what it should contain. I tried with a topic named PatternSkinTemplate, not working, then PatternSkinViewTemplate, not working, then ViewTemplate, not working frown My template Topic was just containing the following:

%TMPL:DEF{"printable_link"}%<span class='patternButton'><a href='/cgi-bin/view/Support/SID-00545?template=DpSpecPrintable%QUERYPARAMSTRING%' rel='nofollow' title='Printable version of this topic' accesskey='p'gt;Printable</a></span>%TMPL:END%

without redefining any other template nor including any other template file.

Please tell me what's the right name of Topic I should give and contents it should have.

Many thanks in advance Best Regards Daniele

-- DanieleAntoniazzi - 2009-10-01

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2009-11-23

      Change status to:
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.
SupportForm
Status Unanswered
Title redefining a template for a Web using a Topic
SupportCategory CategoryTemplates
TWiki version 4.1.2
Server OS Red Hat Enterprise Linux AS release 3, 2.4.21-4.ELsmp
Web server Apache/2.2.4
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-11-23 - 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.