| 1 | [[PageOutline(2-5,Contents,pullout)]] |
| 2 | |
| 3 | = Ohloh Widgets Macro = |
| 4 | |
| 5 | == Description == |
| 6 | |
| 7 | [http://www.ohloh.net Ohloh] has some nice [https://www.ohloh.net/p/ohloh_widgets_macro/widgets widgets] which you can put on your site to show some statistics about your project. This software is about a [trac: trac] macro to make embedding these widgets in your trac wiki easy and does not force you to lower trac's security settings. |
| 8 | |
| 9 | Also this macro has a special API so you can modify any Ohloh widget so it blends in better with your layout. |
| 10 | |
| 11 | == Bugs/Feature Requests == |
| 12 | |
| 13 | Existing bugs and feature requests for OhlohWidgetsMacroPlugin are |
| 14 | [report:9?COMPONENT=OhlohWidgetsMacroPlugin here]. |
| 15 | |
| 16 | If you have any issues, create a |
| 17 | [http://trac-hacks.org/newticket?component=OhlohWidgetsMacroPlugin&owner=felix_schwarz new ticket]. |
| 18 | |
| 19 | == Download == |
| 20 | |
| 21 | Download the zipped source from [download:ohlohwidgetsmacroplugin here]. |
| 22 | |
| 23 | == Source == |
| 24 | |
| 25 | You can check out OhlohWidgetsMacroPlugin from [http://trac-hacks.org/svn/ohlohwidgetsmacroplugin here] using Subversion, or [source:ohlohwidgetsmacroplugin browse the source] with Trac. |
| 26 | |
| 27 | == Example == |
| 28 | |
| 29 | Display a single widget by specifying your project id and the widget name (the Javascript file name without the '.js' suffix): |
| 30 | {{{ |
| 31 | [[OhlohWidget(483602, project_basic_stats)]] |
| 32 | }}} |
| 33 | |
| 34 | Also you can display a group of widgets together: |
| 35 | {{{ |
| 36 | [[OhlohWidgetGroup(483602, project_basic_stats, project_factoids, project_users?style=green)]] |
| 37 | }}} |
| 38 | This has the advantage that all widgets are grouped in a div so you can style it easily. |
| 39 | |
| 40 | == Recent Changes == |
| 41 | |
| 42 | [[ChangeLog(ohlohwidgetsmacroplugin, 3)]] |
| 43 | |
| 44 | == Author/Contributors == |
| 45 | |
| 46 | '''Author:''' [wiki:felix_schwarz] [[BR]] |
| 47 | '''Maintainer:''' [wiki:felix_schwarz] [[BR]] |
| 48 | '''Contributors:''' |