Edgewall Software

Changes between Version 34 and Version 35 of TracInterfaceCustomization


Ignore:
Timestamp:
Aug 28, 2006, 3:40:40 PM (14 years ago)
Author:
Christopher Lenz
Comment:

Minor corrections

Legend:

Unmodified
Added
Removed
Modified
  • TracInterfaceCustomization

    v34 v35  
    11= Customizing the Trac Interface =
    2 [[PageOutline(2-3,Contents)]]
     2[[TracGuideToc]]
    33
    44== Introduction ==
     
    99
    1010The logo or icon image should be put in a folder named "htdocs" in your project's environment folder.  (''Note: in projects created with a Trac version prior to 0.9 you will need to create this folder'')
     11
     12 ''Note: you can actually put the logo and icon anywhere on your server (as long as it's accessible through the web server), and use their absoluteor server-relative URLs in the configuration.''
    1113
    1214Now configure the appropriate section of your [wiki:TracIni trac.ini]:
     
    3941
    4042== Site Header & Footer ==
     43
    4144In the environment folder for each Trac project there should be a directory called {{{templates}}}.  This folder contains files {{{site_header.cs}}} and {{{site_footer.cs}}}.  Users can customize their Trac site by adding the required HTML markup to these files.  The content of these two files will be placed immediately following the opening {{{<body>}}} tag and immediately preceding the closing {{{</body>}}} tag of each page in the site, respectively.
    4245
     
    5962
    6063== Project List ==
    61 You can use a custom ClearSilver template to display the list of projects when you are using Trac with multiple projects. 
    62 
    63 This is the basic template used by Trac to display a list of links to the projects.  For projects that could not be loaded it displays an error message.
     64You can use a custom ClearSilver template to display the list of projects if you are using Trac with multiple projects. 
     65
     66The following is the basic template used by Trac to display a list of links to the projects.  For projects that could not be loaded it displays an error message. You can use this as a starting point for your own index template.
    6467
    6568{{{
     
    104107
    105108
    106 
    107109== Main Templates ==
    108110
     
    110112
    111113If you absolutely need to use modified templates, copy the template files from the default templates directory (usually in found in `$prefix/share/trac/templates`) into the `templates` directory of the project environment. Then modify those copies to get the desired results.
     114
    112115
    113116== Adding Google Adsense Services To Your Trac ==