Changes between Version 15 and Version 16 of ScreenshotsPlugin


Ignore:
Timestamp:
Feb 26, 2008, 5:28:55 PM (7 years ago)
Author:
Blackhex
Comment:

Configuration options updated.

Legend:

Unmodified
Added
Removed
Modified
  • ScreenshotsPlugin

    v15 v16  
    3131{{{
    3232[screenshots]
    33 title = Screenshots
     33mainnav_title = Screenshots
     34metanav_title =
    3435path = /var/lib/trac/screenshots
    3536ext = jpg png
    3637formats = raw html jpg png
    3738default_format = html
    38 default_components =
    39 default_versions =
     39default_components = none
     40default_versions = none
    4041}}}
    4142
    42 Value of {{{title}}} variable sets caption of item in Trac's main navigation menu, {{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you would't see any screenshots with default filter.
     43Value of {{{mainnav_title}}} variable sets caption of item in Trac's main navigation menu and {{{metanav_title}}} sets caption of meta navigation menu item. Appropriate item will be hidden if its title is empty. {{{path}}} is location of directory where plugin should store uploaded and generated images and {{{ext}}} is list of allowed file extension which can be uploaded. Using {{{formats}}} option you can set in wich formats can be images downloaded and {{{default_format}}} is format which will be returned if no format is specified in request. It must be one of formats supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embended in HTML page. {{{default_components}}} and {{{default_versions}}} options sets default values for component and version filter. Set these variables according your Trac setup, otherwise, you would't see any screenshots with default filter.
    4344
    4445If you run Trac in environment which needs to enable plugins explicitly put in trac.ini these lines: