Changes between Version 9 and Version 10 of BreadCrumbsNavPlugin
- Timestamp:
- Nov 9, 2011, 1:18:00 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BreadCrumbsNavPlugin
v9 v10 1 1 [[PageOutline(2-5,Contents,pullout)]] 2 [[NewsFlashStart]] 3 '''!ToDo''' 4 * short-term: new feature-extended release `breadcrumbs-0.2` 5 '''News''' 6 08-Nov-2011:: Official maintainer change (open: 10) 7 16-Nov-2010:: Starting ticket list cleanup and triage (open: 9) 8 [[NewsFlashEnd]] 9 2 10 = Recently visited pages as navigational bread crumbs = 3 4 11 == Description == 5 12 … … 17 24 18 25 == Installation and Configuration == 19 20 26 === Prerequisites === 21 27 22 Requires Trac >= 0.11 .28 Requires Trac >= 0.11 and Genshi >= 0.5 . 23 29 24 === Download===30 === Release Status, Downloads and Source === 25 31 26 * Download the zipped source from [download:breadcrumbsnavplugin here]. 27 * You can check out BreadCrumbsNavPlugin from [http://trac-hacks.org/svn/breadcrumbsnavplugin here] using Subversion, or [source:breadcrumbsnavplugin browse the source] with Trac. 32 While in general the branch name suggests the corresponding Trac version, `0.11` should work equally well for Trac 0.11 (old stable), 0.12 (current stable) and Trac 0.13dev (development). 33 34 || '''Stable Version''' ||easy_install https://trac-hacks.org/svn/breadcrumbsnavplugin/0.11 ||[download:breadcrumbsnavplugin/0.11 download] ||[http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11 subversion] || 35 || Under Development ||easy_install https://trac-hacks.org/svn/breadcrumbsnavplugin/trunk ||[download:breadcrumbsnavplugin/trunk download] ||[http://trac-hacks.org/svn/breadcrumbsnavplugin/trunk subversion] || 36 37 For Subversion checkout use {{{svn co <url>}}} with URL depending on your Trac version and target release (see links above). 38 39 Other alternatives: 40 * Download the zipped source of all branches from [download:breadcrumbsnavplugin here]. 41 * You can [source:breadcrumbsnavplugin browse the source] with Trac. 28 42 29 43 === Installation === 30 44 31 45 The easiest way to install the BreadCrumbsNavPlugin is to simply point easy_install at the t-h.o SVN repository, a la: 32 33 46 {{{ 34 47 easy_install http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11 35 48 }}} 36 49 37 Alternatively, you may download the source and go into the 0.11 directory and then run: 38 50 Alternatively, you may download the source, go into the directory containing `setup.py` and run: 39 51 {{{ 40 52 python setup.py install 41 53 }}} 42 54 43 After you have installed the BreadCrumbsNavPlugin, you must enable it. You can do so in the Administration panel of Trac, or in trac.ini by adding: 55 or prepare a packaged version and move that into the `plugin` directory inside your Trac environment: 56 {{{ 57 python setup.py bdist_egg 58 cp ./dist/BreadCrumbsNav-<version> <path-to-trac-env>/plugins/ 59 }}} 44 60 61 '''Hint:''' Using `tracd` standalone server or another webserver you will most probably need to restart it to detect the plugin. 62 63 Depending on your configuration you may still need to enable the plugin explicitly. You can do so in the Administration panel of Trac, or in trac.ini by adding: 45 64 {{{ 46 65 [components] … … 48 67 }}} 49 68 69 In Trac applications, where you disabled this plugin or require explicit activation, `breadcrumbs-0.2` and later requires following different line due to a shortened path: 70 {{{ 71 [components] 72 breadcrumbsnav.* = enabled 73 }}} 74 50 75 === Configuration === 51 76 52 There are three options you may set into the trac.ini:77 There are four options you may set in `trac.ini`: 53 78 54 79 ignore_pattern:: 55 80 A regular expression pattern that can be applied to the name of the resource; if it matches the resource will not be added to the user's breadcrumbs. Defaults to nothing. 81 label:: 82 A custom label to replace the implicite "Breadcrumbs:" default value. Beware that this will interfere with i18n, maybe even depreciated by it. 56 83 max_crumbs:: 57 84 The maximum total of crumbs that should be kept per-user. Defaults to 6. … … 65 92 [breadcrumbs] 66 93 ignore_pattern = 94 label = 67 95 max_crumbs = 6 68 paths = /wiki *,/ticket*,/milestone*96 paths = /wiki/,/ticket/,/milestone/ 69 97 }}} 70 98