Community   »   Forums   »   Active Social   »   How to Customize Active Social   »   Custom View Examples
Custom View Examples
Last Post 26 Jun 2010 07:27 PM by Will Morgenweck. 5 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
Topic is locked
Author Messages
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6441





--
17 Jan 2010 05:43 PM  
<active:groupslist runat="server" TemplateName="Other/NewGroups" GroupTypeId="-1" />


Will Morgenweck
Active Modules
BenUser is Offline
Active Modules Staff
Ben

Post Count:544





--
19 Feb 2010 09:56 AM  
Mini Login from ActiveSocial.com code attached.







MiniLogin.txt

Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6441





--
19 Feb 2010 02:08 PM  
Categories List

<h2>Categories</h2>
<div class="catlist">
[AS:CONTROL:CATEGORIES:1]
</div>


Will Morgenweck
Active Modules
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6441





--
25 Feb 2010 04:29 PM  
Who's Online

<div style="white-space: nowrap;"><h2>Who's Online Now</h2></div>
<active:memberslist o nlineOnly="True"  runat="server" PagingEnabled="False" PageSize="12" >
<customtemplate>
[AS:CONTROL:LIST]
    [AS:CONTROL:LIST:HEADER][/AS:CONTROL:LIST:HEADER]
    [AS:CONTROL:LIST:ITEM]
         <div class="aslistrow aslistrowitem">
                 <table style="border-collapse: collapse;" width="100%" cellpadding="0" cellspacing="0">
                        <tbody><tr>
                            <td valign="top">
                                <div style="width: 30px; text-align: center;">
                                    <a href="[AS:PROFILE:USERURL]">
                                        <img src="[AS:HANDLER:PROFILEPIC]?PortalId=[AS:PORTALSETTINGS:PORTALID]&amp;uid=[AS:PROFILE:USERID]&amp;h=24&amp;w=24" title="[AS:PROFILE:DISPLAYNAME]" border="0">
                                    </a>
                               </div>
                            </td>
                            <td valign="top" width="100%">
                            [AS:DISPLAYTEMPLATE]
                                <div><a href="[AS:PROFILE:USERURL]">[AS:PROFILE:DISPLAYNAME]</a></div>
                                
                                [/AS:DISPLAYTEMPLATE]
                            </td>
                        </tr>
                        
                    </tbody></table>
                    
                   </div>
    [/AS:CONTROL:LIST:ITEM]
    [AS:CONTROL:LIST:ALTITEM]
             <div class="aslistrowalt aslistrowitem">
                  <table style="border-collapse: collapse;" width="100%" cellpadding="0" cellspacing="0">
                        <tbody><tr>
                            <td valign="top"><div style="width: 30px; text-align: center;"><a href="[AS:PROFILE:USERURL]"><img src="[AS:HANDLER:PROFILEPIC]?PortalId=[AS:PORTALSETTINGS:PORTALID]&amp;uid=[AS:PROFILE:USERID]&amp;h=24&amp;w=24" title="[AS:PROFILE:DISPLAYNAME]" border="0"></a></div></td>
                            <td valign="top" width="100%">
                            [AS:DISPLAYTEMPLATE]
                                <div><a href="[AS:PROFILE:USERURL]">[AS:PROFILE:DISPLAYNAME]</a></div>
                               
                             [/AS:DISPLAYTEMPLATE]
                            </td>
                        </tr>
                       
                    </tbody></table>
                    
                   </div>
    [/AS:CONTROL:LIST:ALTITEM]
    [AS:CONTROL:LIST:FOOTER][/AS:CONTROL:LIST:FOOTER]
    [AS:CONTROL:LIST:NORESULTS]No Members Found[/AS:CONTROL:LIST:NORESULTS]
    
    
[/AS:CONTROL:LIST]
</customtemplate>
</active:memberslist>



Will Morgenweck
Active Modules
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6441





--
25 Mar 2010 02:03 PM  
Gallery Images List
This is the custom view that we use to display screenshots on our site.
http://www.activemodules.com/Produc...shots.aspx



<active:gallery id="ctlAlbums" DefaultView="asimages" AlbumId="4" AccessControl="4" runat="server">
<customtemplate>
<active:callback id="cbGalleryView" runat="server" OnCallBackComplete="asClient.Gallery.LoadComplete">
    <content>
        <asp:PlaceHolder ID="plhGalleryView" runat="server" />
    </content>
