Changes between Version 25 and Version 26 of ScreenshotsPlugin


Ignore:
Timestamp:
Oct 2, 2008, 3:13:19 PM (14 years ago)
Author:
izzy
Comment:

some reformatting

Legend:

Unmodified
Added
Removed
Modified
  • ScreenshotsPlugin

    v25 v26  
    2525== Installation ==
    2626
    27 Install plugins egg and set variables in trac.ini configuration file according to your needs. Following list shows all of them with their default values:
     27Install plugins egg and set variables in the {{{[screenshots]}}} section of your {{{trac.ini}}} configuration file according to your needs. Following list shows all of them with a description and their default values:
    2828
    29 {{{
    30 [screenshots]
    31 default_components = none
    32 default_description = $description
    33 default_filter_relation = or
    34 default_format = html
    35 default_format = html
    36 default_list_item = $id - $name - $description
    37 default_order_directions = asc
    38 default_orders = id
    39 default_versions = none
    40 ext = jpg,png
    41 formats = raw,html,jpg,png
    42 mainnav_title = Screenshots
    43 metanav_title =
    44 path = /var/lib/trac/screenshots
    45 }}}
    46 
    47 ||'''Option'''||'''Description'''||
    48 ||default_components|| default values for component filter ||
    49 ||default_description|| description attached to the screenshot if not explicitly specified in request ||
    50 ||default_filter_relation|| how the filters should be related by default ||
    51 ||default_format|| format which will be returned if no format is specified in request (see ''formats'' below) ||
    52 ||default_list_item|| how the {{{[[ScreenshotsList]]}}} macro should be expanded by default ||
    53 ||default_order_directions|| whether to start with the first or last item by default ||
    54 ||default_orders|| if not specified otherwise, by which criteria should we order? ||
    55 ||default_versions|| default values for version filter ||
    56 ||ext|| list of allowed file extension which can be uploaded ||
    57 ||formats|| in which formats images can be downloaded ||
    58 ||mainnav_title|| Caption in Tracs main navigation menu (empty = hide item)||
    59 ||metanav_title|| Caption in Tracs meta navigation menu (empty = hide item) ||
    60 ||path|| location of directory where plugin should store uploaded and generated images ||
     29||'''Option'''||'''Description'''||''Default Value''||
     30||default_components|| default values for component filter || none ||
     31||default_description|| description attached to the screenshot if not explicitly specified in request || $description ||
     32||default_filter_relation|| how the filters should be related by default || or ||
     33||default_format|| format which will be returned if no format is specified in request (see ''formats'' below) || html ||
     34||default_list_item|| how the {{{[[ScreenshotsList]]}}} macro should be expanded by default || $id - $name - $description ||
     35||default_order_directions|| whether to start with the first or last item by default || asc ||
     36||default_orders|| if not specified otherwise, by which criteria should we order? || id ||
     37||default_versions|| default values for version filter || none ||
     38||ext|| list of allowed file extension which can be uploaded || jpg,png ||
     39||formats|| in which formats images can be downloaded || raw,html,jpg,png ||
     40||mainnav_title|| Caption in Tracs main navigation menu (empty = hide item)|| Screenshots ||
     41||metanav_title|| Caption in Tracs meta navigation menu (empty = hide item) || ||
     42||path|| location of directory where plugin should store uploaded and generated images || /var/lib/trac/screenshots ||
    6143
    6244{{{default_format}}} and {{{formats}}} must be supported by your PIL library installation. There are two meta formats: {{{raw}}} denotes original format of uploaded image and {{{html}}} is image embedded in HTML page.
     
    165147
    166148{{{
    167  [[ScreenshotsList($name - $description (${width}x${height}))]]
     149 [[ScreenshotsList($name - $description ($widthx$height))]]
    168150}}}
    169151