Changes between Version 1 and Version 2 of IncludeAttachmentMacro


Ignore:
Timestamp:
Jun 27, 2015, 3:54:06 PM (9 years ago)
Author:
jesrui
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IncludeAttachmentMacro

    v1 v2  
    2323== Permissions
    2424
    25 The user must have the `ATTACHMENT_VIEW` on the attachment permission to be able to include it using this macro.
    26 
     25The user must have the `ATTACHMENT_VIEW` permission on the attachment to be able to include it using this macro.
    2726
    2827== !Bugs/Feature Requests
     
    4847General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
    4948
     49Change to the directory where you unpacked or checked out the sources and generate the .egg file:
     50
     51{{{
     52$ cd includeattachmentmacro/trunk
     53$ python setup.py bdist_egg
     54}}}
     55
     56Copy the .egg file to the `plugins` directory of your trac environment:
     57
     58{{{
     59$ cp dist/IncludeAttachment-0.1-py2.7.egg /path/to/trac/env/plugins
     60}}}
     61
     62Enable the plugin in the trac configuration file (`/path/to/trac/env/conf/trac.ini`):
     63
     64{{{
     65[components]
     66includeattachment.* = enabled
     67}}}
     68
     69Restart your web server to finish the installation of the macro.
     70
    5071== Recent Changes
    5172