Changes between Version 1 and Version 2 of IncludeAttachmentMacro
- Timestamp:
- Jun 27, 2015, 3:54:06 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
IncludeAttachmentMacro
v1 v2 23 23 == Permissions 24 24 25 The user must have the `ATTACHMENT_VIEW` on the attachment permission to be able to include it using this macro. 26 25 The user must have the `ATTACHMENT_VIEW` permission on the attachment to be able to include it using this macro. 27 26 28 27 == !Bugs/Feature Requests … … 48 47 General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page. 49 48 49 Change 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 56 Copy 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 62 Enable the plugin in the trac configuration file (`/path/to/trac/env/conf/trac.ini`): 63 64 {{{ 65 [components] 66 includeattachment.* = enabled 67 }}} 68 69 Restart your web server to finish the installation of the macro. 70 50 71 == Recent Changes 51 72