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

  • 相关阅读:
    cf 786B. Legacy(线段树区间建图)
    cf 1416D. Graph and Queries (生成树重构+线段树维护dfs序)
    cf 1437E. Make It Increasing
    cf 1434D. Roads and Ramen (树上最长偶权链)
    cf 1413C (贪心排序+双指针)
    cf 1421E. Swedish Heroes (dp)
    CF1428 F.Fruit Sequences
    11.Redis详解(十一)------ 过期删除策略和内存淘汰策略
    10.Redis详解(十)------ 集群模式详解
    9.Redis详解(九)------ 哨兵(Sentinel)模式详解
  • 原文地址:https://www.cnblogs.com/mill2002/p/303985.html
Copyright © 2011-2022 走看看