DotNetNuke 5 User's Guide Get Your Website Up and Running读书摘录4

简介:

Host Skin

The Host Skin option allows you to choose the primary skin that a DNN instance will use. By choosing either the Host or Site radio button, you will populate the drop-down list with skins. Skins at the host level are available to all websites within a DNN instance, whereas skins installed at the site level will be available only for the individual portal. We will look at skin installation in Chapter 4. For now, you won’t have any skins installed other than the four skins provided by default from the DNN installation (see Figure 3-15). The Preview link next to the drop-down list will take you to a page previewing the skin selected in the dropdown list. A quick tip regarding the preview mode; this does not save your changes. You still need to change your settings by clicking on Update at the bottom of the Host Settings page to save the skin change, or any other changes you’ve made to the page.

 

SEO – Search Engine Optimization

Throughout the book, we will mention the term ‘‘search engine optimization,’’ otherwise known as SEO. SEO is the theory and process of optimizing the content of your web pages and website for better indexing by the various search engines, such as Google, Microsoft’s Live Search, and Yahoo! This is done to try to make your pages show up higher in the search result listings, thus driving more traffic to your site. SEO is an art of its own, but we will try to point out elements within DNN that can assist you with better optimizing your website for the search engines.

 

Portal Skin

The Portal Skin setting defines the default skin that your portal will use. Defining the default portal skin is an important part of the configuration process, as this is the skin that will be used on all pages of your website that don’t have their own skin defined in the Page Settings. (Page Settings are discussed later in this chapter.) You should choose the most common skin that pages on your site should use. This will allow you to save on the amount of work necessary because you won’t have to configure most pages on your site manually, only the skin settings for pages that don’t use the portal skin.

 

Portal Container

The Portal Container setting defines the default container that the modules on your portal will use.

This setting will apply to all modules on your site, although you can override this setting in a couple of places. On individual pages, in the Page Settings, you can set a default container for the page; this would override the default container from the Site Settings. For individual modules on a page, you can also override the container in the Module Settings. We will cover Module Settings later in this chapter.

 

Edit Skin

The Edit Skin setting is definitely one of the most misunderstood options in DNN. In previous versions of DNN, this setting was called the Admin Skin. Although the name has changed, the functionality provided is still the same. To understand this, first consider how DNN handles and loads modules. In most cases, DNN will load multiple modules on a page, either into a single pane or into multiple panes. Every module has a View control, the default interface that users will see when they load a page that has the module on it. Most modules will also have a Settings control, in which you can configure the settings for the module, as well as an Edit control, in which you can interact with the content/functionality that the module provides. When you edit the module or go to the settings for a module, DNN will load only that particular control on the page. You will notice when you do this that all the other modules that were on the page go away. You can tell when your DNN site is loading an individual control by looking at the URL of the page; you will likely see ‘‘CTL’’ in the URL. For example, in the default configuration, DNN will load the Login

control using this functionality when you click on the Login link on your page. When we are on our home page, if we click on the Login link, we get a URL of the following format:

http://dnnbook/Home/tabid/38/ctl/Login/Default.aspx

Notice the /ctl/login/ section of the URL. This is a query string parameter telling DotNetNuke to load the Login control. You will notice similar functionality if you click on the Register link from your home page; DNN will load the Register controls.

http://dnnbook/Home/tabid/38/ctl/Register/Default.aspx

The edit and settings functionality for modules, along with the login and register controls, are loaded in the Edit skin, defined with the Edit Skin setting. In many cases, having the Edit Skin and the Portal Skin be the same is perfectly acceptable, although in other cases you might find that you want a cleaner, more concise (less graphics, panes, etc.) skin when you are editing or changing the settings for a module. You will also see this Edit Skin when you add/edit pages within DNN later in this chapter.

 

Edit Container

The edit container, like the edit skin, is used in the case where DNN is loading only a particular control. In most cases, this is only something administrators will see; however, as we’ve pointed out with the Login and Register links, it is possible that other users will see this container as well.

 

 logo的目录

Appearance中的logo是存放在E:/webroot/DnnDemo/Portals/0文件夹下面的,即使我们上传本地文件作为网站的logo,它也会先将文件复制到E:/webroot/DnnDemo/Portals/0下载作为logo

 

Home Directory

