Crazy.Coder --- have more fun in coding

世界上唯有两样东西能使我们的心灵受到深深的震撼,一是我们头顶上璀灿的星空,另一个便是人们内心深处的道德法则。 -- 康德
Community Server 2.1 Tip

如果你和我一样,最近把一个基于著名的Community Server的site升级到了最新的2.1版,然后发现首页的新闻和谁在线都不见了,这个tip应该可以帮你解决这个问题。

Add below at /default.aspx

                <Blog:AggregatePostList runat="Server" PageSize=5 id="AggregateBlogPosts" EnablePaging="false" EnableTitle="false">
                    <SkinTemplate>
                        <h2 class="CommonTitle">
                            <asp:Literal runat="server" id="title" />
                        </h2>
                        <Blog:AggregateList id="Posts" runat="Server" EnableTitle="false"/>
                    </SkinTemplate>
                </Blog:AggregatePostList>
                <CS:WhoIsOnline runat="server" id="Whoisonline1"/>

before

             <CS:AdPart runat = "Server" contentname="StandardBottom" ID="Adpart2">
                <CS:Ads Zone="StandardBottom" runat="server" id="Ads3" />
            </CS:AdPart>

via:http://communityserver.org/forums/thread/539183.aspx

posted on 2006-10-18 17:37  CrazyCoder  阅读(1099)  评论(1编辑  收藏  举报