Changes between Version 10 and Version 11 of ShowPathPlugin
- Timestamp:
- Oct 30, 2017, 9:45:40 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ShowPathPlugin
v10 v11 14 14 15 15 where all are links except for the current, GrandchildPage. 16 17 As an example, if you are on this page, you would see: 18 19 [wiki:WikiStart Start Page] / ShowPathPlugin. 20 21 If you were in a subpage like "!ShowPathPlugin/SubPage" you would see: 22 23 [wiki:WikiStart Start Page] / [wiki:ShowPathPlugin ShowPathPlugin] / !SubPage. 16 24 17 25 A 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. … … 66 74 The default is a forward slash (/); note that no matter what character is specified, it will always be rendered with a single space on either side. If you specify a string of more than one character, only the first non-whitespace character will be used. 67 75 68 == Example69 70 Replaces the "Start Page" link in the Trac bar.71 72 If you are on this page, you would see:73 74 [wiki:WikiStart Start Page] / ShowPathPlugin.75 76 If you were in a subpage like "!ShowPathPlugin/SubPage" you would see:77 78 [wiki:WikiStart Start Page] / [wiki:ShowPathPlugin ShowPathPlugin] / !SubPage.79 80 76 == Recent Changes 81 77