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

  • 相关阅读:
    (二十四)JSP标签之基本标签(<jsp:标签名>)
    (二十三)JSP指令
    (二十二)JSP基础语法
    (二十一)JSP基础
    java类的初始化过程
    redis的主从复制和哨兵支持的主从切换
    redis事务和乐观锁
    redis的持久化
    linux修改进程的名字
    在c代码中获取用户环境变量
  • 原文地址:https://www.cnblogs.com/mill2002/p/303985.html
Copyright © 2020-2023  润新知