zoukankan      html  css  js  c++  java
  • 开始DNN 模块开发

    首先弄一个空白模块,以便安装到dotnetnuke中了解模块的运作情况.
    1)打开VS2003,在VB中新建web项目Blog.Player,属性设置参考'博客园 - 二十四画生的Blog - 建立单独的解决方案来开发DNN模块'
    2)删除Global.asax,web.config,style.css文件,偶在后来安装空白模块时,出现的3个出错信息与这些文件有关
    3)增加dotnetnuke.dll引用
    4)增加两个WEB控件,分别为Player.ascx及EditPlayer.ascx,其中
        Player.ascx.vb,Player.ascx.vb的类继承DotNetNuke.Entities.Modules.PortalModuleBase
        在Player.ascx,EditPlayer.ascx的inherits="Blog.Player.Player"及="Blog.Player.EditPlayer"
    5)在Player.ascx.vb的Page_init()方法中增加
          MyBase.Actions.Add(GetNextActionID, "Edit", "", URL:=EditUrl( ), secure:=Security.SecurityAccessLevel.Edit, Visible:=True)
            这样就在Player.ascx控件中建立了到EditPlayer.ascx控件的链接.

    Faq

    1. Version issue
      Open store module in vs2003 and eleven warnings appear as follows:

    Warning: Can't copy the dependent item "DotNetNuke, Version=3.1.1.31421, Culture=neutral" of project
    "DotNetNuke.Store.WebControls" to running directory,because it will rewrite reference of “DotNetNuke, Version=3.1.1.1034, Culture=neutral”.

    Where can I download DotNetNuke, Version=3.1.1.31421? How to deal with these warnings?

    DNN STORE ROADMAP
    Updated: November 22, 2005

    Version 1
    - Reviews (partially completed)
    - Full Localization Support

    Version 2+
    - Gateways: Deploying mulitiple files with same name
    - Order Summary Printing (include StoreInfo)
    - Help Admin (currently hidden, what does it include?)
    - Address/Profile Security
    - Admin Grid Sorting (Products, Categories, etc)
    - CSS Style Uniformity
    - Date-based Pricing
    - Also Bought
    - Wishlist Module
    - Store Search
    - Order Fulfillment (search new orders/mark as "shipped" + email conf.)
    - Templated Order Confirmation Emails

    My Plan
    - learn to how to 支持网银支付

  • 相关阅读:
    js 复制到剪切板
    200-api网关工程过滤器设置
    199-Zuul配置文件
    198-Feign有什么方便之处呢?
    12-sublime中文配置
    098-Servlet为什么直接相应给浏览器的信息会出现乱码?
    097-为什么我们在SpirngBoot中设置了响应头的编码,浏览器解析出来依然回事乱码呢?
    196-为什么SpringBoot框架中不能直接使用@WebServlet的注解?
    195-如何获取Spring容器中的对象?
    194-Spring注入属性的几个注解?
  • 原文地址:https://www.cnblogs.com/mill2002/p/303985.html
Copyright © 2011-2022 走看看