Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreGUIDE: "How to install Store module 02.xx.xx WITH sources"GUIDE: "How to install Store module 02.xx.xx WITH sources"
Previous
 
Next
New Post
11/24/2007 10:34 AM
 

Hi,

Edit : You can find the latest ones on Github. An update process has been granted beetween these versions. The following post still applies to these more recent (and recommanded) versions of Store. 

Before you download the source package, you should consider reading the templating guide. Store has a powerfull 3-level hierarchical templating architecture. Many adaptations that would require changing the code for another module, can be done by configuration with Store. 

Given that several questions concerning the sources of the module return regularly, I will detail you how to install your development platform correctly. Follow step by step this procedure and you will have an installation ready to use with the debug mode! I advise you to use a separate instance of DNN and a database reserved for the development. For my part, I have three instances and three databases. I’m using one for the development (DNN 4.4.1 with sources), and two other to make my tests of installation and operation. One DNN 4.4.1 instance without sources and one instance with the last DNN version available. That allows to make sure not to have forgotten anything, particularly in the .dnn file and the .sqlprovider files! This said, you do as you want.

EDIT: From the version 02.01.37, DNN 4.6.2 OR ABOVE WITH SOURCES IS REQUIRED !

I have made the choice to use DNN 4.4.1 WITH SOURCES for wider compatibility; you will have to make some as much at least for your first installation. On the other hand, you can use any newer DotNetNuke 4.x or 5.x version WITH sources.  Moreover, given that I converted the solution to the WAP model you must IMPERATIVELY use VS2005 Pro with SP1 or above (not Web Express)  EDIT: Now you can use Visual Studio Web Express 2008 (free product, thanks to Microsoft) WITH SP1 to modify WAP projects. OK let’s go!

 1. Install a clean DNN instance for development purpose only

  1. Install DNN (DotNetNuke_4.4.1_Source.zip) inside the folder C:\DotNetNuke_2. Name your virtual folder DotNetNuke_2 in IIS. In other words, the names which indicates official documentation! See DotNetNuke Installation Guide.pdf for details.
  2. Check the correct operation of DNN.

If you DO NOT use C:\DotNetNuke_2 as installation folder and DotNetNuke_2 as virtual folder name, then you have to edit the solution file BEFORE open it in VS!

2. Install the Store module with sources

  1. Download the file Store_03.xx.xx_Source.zip.
  2. Install it like any other DNN module (Host > Module Definitions (or Extensions in recent DNN versions) > Install New Module).

 

 3. Prepare your Store 

NOTE: DO NOT PLACE ALL MODULES ON ONE PAGE! This cannot work, one more times: please follow my advices, it will save you time and frustration!

  1. Create a new tab and name it Store, define access to everybody.
  2. Create a new tab and name it My Account, define access to everybody.
  3. Create a new tab and name it Store Admin. Restrict access to Admin Group only.
  4. Place the module Store Admin inside ContentPane.
    • Define your own store settings (Store Name, Description, ...).
    • For the Store Page setting, select Store (the tab created at step 3.1).
    • For the Shopping Cart Page setting, select My Account (the tab created at step 3.2).
    • At the begining, it's a good idea to use the the EmailProvider as Gateway, but it's not a requirement.
      • Note that the two other providers (PayPal and Authorize) require additional parameters and a valid account on their respective web site.
    • Click on Update.
    • Expand Tax Administration, check Enable Tax, define a Tax Rate and click on Update Tax Settings if you use tax prices for your store.
    • Expand Shipping Administration
      • IT'S A REQUIREMENT TO DEFINE AT LEAST ONE SHIPPING COST! Then, define this minimun shipping cost:
        • Description = S1
        • Min. Weight = 0
        • Max Weight = 99999
        • Cost = 0
        • Click on Add
  5. Go to the My Account tab. Place the module Store Account inside ContentPane.
  6. Go to the Store tab.
    • Place the module Store Menu inside LeftPane.
    • Place the module Store Catalog inside ContentPane.
    • Place the module Store Mini Cart inside ContentPane.

Now you have an instance of DNN with the Store module installed (with minimum settings defined) in operating condition.

4. Open the solution

  1. Open Windows Explorer
  2. Go to the folder: C:\DotNetNuke_2\Website\DesktopModules\Store
  3. Double click on the solution file: DotNetNuke.Store.sln

If you followed all my instructions, the solution must open without error, and you must be able to build it!

Some complementary details about the solution: 
  1. Each project contains post compilation macros being used to copy certains files into special folders. The folder ...\DesktopModules\Store\Store_02.00.00_Install is used to receive the files necessary to the creation of the principal PA (Store_02.xx.yy_Install.zip). After having modified the code and having tested your modifications, change to release mode via the configuration manager. Rebuild the solution. Make a zip with contents of this folder for produce your new PA. The folder ...\DesktopModules\Store\Store_02.00.00_SkinObjects has the same goal for the skin objects PA (Store_02.xx.yy_SkinObjects_Install.zip). Edit: This folder is no longer used with recnet Store versions, because SkinObjects are automaticaly installed with the Store module.
  2. The project pointing on your instance of DNN (http://localhost/DotNetNuke_2) is used for two things. First of all, it has references towards the other projects of the solution. In fact, when a project is modified and compiled, the DLL and debugging files are automatically copied in the bin folder of the instance. On the other hand, this project is never generated. It is normal! If you have modifications to carry out in the code of DNN, rather use the solution provided with the DNN sources. In the second place, it is used as starting project.  EDIT: Please read this blog post for details.

Good coding!

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
11/27/2007 12:08 PM
 

 

Hello Gilles,

I cannot see your email address in your profile.

Would you let me know where I can download Store_02.01.00_SkinObjects_Install.zip file?

Thank you,

Jong-Hyun

 
New Post
11/27/2007 6:16 PM
 

Hi Jong-Hyun,

I do not understand because the setting "Display Email Address" is checked in my profile! Previously my email was displayed, may be it's a problem why the new forum module? Any way, send me an email to this address glepigocher AT yahoo.fr, I will send you the file.

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
New Post
2/27/2008 11:46 AM
 

------- see below

 
New Post
2/27/2008 11:49 AM
 

OK I followed your instructions there and after adding a product, I get this:

InnerException: Object reference not set to an instance of an object.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.Exception: Object reference not set to an instance of an object.at DotNetNuke.Modules.Store.Components.StoreControlBase.OnLoad(EventArgs e)at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Control.LoadRecursive()at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---

Any help?

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreGUIDE: "How to install Store module 02.xx.xx WITH sources"GUIDE: "How to install Store module 02.xx.xx WITH sources"


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out