Changes between Version 7 and Version 8 of EditFilesPlugin


Ignore:
Timestamp:
Dec 23, 2016, 7:38:32 PM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • EditFilesPlugin

    v7 v8  
    11[[PageOutline(2-5,Contents,pullout)]]
    22
    3 = Edit Files Plugin
     3= Edit files from within Trac
    44
    55== Description
    66
    7 A plugin that allows TRAC_ADMIN to edit files on the Trac server. Files can be specified in the configuration file. Paths may be absolute, or relative to the Trac environment. The user running the server must have appropriate permissions for the files in order to view or save them. 
     7This is a plugin that allows Trac administrators (`TRAC_ADMIN`) to edit files on the Trac server. The editable files can be specified in the configuration file. Paths may be absolute, or relative to the Trac environment. The user running the server must have appropriate permissions for the files in order to view or save them. 
     8
     9Sample `trac.ini` file with the editable files listed in the custom `[edit_file]` section:
     10{{{#!ini
     11[edit_file]
     12files = conf/trac.ini, /home/matt/public_html/notebook/TRACI/auth.db
     13}}}
     14
     15'''Note''': Relative paths will be computed relative to the location of `trac.ini`. Most Trac instances are laid out with folders like `conf/`, `db/`, `htdocs/` and so on. If your `trac.ini` file is in an odd place, this may not work the way you expect and you might want to use absolute paths instead.
    816
    917== Bugs/Feature Requests
     
    2937General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    3038
    31 == Example
    32 
    33 {{{#!ini
    34 [edit_file]
    35 files = conf/trac.ini, /home/matt/public_html/notebook/TRACI/auth.db
    36 }}}
    37 
    38 '''Note''': relative paths will be computed relative to the location of `trac.ini`. Most Trac instances are laid out with folders like conf/, db/, htdocs/, and so on. If your `trac.ini` file is in an odd place, this may not work the way you expect and you might want to be sure and use absolute paths.
    39 
    4039== Recent Changes
    4140