Changes between Version 8 and Version 9 of ShowPathPlugin


Ignore:
Timestamp:
Nov 5, 2015, 9:41:12 AM (8 years ago)
Author:
figaro
Comment:

Cosmetic changes, still requires updates to links

Legend:

Unmodified
Added
Removed
Modified
  • ShowPathPlugin

    v8 v9  
    1 = !ShowPath Plugin =
     1[[PageOutline(2-5,Contents,pullout)]]
    22
    3 == Description ==
     3= !ShowPath Plugin
     4
     5== Description
    46
    57A Trac 0.11 version of the TracShowPathPatch as a single-file plugin, since in Trac 0.11 this can be done without source code modification, thanks to the ITemplateStreamFilter interface in Trac. This is a modification of Morris's work at t:wiki:MacroBazaar#ShowPath. His code works, but only if the trac instance is at the root of the web server (like trac-hacks.org). My modifications use the Trac environment href API to form the proper URLs.
    6 
    7 == The Times, They Are A'Changin' ==
    88
    99In the current Trac 0.11-stable branch (at least as of t:source:branches/0.11-stable at 7581) is currently the Trac 0.11.2 release, which includes an integration of the !ShowPath "patch" to Trac. If this functionality is deployed, it would basically obsolete this plugin, but is not incompatible with this plugin. What is implemented is slightly different from what this plugin does:
     
    1414
    1515The plugin does work in Trac 0.11.2, but you will see both the Trac 0.11.2 functionality (breadcrumbs on the left and "Up" link) and the added links from this plugin. If you want to hide the path generated by Trac, you could try adding a custom CSS stylesheet with the following content:
    16 {{{
    17 #!css
     16{{{#!css
    1817div#content > p.path { display: none; }
    1918}}}
    2019
    21 == Requirements ==
    22 
    23 Trac 0.11 and Genshi 0.5. Current version released is 0.4, so Genshi trunk will be needed. I tested with r851 of Genshi trunk. Genshi 0.5 is needed for the Transformer API to replace the "Start Page" link on the context navigation bar.
    24 
    25 == Documentation ==
    26 
    27 From the source:
     20Documentation from the source:
    2821
    2922{{{
     
    5750}}}
    5851
    59 == Bugs/Feature Requests ==
     52== Bugs/Feature Requests
    6053
    6154Existing bugs and feature requests for ShowPathPlugin are
     
    6356
    6457If you have any issues, create a
    65 [http://trac-hacks.org/newticket?component=ShowPathPlugin&owner=JasonWinnebeck new ticket].
     58[/newticket?component=ShowPathPlugin new ticket].
    6659
    67 === Future Work ===
     60=== TODO
    6861
    69  * Minor issue: I need help on how to figure out where/how to put the documentation such that the web admin console can see descriptions on it.
     62I need help on how to figure out where/how to put the documentation such that the web admin console can see descriptions on it.
    7063
    71 == Download ==
     64[[TicketQuery(component=ShowPathPlugin&group=type,format=progress)]]
    7265
    73 Download the zipped source from [download:showpathplugin here].
     66== Download
    7467
    75 == Source ==
     68Download the zipped source from [export:showpathplugin here].
    7669
    77 You can check out ShowPathPlugin from [http://trac-hacks.org/svn/showpathplugin here] using Subversion, or [source:showpathplugin browse the source] with Trac.
     70== Source
    7871
    79 == Example ==
     72You can check out ShowPathPlugin from [/svn/showpathplugin here] using Subversion, or [source:showpathplugin browse the source] with Trac.
    8073
    81 Replaces the "Start Page" link in the Trac bar. If you are on this page, you would see[[BR]][wiki:WikiStart Start Page] / ShowPathPlugin[[BR]]instead. If you were in a a subpage like "!ShowPathPlugin/SubPage" you would see[[BR]][wiki:WikiStart Start Page] / [wiki:ShowPathPlugin ShowPathPlugin] / !SubPage.
     74== Installation
    8275
     76This plugin requires Trac 0.11 and Genshi 0.5. Current version released is 0.4, so Genshi trunk will be needed. I tested with r851 of Genshi trunk. Genshi 0.5 is needed for the Transformer API to replace the "Start Page" link on the context navigation bar.
    8377
    84 == Recent Changes ==
     78General instructions on installing Trac plugins can be found on the [TracPlugins#InstallingaTracplugin TracPlugins] page.
     79
     80== Example
     81
     82Replaces the "Start Page" link in the Trac bar.
     83
     84If you are on this page, you would see:
     85
     86[wiki:WikiStart Start Page] / ShowPathPlugin.
     87
     88If you were in a subpage like "!ShowPathPlugin/SubPage" you would see:
     89
     90[wiki:WikiStart Start Page] / [wiki:ShowPathPlugin ShowPathPlugin] / !SubPage.
     91
     92== Recent Changes
    8593
    8694[[ChangeLog(showpathplugin, 3)]]
     
    8997
    9098'''Author:''' [wiki:JasonWinnebeck] [[BR]]
     99'''Maintainer:''' [[Maintainer]] [[BR]]
    91100'''Contributors:'''