Question
Well, as you know, every twiki page has a header and a footer. Say, the twiki logo, path to the page, a bar with categories such as Changes|Index|Search... for the header; and Edit | Attach | Ref-By | Printable | Diffs | r1.32 | > | r1.31 | > | r1.30 | More and copyrights... for the footer. My question is that: How to get rid of those header and footer? i.e. I want my twiki pages display their contents only.
Environment
--
ThienAnVo - 16 Jul 2004
Answer
Use the
plain skin. You can activate this in your
TWikiPreferences or a
WebPreferences:
You can test it out my appending
?skin=plain to any page, e.g.
http://www.twiki.org/cgi-bin/view/Support/GetRidOfTwikiHeaderAndFooter?skin=plain
--
PeterThoeny - 17 Jul 2004
Can I modify the header and footer according to my preferences? For example, I want to change the logo, leave the Changes, Search and Edit options but remove others...
Answer to above question: You can change the logo by modifying the WIKILOGOIMG preference variable. You can change the list of things that appears in the top colored bar by modifying the WEBTOPICLIST preference variable. See
TWikiVariables for details on how to modify variables. If you are using the default TWiki skin, there is no easy way to modify what appears in the footer (though you can change the WEBCOPYRIGHT variable). Your choices are to use another skin, which will also change the overall appearance (see
SkinPackage for a list of skins you can try out), or (and you are probably on your own here) make modifications to view.tmpl in your templates directory.
--
TWikiGuest - 17 Jul 2004