国内使用 Community Server 的朋友交流的地方

CS Tip 23: 在您的Blog首页显示摘要

打开您的CommunityServer目录下的 Blogs/foo/Views/View-Home.ascx 文件并在<Blog:EntryListContainer/>标签中添加 DisplayExcerpts="true"后变成这样:

<Blog:EntryListContainer id="r" runat="Server" EnablePaging = "true" DisplayExcerpts = "true" />

DisplayExcerpts 属性包含在 EntryList class, 他将显示excerpt,默认最多显示250个字符.


发表于 Dec 10 2007, 11:20 AM 作者 roger
标签:
©2008 communityserver.cn