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 支持网银支付

  • 相关阅读:
    TOJ 2710: 过河 路径压缩
    树状数组模板
    TOJ 2017: N-Credible Mazes
    TOJ 4804: 树网的核
    Codeforces Round #440 (Div. 2, based on Technocup 2018 Elimination Round 2)
    Codeforces Round #441 (Div. 2, by Moscow Team Olympiad)
    TOJ 2541: Paper Cutting
    CODE FESTIVAL 2017 qual B
    hiho[Offer收割]编程练习赛30
    Codeforces Round #437 (Div. 2, based on MemSQL Start[c]UP 3.0
  • 原文地址:https://www.cnblogs.com/mill2002/p/303985.html
Copyright © 2011-2022 走看看