admin posted on March 25, 2009 19:24
Following the excellent screencast from swebster I have been trying out integrating various 3rd party modules with Active Social Profile View.
The BizModules UMG & UVG are pretty straight forward as they have satellite modules designed to display user’s records and you can specify the querystring parameter quite easily.
Similarly, Ventrian’s NA Latest Articles satellite module is easy to implement, however I could see that I was rapidly running out of room for tabs on my ProfileView.
This site has 3 separate instances of NA, so I decided to place all 3 on 1 tab. (see below)
To do this simply use a table for layout and repeat the AM:moduleloader in your tab definition.
1: [AM:CONTROLS:TAB:Articles]
2: <table width="90%">
3: <tr>
4: <td style="text-align: center" width="30%" >Articles</td>
5: <td style="text-align: center" width="30%" >Recipes</td>
6: <td style="text-align: center" width="30%" >Tips</td>
7: </tr>
8: <tr>
9: <td width="30%" class="amtabcontent" style="vertical-align: top; text-align: left">
10: <active:moduleloader id="ctlCustomArticles" TID="493" MID="1121" runat="server" />
11: </td>
12: <td width="30%" class="amtabcontent" style="vertical-align: top; text-align: left">
13: <active:moduleloader id="ctlCustomRecipes" TID="493" MID="1122" runat="server" />
14:
15: </td>
16: <td width="30%" class="amtabcontent" style="vertical-align: top; text-align: left">
17: <active:moduleloader id="ctlCustomTips" TID="493" MID="1123" runat="server" />
18: </td>
19: </tr>
20: </table>
21: [/AM:CONTROLS:TAB:Articles]
22:
I have also integrated an XMod module showing a custom app for Reviews, XMod has the ability to filter a list template from a querystring parameter. I simply configure this instance to filter on the asuid parameter against the CreatedBy userid on the record.
I came across a very interesting post in the BizModule’s UMG forums from Mark Hollas; he has basically created his own custom queries and templates using Tressleworks’ SQLGridSelectedView module.
His examples are for the 5.3 version which has to be purchased, for the free 4.1 version a very slight syntax change needs to be made in the templates. (see BizModules forum for details).
He has also targeted Smart-Thinker’s OpenSocial modules, it was quite simple to modify the sql to use Active Social and produce a tab showing the latest photo’s from your friends.
Once I have tweaked these a little more I will post the Active Social versions.