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

posted @ 2005-12-24 20:01 mill2002 阅读(476) 评论(6)  编辑 收藏 所属分类: DotNetNuke(DNN)--portal应用

  回复  引用  查看    
#1楼 [楼主]2006-03-05 16:31 | mill2002      
Store module issue

1.
goodwill
2 posts
Joined
3/1/2006


Setting up source code ready for customization
Posted: 04 Mar 06 12:45 AM


Dear all,

I am trying to setup the source code to my development environment in order to start customizing it. However I found some difficulties need people's help here:

How can I setup the dotnetnuke project to recognize the source code package instead of adding the zip package (which will just add the binaries), so I can start doing some code trace?

And, as I think I am asking some dumb question here- it seems there just no full readme on how to set things up- I managed to get all setup done with dotnnetnuke's documentation, however I think I keep hitting issue in Store module since I cant find good details- is there a place I have missed out?




javaday
58 posts
Joined
8/13/2003





Re: Setting up source code ready for customization
Posted: 04 Mar 06 11:49 AM


1. Install the store by uploading the zip file.

2. Unzip the source files into the Store folder created in step 1.

3. Open the solution file that is now in the Store folder.

4. Make the code changes you want, build, and copy any updated dll's into DNN's bin folder.

5. Run the solution in debug mode to step through the code.


--------------------------------------------------------------------------------
Tom Day
DNN Store Project Team
Willowtree Software, Inc

2.
Store module forum:
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/Default.aspx
  回复  引用  查看    
#2楼 [楼主]2006-04-02 16:00 | mill2002      
version issue

用VS2003打开STORE MODULE,出现13个错误,其中2个错误,11个警告,分别如下:

错误: 不能将项目“BuildSupport”中的依赖项“CountryListBox, Version=1.0.2136.19032, Culture=neutral”复制到运行目录,因为它将与依赖项“CountryListBox, Version=1.0.2049.1021, Culture=neutral”冲突。

警告: 不能将项目“DotNetNuke.Store.WebControls”中的依赖项“DotNetNuke, Version=3.1.1.31421, Culture=neutral”复制到运行目录,因为它将改写引用“DotNetNuke, Version=3.2.0.19038, Culture=neutral”。

运行的DNN的版本为3.2,如运行3.1.1版本的话,警告也无法消除,因为3.1.1的Version=3.1.1.1034,而非Version=3.1.1.31421,
这个Version=3.1.1.31421应该是制作STORE MODULE生成的dotnetnuke.dll的版本,如何生成或到那里下载呢?警告影响编译吗?
  回复  引用    
#3楼 2006-05-04 17:22 | Mill [未注册用户]
After deletion of BuildSupport Project,Store project can be rebuild
again.

Info:
1.Whitepaper for store payment gateways
  回复  引用    
#4楼 2006-05-05 16:44 | Mill [未注册用户]
欲打开DotNetNuke.Store.WebControls项目中的CustomerAdmin.ascx文件时,跳出的提示说:
CustomerAdmin--未能加载基类“DotNetNuke.Modules.Store.Components.StoreControlBase”。...
但是,DotNetNuke.Modules.Store.Components.dll已被引用了啊,怎么办呢?
谢谢!
  回复  引用    
#5楼 2006-05-06 08:00 | Mill [未注册用户]
1)make a page calling catalog and put categories,catalog and minicart on this page.
2)add new category in categories block,then add new product in
catalog block by selecting relevant category.Please note no product will be shown in catalog block unless you click some category in categories block.

标题  
姓名  
主页
Email (只有博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2006-05-06 08:14 编辑过