一步一步建网-2-DotNetNuke4-4-页面增加/删除/设置

Posted on 2006-03-01 12:30 BenL 阅读(...) 评论(...) 编辑 收藏

DotNetNuke4

 

4. 页面增加/删除/设置

 

上一节中⑨(重点研究)

 

 

4-1. 基本方法

 

先在3-2节中第二项增加页面,这些页面可以在顶部Page Functions增加相应页面,看看效果。

 

4-1-1. Module Definitions测试/研究:修改Account Login,在Edit Module Definitions下,Friendly NameDescription修改作为模块的内部显示名称和描述。

 

4-1-2. 默认两个页面为HomeSearch ResultsHidden属性)。

隐藏Home原页:Admin-PagesPage Management(Home),设置(PermissionsHiddenHidden)。

注意:当site无任何页面显示时,skin/container返回默认值。

 

 

4-2. DNN4默认内置module:

 

模块名称

介绍

使用经验/心得

[皮肤对象]

皮肤对象是用来给用户提供自由定义的控件

最内置module,即管理页面下最上边的一栏

Account Login

Allows users to login to the portal.

用户登陆。

注意:Account Login这个模板可能有BUG,因为在Control里,原Source:为Admin/Security/Signin.ascx,但修改时无此项,当使用Update后会变成其它项,以后增加此页面就会出错。晕!(应该是模块Control注册问题,待研究。)

Announcements

This module renders a list of announcements. Each announcement includes title, text and a "read more" link, and can be set to automatically expire after a particular date.

公告。

Banners

Banner advertising is managed through the Vendors module in the Admin tab. You can select the number of banners to display as well as the banner type.

广告。

Contacts

This module renders contact information for a group of people, for example a project team. Contacts includes an edit page, which allows authorized users to edit the Contacts data stored in the database.

在线联系资料。

Discussions

This module renders a group of message threads on a specific topic. Discussion includes a Read/Reply Message page, which allows authorized users to reply to exising messages or add a new message thread. The data for Discussion is stored in the SQL database.

留言,讨论。

注意:Security Roles定义不完整,使用户留言能相互修改。屏蔽edit项?

Documents

This module renders a list of documents, including links to browse or download the document. Documents includes an edit page, which allows authorized users to edit the information about the Documents (for example, a friendly title) stored in the SQL database.

下载。

相当简单文档(下载资源)管理。

Events

This module renders a list of upcoming events, including time and location. Individual events can be set to automatically expire from the list after a particular date. Events includes an edit page, which allows authorized users to edit the Events data stored in the SQL database.

博客。

有点似。

FAQs

FAQs allow you to manage a list of Frequently Asked Questions and their corresponding Answers.

 

Feedback

Feedback allows visitors to send messages to the Administrator of the portal.

联系站长,email。

IFrame

IFrame is an Internet Explorer browser feature which allows you to display content from another website within a frame on your site.

有待研究。

Image

This module renders an image using an HTML IMG tag. The module simply sets the IMG tags src attribute to a relative or absolute URL, so the image file does not need to reside within the portal. The module also exposes height and width attributes, which permits you to scale the image. Image includes an edit page, which persists these settings to the portals configuration file.

 

Links

This module renders a list of hyperlinks. Links includes an edit page, which allows authorized users to edit the Links data stored in the SQL database.

 

News Feeds (RSS)

News Feed allows you to consume syndicated news feeds in Rich Site Summary (RSS) format.

 

Search Input

The Search Input module provides the ability to submit a search to a given search results module.

搜索。

主站页面顶已经提供。

Search Results

The Search Reasults module provides the ability to display search results.

搜索结果。

安装自带二之二,默认Hidden属性。

Survey

Survey allows you to create custom surveys to obtain public feedback

调查/投票。

还可以。增加后如果再修改,会出现问题。

Text/HTML

This module renders a snippet of HTML or text. The Html/Text module includes an edit page, which allows authorized users to the HTML or text snippets directly. The snippets are stored in the SQL database.

普通页面。

安装自带二之一,Home。

User Account

Allows users to register and manage their account.

用户资料。

User Defined Table

User Defined Table allows you to create a custom data table for managing tabular information.

用户制作数据表。

UsersOnline

Users Online allows you to see who is online in your portal, and see membership counts

显示用户在线情况。

XML/XSL

This module renders the result of an XML/XSL transform. The XML and XSL files are identified by their UNC paths in the xmlsrc and xslsrc properties of the module. The Xml/Xsl module includes an edit page, which persists these settings to the SQL database.

 

 

 

4-3. 安装新Module

上一节中⑩

 

 

4-3-1. Forum

 

4-3-1-1. 测试/下载:Forum_03.20.01_Install.zip

 

4-3-1-2. 安装:Host登陆,Host-Module-Definitions-Upload-New Module-Add-,Upload New File

 

4-3-1-3. 试用感:基本架构的BBS;但毕竟是国外的,管理/控制上有点不一样,功能弱,且要增加中文资源包;需要进行二次开发。