This question about Using an extension: Answered
redefining a template for a Web using a Topic
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
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'g t;P rintable</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
Accepted Answer
Maybe you can learn from the Best Practice application in the Support web: The view template topic is
BestPracticeTipsViewTemplate and it is set the following way:
* Local VIEW_TEMPLATE = BestPracticeTipsView
--
OliverKrueger - 09 Oct 2009