23 | | You can check out BreadCrumbsNavPlugin from [http://trac-hacks.org/svn/breadcrumbsnavplugin here] using Subversion, or [source:breadcrumbsnavplugin browse the source] with Trac. |
| 24 | === Installation === |
| 25 | |
| 26 | The easiest way to install the BreadCrumbsNavPlugin is to simply point easy_install at the t-h.o SVN repository, a la: |
| 27 | |
| 28 | {{{ |
| 29 | easy_install http://trac-hacks.org/svn/breadcrumbsnavplugin/0.11 |
| 30 | }}} |
| 31 | |
| 32 | Alternatively, you may download the source and go into the 0.11 directory and then run: |
| 33 | |
| 34 | {{{ |
| 35 | python setup.py install |
| 36 | }}} |
| 37 | |
| 38 | 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: |
| 39 | |
| 40 | {{{ |
| 41 | [components] |
| 42 | breadcrumbsnavplugin.* = enabled |
| 43 | }}} |
| 44 | |
| 45 | === Configuration === |
| 46 | |
| 47 | There are two options you may set into the trac.ini: |
| 48 | |
| 49 | ignore_pattern:: |
| 50 | 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. |
| 51 | max crumbs:: |
| 52 | The maximum total of crumbs that should be kept per-user. Defaults to 6. |