The Home Directory option is not a setting you can configure after the creation of a DNN portal, but it is something you can change during the portal-creation process. For your purposes, the Home Directory setting tells you where the files for this individual portal exist, from the root of your DotNetNuke folder. In Chapter 2, we created our DNN site in this directory:

c:/inetpub/wwwroot/DotNetNuke/

The Home Directory shows our portal’s directory is in Portals/0/, which equates to the local web server path of: C:/inetpub/wwwroot/DotNetNuke/Portals/0/





本文转自xwdreamer博客园博客,原文链接:http://www.cnblogs.com/xwdreamer/archive/2009/12/26/2297189.html,如需转载请自行联系原作者


目录
相关文章
|
Python
秩和比综合评价法(RSR)详解及Python实现和应用
秩和比综合评价法(RSR)详解及Python实现和应用
1839 0
秩和比综合评价法(RSR)详解及Python实现和应用
|
边缘计算 人工智能 运维
阿里云IoT崮德:设备网联智能化,数字化转型更简单
10月22日,2021杭州云栖大会-AIoT原生技术与实践峰会上,阿里云智能设备平台研发部负责人胡俊锋分享了阿里云在物联网原生技术方面的思考和举措,并就阿里云IoT推出的Cloud AIoT Native技术架构进行全面解读。
514 17
阿里云IoT崮德:设备网联智能化,数字化转型更简单
|
资源调度
如何科学地预估工时?
PERT(Program Evaluation and Review Technique)即计划评审技术,最早是由美国海军在计划和控制北极星导弹的研制时发展起来的。PERT技术使原先估计的、研制北极星潜艇的时间缩短了两年。
如何科学地预估工时?
|
弹性计算
阿里云服务器带宽价格收费标准(按固定带宽/使用流量)
阿里云服务器带宽计费模式选择按固定带宽计费,带宽值选择1M,那么需要按照23元/M/月的价格支付带宽费,带宽价格是根据带宽值阶梯收费的,如果带宽值选择6M,其中5M按照23元/月的单价计算,多出来的1M按照80元/月的单价支付
2921 0
阿里云服务器带宽价格收费标准(按固定带宽/使用流量)
|
网络协议 网络安全 数据安全/隐私保护
vos3000常见的网络问题怎样解决
vos3000常见的网络问题怎样解决
|
安全 Java
两张图带你看清 ConcurrentHashMap 1.7和1.8的不同
ConcurrentHashMap 包 可以看到这个 ConcurrentHashMap 是位于并发包下面的, 这可是大名鼎鼎的 JUC 呀 并发涉及到线程安全呀,锁的知识点,还有诸如关键字 volatile 等 有关内存屏障的东西 , 还有 Unsafe 类这个更底层的! 😄 嘿嘿~ 我们知道这个 HashMap 是线程不安全的~ ,而 线程安全的 Map 就有这个 HashTable 还有这个 ConcurrentHashMap 。 看到这里不知道小伙伴们会不会 有个小小的疑惑 ? (・∀・(・∀・(・∀・*) 为啥有了 HashTable 还要再设计这个 Concurre
393 0
|
编解码 算法 编译器
计算机图形学直线段的生成算法
计算机图形学直线段的生成算法
计算机图形学直线段的生成算法
|
弹性计算 运维 数据可视化
阿里云虚拟主机、轻量应用服务器、云服务器、模板建站有和区别?如何选择?
云虚拟主机、轻量应用服务器、云服务器、模板建站都可用来建站,本文介绍他们之间的区别及选择建议。
600 0
阿里云虚拟主机、轻量应用服务器、云服务器、模板建站有和区别?如何选择?
|
机器学习/深度学习 数据采集 存储
对离散特征进行数据预处理:独热编码、标签编码及二值化
使用机器学习时,会存在不同的特征类型:连续型特征和离散型特征。 针对连续性特征,我们通常将其线性缩放到[-1, 1]区间或者缩放到均值为0,方差为1的范围。 但是,特征并不总是连续值,而有可能是分类值、离散值。因此,我们也需要对离散值进行特征编码数据预处理。
|
人工智能 Oracle 大数据
31%和187%,神州数码找到云转型路径
31%和187%,神州数码找到云转型路径
415 0
31%和187%,神州数码找到云转型路径