Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Social Groups Template Tokens in DNN6.2Social Groups Template Tokens in DNN6.2
Previous
 
Next
New Post
1/6/2013 6:05 PM
 

I had a similar issue, after digging through the code, the code in the default template is as follows:

<div class="GroupViewTop"> 
    <div class="dgdAvatar dnnLeft"><img src="[groupitem:PhotoURL]" alt="[groupitem:GroupName]" /></div> 
    <div class="GroupViewHeader"> 
        <h1>[groupitem:GroupName]</h1> 
        <p>[groupitem:GroupDescription]</p> 
    </div> 
<div class="dnnRight dnnClear"> 
[IsOwner] 
[GROUPEDITBUTTON]  
[/IsOwner] 
[IsMember] 
[IsNotOwner] 
 <a href="#" id="LeaveGroup-[groupitem:RoleId]">{resx:LeaveGroup}</a> 
[/IsNotOwner] 
[/IsMember] 
[IsNotMember] 
 <a href="#" id="JoinGroup-[groupitem:RoleId]" groupid="[groupitem:RoleId]" groupViewTabId ="[GroupViewTabId]">{resx:JoinGroup}</a> 
[/IsNotMember] 
[IsPendingMember] 
 <i>Membership Pending</i> 
[/IsPendingMember] 
</div> 
</div>

Scott McCulloch
Developer, F5 Networks
Owner, Ventrian DotNetNuke Modules
 
New Post
1/13/2013 11:56 PM
 

Awesome, thanks Scott!

 
New Post
1/14/2013 12:07 AM
 

I guess the default template changed in DNN7, here is the new one.

<div class="dgdGroupQuickInfoWrap dnnClear">
   <div class="dgdAvatar dnnLeft"><a href="[groupviewurl]"><img src="[groupitem:PhotoURL]" alt="[groupitem:GroupName]" /></a></div>
       <div class="dgdGroupQuickInfo dnnLeft">
           <h3><a href="[groupviewurl]" title="[groupitem:GroupName]">[groupitem:GroupName]</a></h3>
           <p>[groupitem:GroupDescription]</p>
            <ul>
               <li class="posts-icn">[groupitem:stat_status] {resx:posts}</li>
               <li class="member-icn">[groupitem:UserCount] {resx:members}</li>
               <li class="photo-icn">[groupitem:stat_photo] {resx:photos}</li>
               <li class="docs-icn">[groupitem:stat_file] {resx:documents}</li>
[IsNotMember]
               <li class="join-group-icn"><a href="#" title="" class="dnnTertiaryAction" id="groupJoin-[groupitem:RoleId]" groupid="[groupitem:RoleId]" groupViewTabId ="[GroupViewTabId]">{resx:Join}</a></li>
[/IsNotMember]
[IsPendingMember]
             <li class="join-group-icn"><a href="#" title="" class="dnnDisabled">{resx:Pending}</a></li>[/IsPendingMember]
           </ul>
    </div>
</div>
 
New Post
1/14/2013 1:38 AM
 
Thanks Brad for picking this up

Scott McCulloch
Developer, F5 Networks
Owner, Ventrian DotNetNuke Modules
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Social Groups Template Tokens in DNN6.2Social Groups Template Tokens in DNN6.2


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out