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

  • 相关阅读:
    方法参数个数最多不宜超过4个
    避免方法中使用大量局部变量
    JQuery学习备忘
    CSS学习备忘
    解析Path方法备忘
    获取差集合的一种实现思路
    前台JSP页面独立化
    requireJs的使用
    handlebar
    移动端h5<a>标签点击样式去除
  • 原文地址:https://www.cnblogs.com/mill2002/p/303985.html
Copyright © 2020-2023  润新知