What happened to the most active, most viewed ... in CS 2.1?

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Posts 19
Points 255
Gabriel Lozano-Morán Posted: Wed, Aug 9 2006 5:42 PM

I have done several searches on the forum to see whether somebody already posted this but I couldn't find a post. In CS 2.0 when I went to the "Blogs" I could see on the right-hand side the "Most Active", "Most Viewed" ... blog posts. Since I have upgraded to CS 2.1 Beta 1, Beta 2 and RC1 these are gone.

 Any reason why and how can I get them back?

Top 10 Contributor
Posts 3,424
Points 65,735
CS Developers
Ben Tiedt replied on Thu, Aug 10 2006 10:04 AM

The old CS2.0 sidebars can be added by including the following in your web/themes/default/skins/blogs/skin-aggregatecolumn.ascx file:

<div class="CommonSidebarArea">
 <h4 class="CommonSidebarHeader">
  <CS:ResourceControl id="MostComments" runat="Server" ResourceName="MostComments" />
 </h4>
  <div class="CommonSidebarContent">
   <Blog:AggregatePostList PageSize=10 SortBy="MostComments" runat="Server" id="Aggregatepostlist1" PageOnPostBackOnly="true">
    <SkinTemplate>
     <Blog:AggregateList TitleTextLength=22 EnablePager=false id="Posts" runat="Server">
      <SkinTemplate>
       <CS:AjaxPager runat="Server" id="PostsPager" ShowFirstLastLinks="false">
        <asp:Repeater id="Posts" runat="Server" >
         <ItemTemplate>
          <div class="CommonSidebarContentItem">
           <asp:HyperLink Runat="server" id="TitleLink" />
          </div>
         </ItemTemplate>
        </asp:Repeater>
       </CS:AjaxPager>
      </SkinTemplate>
     </Blog:AggregateList>
    </SkinTemplate>
   </Blog:AggregatePostList>
  </div>
</div>

<div class="CommonSidebarArea">
 <h4 class="CommonSidebarHeader">
  <CS:ResourceControl id="MostViewed" runat="Server" ResourceName="MostViewed" />
 </h4>
  <div class="CommonSidebarContent">
   <Blog:AggregatePostList PageSize=10 SortBy="MostViewed" runat="Server" id="Aggregatepostlist2" PageOnPostBackOnly="true">
    <SkinTemplate>
     <Blog:AggregateList TitleTextLength=22 EnablePager=false id="Posts" runat="Server">
      <SkinTemplate>
       <CS:AjaxPager runat="Server" id="PostsPager" ShowFirstLastLinks="false">
        <asp:Repeater id="Posts" runat="Server" >
         <ItemTemplate>
          <div class="CommonSidebarContentItem">
           <asp:HyperLink Runat="server" id="TitleLink" />
          </div>
         </ItemTemplate>
        </asp:Repeater>
       </CS:AjaxPager>
      </SkinTemplate>
     </Blog:AggregateList>
    </SkinTemplate>
   </Blog:AggregatePostList>
  </div>
</div>

Ben Tiedt's Blog

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com