| 1 | = Trac Blog Parts Macro = |
| 2 | |
| 3 | == Description == |
| 4 | |
| 5 | Macro and web admin page to use blog parts in Trac. |
| 6 | |
| 7 | We cannot write the script tag and the object tag to wiki of Trac 0.11. As a result, we cannot use the blog parts. |
| 8 | |
| 9 | This plug-in made us enable to use blog parts as a macro by registering it on the admin page. |
| 10 | |
| 11 | |
| 12 | |
| 13 | == Bugs/Feature Requests == |
| 14 | |
| 15 | Existing bugs and feature requests for BlogPartsMacro are |
| 16 | [report:9?COMPONENT=BlogPartsMacro here]. |
| 17 | |
| 18 | If you have any issues, create a |
| 19 | [http://trac-hacks.org/newticket?component=BlogPartsMacro&owner=hirobe new ticket]. |
| 20 | |
| 21 | == Download == |
| 22 | |
| 23 | Download the zipped source from [download:blogpartsmacro here]. |
| 24 | |
| 25 | == Source == |
| 26 | |
| 27 | You can check out BlogPartsMacro from [http://trac-hacks.org/svn/blogpartsmacro here] using Subversion, or [source:blogpartsmacro browse the source] with Trac. |
| 28 | |
| 29 | == Example == |
| 30 | |
| 31 | At first, you need to upgrade trac env. |
| 32 | |
| 33 | === Register the blog parts === |
| 34 | Register the blog parts at !BlogParts in Web Admin page. |
| 35 | Name :: |
| 36 | Name of the blog parts |
| 37 | Description :: |
| 38 | Description of the blog parts and usege of macro. |
| 39 | Body HTML :: |
| 40 | HTML of the blog parts. you can use variant %arg_n%(n is integer start from 1) |
| 41 | |
| 42 | === Macro usage === |
| 43 | {{{ |
| 44 | [[BlogParts(Name of blog parts,args)]] |
| 45 | }}} |
| 46 | |
| 47 | |
| 48 | == Recent Changes == |
| 49 | |
| 50 | [[ChangeLog(blogpartsmacro, 3)]] |
| 51 | |
| 52 | == Author/Contributors == |
| 53 | |
| 54 | '''Author:''' [wiki:hirobe] [[BR]] |
| 55 | '''Contributors:''' |