ewave logo
www.electrowave.com
(972) 248-2931
TWiki . TWiki Templates
 
Home
News
Technology
-> EWAVE ™ Family of RF Data Modems
-> Dual-DSP™ Architecture
-> Wireless Protocols
-> RF Basics
Products
-> Overview & Comparison
-> SuperSCREAMER
-> BaseWAVE
-> STAMPER
-> SCREAMER422
-> Ewave OEM Radio modules
Links
Ordering
Support
-> Contact Us
-> Glossary
-> FAQ
-> App Notes
About Ewave
Stay Informed
 
Subscribe to the next 4 issues of our Newsletter (then be automatically unsubscribed.) Don't worry -- we'll use your info. for nothing but sending you our newsletter.
 
TWiki . { Home | Welcome | Register | Changes | Index | Search | Go }
TWiki uses HTML template files for all actions like topic view, edit, preview and so on. This allows you to change the look and feel of all pages by editing just some template files.

The template files are in the twiki/templates directory. As an example, twiki/templates/view.tmpl is the template file for the twiki/bin/view script. Templates can be overloaded per web or per topic. The following search order applies:

  1. twiki/templates/$webName/$scriptName.$topicName.tmpl
  2. twiki/templates/$webName/$scriptName.tmpl
  3. twiki/templates/$scriptName.$topicName.tmpl
  4. twiki/templates/$scriptName.tmpl

Note: $webName is the name of the web ( i.e. Main ), $scriptName is the script ( i.e. view ), and $topicName is the topic name ( i.e. new ).

Being able to specify a per topic template gives you lots of flexibility to use 'normal' topics for special (systems) functions, especially with the inline search. Another example is a separate page for creating new topics; bin/edit/Test?topic=new uses edit.new.tmpl which could have an entry field for the new topic name in addition to the text box.

-- PeterFokkinga? - 15 May 2000
-- PeterThoeny? - 22 May 2000

Topic TWikiTemplates . { Edit | Ref-By | Attach }
   

Copyright (c) 1999-2001 Ewave, Inc.
7419 Gracefield Lane, Dallas, TX 75248 Phone: (972)248-2931
Problems or comments on this website?