| 41 | Mandatory, possitional parameters: |
| 42 | * Company name, Company Name to show in the widget. |
| 43 | Optional, named parameters: |
| 44 | * type, widget aspect choose from: |
| 45 | - noborder |
| 46 | - border |
| 47 | - popup |
| 48 | |
| 49 | === Profile === |
| 50 | |
| 51 | Macro to present and style a !LinkedIn profile url. The trac user must be loged in !LinkedIn and have cookies enabled. |
| 52 | |
| 53 | ==== Syntax ==== |
| 54 | {{{ |
| 55 | [[LinkedInProfile(profile url,type=type,name=name)]] |
| 56 | }}} |
| 57 | |
| 58 | Mandatory, possitional parameters: |
| 59 | * Company name, Company Name to show in the widget. |
| 60 | Optional, named parameters: |
| 61 | * type, widget aspect choose from: |
| 62 | - inline |
| 63 | - popup |
| 64 | * name: Name to present in popup mode |
| 65 | |
| 66 | If there's no type, popup is taken as default |
| 67 | |
| 68 | If there's no name, the profile url will be pressented. This only have effect in popup mode, because element rendered by the macro in this mode is a link. |
| 69 | |
| 70 | == Download & Install == |
| 71 | Get latest sources: |
| 72 | {{{ |
| 73 | svn export http://pubsvn.warp.es/trac-stuff/plugins/linkedinmacros |
| 74 | }}} |
| 75 | |
| 76 | `cd` to `linkedinmacros` directory and, |
| 77 | |
| 78 | For a per environment instalallation make an egg |
| 79 | {{{ |
| 80 | python setup.py bdist_egg |
| 81 | }}} |
| 82 | |
| 83 | and lay the cooked egg in your plugins directory or |
| 84 | |
| 85 | For a global installation: (note that this step may require administrative privilegies) |
| 86 | {{{ |
| 87 | python setup.py install |
| 88 | }}} |
| 89 | |
| 90 | and enable it by the trac !WebAdmin interface or by manually adding to trac.ini: |
| 91 | {{{ |
| 92 | [components] |
| 93 | linkedinmacro.* = enabled |
| 94 | }}} |