DNN Containers

有些话、适合烂在心里 提交于 2020-01-01 09:35:08

问题


This might be a general question, but I can't seem to figure it out. What are containers in 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. However i need this answer quite quickly.

Cheers.


回答1:


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
  2. Skin (.ascx control, either the Portal default or selected on the given tab) - this has panels on it
  3. Container (.ascx control, this can allow you position some edit buttons and have a configurable wrapper around any module)
  4. Module (.ascx control, usually coming from /DesktopModules)

I hope this helps, -Eric




回答2:


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.



来源:https://stackoverflow.com/questions/1042187/dnn-containers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!