</active:callback>
<asp:Literal ID="litScripts" runat="server" />
<input type="hidden" id="hidToolsLoad" value="" />
</customtemplate>
<albumimagestemplate>
<asp:DataList ID="dlstImageList" cssclass="amalbumgrid" RepeatColumns="4" RepeatDirection="Horizontal" ItemStyle-CssClass="asimage" ItemStyle-Width="[MAXWIDTHMD]px" runat="server" EnableViewState="False"> 
        <ItemTemplate>
            <div><a href="[AS:IMAGEINFO:SRC:4]" class="highslide" onclick="return hs.expand(this);" >
<img src="[AS:IMAGEINFO:SRC:2]" />
</a></div><span>[AS:IMAGEINFO:DESCRIPTION]</span>
        </ItemTemplate>
    </asp:DataList>
</albumimagestemplate>
</active:gallery>


Will Morgenweck
Active Modules
Will MorgenweckUser is Offline
Forum Admin
Active Modules Staff
Will Morgenweck

Post Count:6441





--
26 Jun 2010 07:27 PM  
Active Social/Active Forums Users Online with pop-up.
Requires Active Social 1.7 or higher

<div class="afgrouprow">
<div class="afcontrolheader" style="padding-top:8px;padding-left:6px;">Who is online:</div>
</div>
<div class="aslistflat asclear">
<active:memberslist id="ctlMembersList" OnlineOnly="True" SortColumn="0" SortDirection="ASC"  runat="server" LayoutMode="1" PagingEnabled="False" PageSize="500" >
<customtemplate>
[AS:CONTROL:LIST]
    [AS:CONTROL:LIST:HEADER]<ul>[/AS:CONTROL:LIST:HEADER]
    [AS:CONTROL:LIST:ITEM]
    <li class="asroundall" style="height:24px;padding:2px;margin-bottom:2px;margin-left:2px;border:solid 1px #cdcdcd;background-color:#f5f5f5;"  onmouseover="amas_quickcard.show(this,[AS:PROFILE:USERID]);">
        <a href="[AS:PROFILE:USERURL]" style="text-decoration:none;">
<span style="float:left;display:block;background-position:center center;background-repeat:no-repeat;background-image:url([AS:HANDLER:PROFILEPIC]?PortalId=[AS:PORTALSETTINGS:PORTALID]&amp;uid=[AS:PROFILE:USERID]&amp;h=24&amp;w=24);width:24px;height:24px;">
            <img border="0" src="/desktopmodules/activesocial/images/24x24overlay.png" title="[AS:PROFILE:DISPLAYNAME]" />
</span><span style="line-height:24px;">
            [AS:PROFILE:DISPLAYNAME]</span>
        </a>
    </li>
    [/AS:CONTROL:LIST:ITEM]
    [AS:CONTROL:LIST:ALTITEM]
<li class="asroundall" style="height:24px;padding:2px;margin-bottom:2px;margin-left:2px;border:solid 1px #cdcdcd;background-color:#f5f5f5;" onmouseover="amas_quickcard.show(this,[AS:PROFILE:USERID]);">
        <a href="[AS:PROFILE:USERURL]" style="text-decoration:none;">
<span style="float:left;display:block;background-position:center center;background-repeat:no-repeat;background-image:url([AS:HANDLER:PROFILEPIC]?PortalId=[AS:PORTALSETTINGS:PORTALID]&amp;uid=[AS:PROFILE:USERID]&amp;h=24&amp;w=24);width:24px;height:24px;">
            <img border="0" src="/desktopmodules/activesocial/images/24x24overlay.png" title="[AS:PROFILE:DISPLAYNAME]" />
</span><span style="line-height:24px;">
            [AS:PROFILE:DISPLAYNAME]</span>
        </a>
    </li>
    [/AS:CONTROL:LIST:ALTITEM]
    [AS:CONTROL:LIST:FOOTER]</ul>[/AS:CONTROL:LIST:FOOTER]
    [AS:CONTROL:LIST:NORESULTS]No Members Found[/AS:CONTROL:LIST:NORESULTS]
[/AS:CONTROL:LIST]
</customtemplate>
</active:memberslist>
</div>


Will Morgenweck
Active Modules
Topic is locked

Active Forums 4.2
Active Modules