Changes between Initial Version and Version 1 of CustomTemplates


Ignore:
Timestamp:
Apr 12, 2006, 12:43:49 AM (15 years ago)
Author:
jkg@…
Comment:

explanation of custom templates

Legend:

Unmodified
Added
Removed
Modified
  • CustomTemplates

    v1 v1  
     1Editing the provided templates is strongly discouraged -- the templates contain logic as well as formatting, and hence can contain bugs and/or features, which may be fixed/added to in future releases. There are, however, 2 ways to customise the templates your OpenGuides install uses. One is to use the 4 "custom" templates detailed below, which get included into appropriate places in the main templates. These cover the main things people have wanted to customise so far -- see below for details. The other is to, in the directory named for "custom templates" in wiki.conf, place modified templates with the same names as the existing ones -- these modified templates will override the default templates. Then, when the software is upgraded and the templates have changed, you can simply merge the changes into your custom templates.
     2
     3From CUSTOMISATION in the main distribution:
     4
     5  The custom templates currently supported are:
     6
     7   - custom_licence.tt
     8     Will be included at the top of the page editing form.
     9
     10   - custom_footer_credits.tt
     11     Will be included in a <div id="footer"> at the base of every page. You may wish to take advantage of the supplied TT variables
     12
     13       - [% delete_link %]
     14         Will supply a link to delete the page, if and only if your wiki.conf has deletion turned on.
     15
     16       - [% openguides_version %]
     17         Contains the version of OpenGuides that your site is running on.
     18
     19   - custom_banner.tt
     20     Will be included in a <div id="banner"> at the top of every page. You may wish to take advantage of the supplied TT variables
     21
     22      - [% site_name %]
     23        Contains the value supplied in wiki.conf as the name of the site.
     24
     25   - custom_node.tt
     26     Will be included just below the main wiki content in node.tt.
     27
     28  Requests for further custom inserts are welcomed.