Changeset 507


Ignore:
Timestamp:
Sep 20, 2004, 4:54:41 PM (17 years ago)
Author:
kake
Message:

Custom template for banner.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/CUSTOMISATION

    r506 r507  
    2222       Contains the version of OpenGuides that your site is running on.
    2323
     24 - banner.tt
     25   Will be included in a <div id="banner"> at the top of every page.
     26   You may wish to take advantage of the supplied TT variables
     27    - [% site_name %]
     28      Contains the value supplied in wiki.conf as the name of the site.
     29
    2430Requests for further custom inserts are welcomed.
    2531
  • trunk/Changes

    r506 r507  
    55          installed as index.cgi
    66        Added option of munging in custom lib paths on install.
    7         Added option of custom templates for footer and license warning
    8           on edit form (see CUSTOMISATION file for details).
     7        Added option of custom templates for footer, license warning
     8          on edit form, banner at top of page (see CUSTOMISATION file
     9          for details).
    910
    10110.40    18 September 2004
  • trunk/templates/banner.tt

    r506 r507  
    11<div id="banner">
    2 <h1><a href="[% home_link %]">[% site_name %]</a></h1>
     2  [% TRY %]
     3    [% INCLUDE custom/banner.tt %]
     4  [% CATCH %]
     5    <h1><a href="[% home_link %]">[% site_name %]</a></h1>
     6  [% END %]
    37</div>
Note: See TracChangeset for help on using the changeset viewer.