Changes between Version 8 and Version 9 of MyPagePlugin
- Timestamp:
- Oct 11, 2016, 7:16:12 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
MyPagePlugin
v8 v9 5 5 == Description 6 6 7 This plugin for Trac 1.0 enables some convenient facilities for maintaining a "personal journal" in a sub-hierarchy of the TracWiki. 7 This plugin enables some convenient facilities for maintaining a "personal journal" in a sub-hierarchy of the TracWiki. It is written for Trac 1.0. 8 9 This an example of a "!MyPage", showing the embedding of the content of the previous page, itself still embedding part of its previous page: 10 11 [[Image(MyPage.png, border=2)]] 12 13 The page `PageTemplates/MyPage` would typically contain something like this: 14 15 {{{ 16 = $MYPAGE_USER: $MYPAGE_DATE ($MYPAGE_ISODATE) 17 18 == New Today 19 20 == Continuing... 21 22 $MYPAGE_LAST_PAGE_QUOTED 23 24 {{{#!div class=important 25 //(remove this section in your own [[wiki:/PageTemplates/MyPage/$MYPAGE_USER]] page)// 26 27 [[MyPageHelp]] 28 }}} 29 30 }}} 31 32 Use this as a starting point when creating your //own// template, i.e. `PageTemplates/MyPage/<user>`. 8 33 9 34 For now, the plugin is hosted on GitHub (https://github.com/cboos/trac-mypage-plugin), until trac-hacks supports Git. … … 71 96 You can check out MyPagePlugin from [https://github.com/cboos/trac-mypage-plugin.git here] using Git, or [https://github.com/cboos/trac-mypage-plugin browse the source] with GitHub. 72 97 73 == Example74 75 One of my early "!MyPage", showing the embedding of the content of the previous page, itself still embedding part of its previous page:76 77 [[Image(MyPage.png)]]78 79 The page `PageTemplates/MyPage` would typically contain something like this:80 81 {{{82 = $MYPAGE_USER: $MYPAGE_DATE ($MYPAGE_ISODATE)83 84 == New Today85 86 == Continuing...87 88 $MYPAGE_LAST_PAGE_QUOTED89 90 {{{#!div class=important91 //(remove this section in your own [[wiki:/PageTemplates/MyPage/$MYPAGE_USER]] page)//92 93 [[MyPageHelp]]94 }}}95 96 }}}97 98 Use this as a starting point when creating your //own// template, i.e. `PageTemplates/MyPage/<user>`.99 100 98 == Author/Contributors 101 99