Changes between Version 8 and Version 9 of MyPagePlugin


Ignore:
Timestamp:
Oct 11, 2016, 7:16:12 AM (7 years ago)
Author:
figaro
Comment:

Moved example to functional description

Legend:

Unmodified
Added
Removed
Modified
  • MyPagePlugin

    v8 v9  
    55== Description
    66
    7 This plugin for Trac 1.0 enables some convenient facilities for maintaining a "personal journal" in a sub-hierarchy of the TracWiki.
     7This 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
     9This 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
     13The 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
     32Use this as a starting point when creating your //own// template, i.e. `PageTemplates/MyPage/<user>`.
    833
    934For now, the plugin is hosted on GitHub (https://github.com/cboos/trac-mypage-plugin), until trac-hacks supports Git.
     
    7196You 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.
    7297
    73 == Example
    74 
    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 Today
    85 
    86 == Continuing...
    87 
    88 $MYPAGE_LAST_PAGE_QUOTED
    89 
    90 {{{#!div class=important
    91 //(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 
    10098== Author/Contributors
    10199