博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

*.dnn文件标记注释

Posted on 2006-01-06 10:42  快乐家++  阅读(440)  评论(0编辑  收藏  举报

以前“二十四画生”写过 《如何写dnn文件》 一文, 但发现里面有几处不对的地方。
昨晚认真分析、比较后写下注释,可给DNN新手们查阅。



<!--

本文档在DotNetNuke3.1.0 和 DotNetNuke3.2.2 下测试通过。

-->


<dotnetnuke version="3.0" type="Module">
  
<folders>
    
<folder>
    
      
<!--未知,(目前不知有什么用,但不能少了这项)-->
      
<name>LC_News_install</name>
      
<!--友好名称(Friendly Name)-->
      
<friendlyname>老名新闻系统</friendlyname>
      
<!--文件夹名称(Folder Name)-->
      
<foldername>LC_News_install</foldername>
      
<!--模块名称(Module Name)-->
      
<modulename>LC_News</modulename>
      
<!--模块描述(Description)-->
      
<description>这里是老名的第一个模块</description>
      
<!--版本号(Version)-->
      
<version>01.00.14</version>
      
<!--业务逻辑类(Controller Class)-->
      
<businesscontrollerclass>LC.DNN.Modules.News.Business.Controller, LC.DNNPortal.News</businesscontrollerclass>      
      
<!--资源文件路径-->
      
<resourcefile>Resources.zip</resourcefile>
      
<modules>
        
<module>
          
<!--模块定义(Definition) 会被做为模块的默认标题-->
          
<friendlyname>YouhaoMingChen2</friendlyname>
          
<controls>
            
<control>
              
<src>DesktopModules/LC_News_install/Download.ascx</src>
              
<type>View</type>
            
</control>
            
<control>
              
<key>Edit</key>
              
<title>Bearbeiten von Downloads</title>
              
<src>DesktopModules/LC_News_install/DownloadEdit.ascx</src>
              
<type>View</type>
            
</control>
            
<control>
              
<key>EditComment</key>
              
<title>Edit Comment</title>
              
<src>DesktopModules/LC_News_install/EditComment.ascx</src>
              
<type>Edit</type>
            
</control>
            
<control>
              
<key>Moderate</key>
              
<title>Moderate Uploads</title>
              
<src>DesktopModules/LC_News_install/ModerateUpload.ascx</src>
              
<type>View</type>
            
</control>
            
<control>
              
<key>Settings</key>
              
<title>DNNPortal-Download Settings</title>
              
<src>DesktopModules/LC_News_install/Settings.ascx</src>
              
<type>Edit</type>
            
</control>
            
<control>
              
<key>RssFeed</key>
              
<title>RSS Feed</title>
              
<src>DesktopModules/LC_News_install/RssFeed.ascx</src>
              
<type>View</type>
            
</control>
            
<control>
              
<key>UserUpload</key>
              
<title>User Upload</title>
              
<src>DesktopModules/LC_News_install/UserUpload.ascx</src>
              
<type>View</type>
            
</control>            
          
</controls>
        
</module>
      
</modules>
      
      
<!--需要安装的文件清单-->
      
<files>
        
<file>
          
<name>LC.DNNPortal.News.dll</name>
        
</file>
        
<file>
          
<name>LC.DNNPortal.News.SqlDataProvider.dll</name>
        
</file>        
        
<file>
          
<name>LC.DNNPortal.News.RSS.NET.dll</name>
        
</file>                
        
<file>
          
<name>Download.ascx</name>
        
</file>
        
<file>
          
<name>DownloadEdit.ascx</name>
        
</file>
        
<file>
          
<name>EditComment.ascx</name>
        
</file>
        
<file>
          
<name>Downloader.aspx</name>
        
</file>
        
<file>
          
<name>makethumbnail.aspx</name>
        
</file>
        
<file>
          
<name>ViewImage.aspx</name>
        
</file>        
        
<file>
          
<name>ModerateUpload.ascx</name>
        
</file>
        
<file>
          
<name>RssFeed.ascx</name>
        
</file>
        
<file>
          
<name>module.css</name>
        
</file>
        
<file>
          
<name>Settings.ascx</name>
        
</file>
        
<file>
          
<name>UserUpload.ascx</name>
        
</file>
        
<file>
          
<path>Installation</path>
          
<name>DNNPortal-Download.dnn</name>
        
</file>
        
<file>
          
<name>01.00.00.SqlDataProvider</name>
        
</file>   
        
<file>
          
<name>01.00.02.SqlDataProvider</name>
        
</file>   
        
<file>
          
<name>01.00.03.SqlDataProvider</name>
        
</file>           
        
<file>
          
<name>01.00.06.SqlDataProvider</name>
        
</file>
        
<file>
          
<name>01.00.07.SqlDataProvider</name>
        
</file>        
        
<file>
          
<name>Uninstall.SqlDataProvider</name>
        
</file>           
      
</files>
    
</folder>
  
</folders>
</dotnetnuke>