I'm trying to create 2 custom views. One for Friends and the other for Groups.
My intent is to remove the groups and friends tabs in the profile view and give the user a seperate page view of groups and friends that will allow the user to manage them. IE: removing friends and groups, sending messages, all on one page for each.
Problem with groups:
I created a custom view based on the groupslist.ascx template and binds won't work, so I've added tokens where I can. But I still can't get group description or the leave/join group control to work. I also tried adding:
< a class="CommandButton" onclick="asClient.Groups.Leave(this,' [ AS:GROUPINFO:GROUPID ]'); return false;" href="" >Leave Group< / a >
along with a few other things. Seems a lot of the tokens can't be used outside the groupview. I also tried using Will's code posted here: http://www.activemodules.com/Commun...fault.aspx
When I use [ AS:GROUPINFO:GROUPID ] I get "A call to Bind must be assigned to a property of a control inside a template."
And when using [ AS:LINK:JoinGroup ] I get only "view group"
If I use [ AS:CONTROL:JoinGroup ] in conjunction with [ AS:LINK:JoinGroup ] I get:
A critical error has occurred.
The ID 'ctlGroupAction' is already used by another control.
If I use [ AS:CONTROL:JoinGroup ] I get ehhh hhmm "Join Group".
I'm using: < active:groupslist id="ctlGroupsBox" filterbyuserid="[AS:SOCIALUSER:USERID]" grouptypeid="-1" runat="server" >
Any ideas anyone?