简体   繁体   English

DNN容器

[英]DNN Containers

This might be a general question, but I can't seem to figure it out. 这可能是一个普遍的问题,但我似乎无法弄明白。 What are containers in DNN? DNN中的容器是什么? Skins are essentially a layout plus a colour scheme for the whole portal. 皮肤本质上是一个布局加上整个门户的颜色方案。 So are containers the skin for desktopmodules? 桌面模块的皮肤容器也是如此?

Sorry if this question is novice. 对不起,如果这个问题是新手。 I am not confident in DNN yet, and am reading the doco. 我对DNN还没有信心,正在阅读doco。 However i need this answer quite quickly. 但是我很快就需要这个答案。

Cheers. 干杯。

Containers allow you to add style and markup to any module independently of the page skin or the particular module. 容器允许您独立于页面外观或特定模块向任何模块添加样式和标记。

The layout goes like this: 布局如下:

  1. Default.aspx Default.aspx的
  2. Skin (.ascx control, either the Portal default or selected on the given tab) - this has panels on it 外观(.ascx控件,Portal默认或在给定选项卡上选择) - 它上面有面板
  3. Container (.ascx control, this can allow you position some edit buttons and have a configurable wrapper around any module) 容器(.ascx控件,这可以让你定位一些编辑按钮,并在任何模块周围有一个可配置的包装器)
  4. Module (.ascx control, usually coming from /DesktopModules) 模块(.ascx控件,通常来自/ DesktopModules)

I hope this helps, -Eric 我希望这有帮助,-Eric

Yes, container is like a skin for single module. 是的,容器就像单个模块的皮肤。 Using one skin for entire page, and several skins (container skins) for modules you can quicker create expected appearance. 对整个页面使用一个皮肤,为模块使用多个皮肤(容器皮肤),可以更快地创建预期的外观。

In general this is a simple html snippet with several placeholders. 通常,这是一个包含多个占位符的简单html代码段。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM