Products

Solutions

Resources

Partners

Community

About

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 Compile WWStore 02.00.08"Guide: "How To Compile WWStore 02.00.08"
Previous
 
Next
New Post
8/2/2007 9:58 AM
 

Hi Gilles,

thanx a lot, under your instructions, it worked for me too .

I have one more question.

What changes do i have to make in order for my DNN portal not to be restricted to be hosted under the \DotNetNuke_2 virtual path. What if i want to install the Store module under a DNN portal that is sited under the \intepub\wwwroot\My_DotNetNuke_Site virtual path?

I've noticed from the Store's module source code that the 'DotNetNuke_2' path is referenced twice in each project:

  1. the .csproj file, under the <PostBuildEvent> element (in order to copy the files to the target path after the build)
  2. the  .csproj.user file, under the <StartExternalURL> element.

Maybe the appropriate modification of the above elements can accomplish my target?

 
New Post
8/2/2007 2:00 PM
 

Hi,

You do not need to install your dnn instance inside C:\DotNetNuke_2 for production web site! This is a requirement only for the dev (source) version.

You'r right, this references are used for copying required files to the installation folders (WWStore_02.00.00_Install and WWStore_02.00.00_SkinObjects). Thus, when you have finish your modifications inside code, you just have to make a zip file from the installations folders for produce installation packages. In some cases (add/remove: controls, files, etc.), you must update the manifest file (DNN WWStore.dnn) too.

You can change all references if you have inspected deeply how the module is build. I give this instructions only for obtain a "working" version in minutes. But experienced Visual Studio developers can change anything they want inside the projects.

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
8/3/2007 3:54 AM
 

Hi Gilles,

thanx for the quick response.

See your point here. We just need the DotNetNuke_2 DNN site in order to build the Store project and after that we can package and install it to any other DNN portal.

A few more questions about the packaging procedure, due to the fact that the WWStore project is more complex tan a single module (it consists of 5 modules).

When you say "you just have to make a zip file from the installations folders for produce installation packages", do you mean the "WWStore_02.00.00_Installation" folder? So, if i make changes (for example source, controls and database), i have to rebuild the solution and create the apporpriate sql data provider script file. After that, i have to overwrite the source (dll) and control files, add the new sql script file and modify the dnn file inside this installation folder and finally zip it. Have i understood correctly?

Also, does the skin package needs to be installed as a separated module on the DNN deployment portal and is it necesary to install it?

Thanx again in advance

 
New Post
8/3/2007 6:46 AM
 

Hi,

You are welcome.

When you say "you just have to make a zip file from the installations folders for produce installation packages", do you mean the "WWStore_02.00.00_Installation" folder?

Yes! 1 point ;-)

So, if i make changes (for example source, controls and database), i have to rebuild the solution and create the apporpriate sql data provider script file.

Yes! 2 points

After that, i have to overwrite the source (dll) and control files, add the new sql script file and modify the dnn file inside this installation folder and finally zip it. Have i understood correctly?

Biiiiiipppppp! You loose! NO POINT ;-) You don't have to overwrite dll and controls files inside WWStore_02.00.00_Install, this is done by post build procedures.

In your case, because you have change database structure, you need to:

  • Increase the version number (02.00.09) of each projects (21 C# projects) inside the properties tab
  • Create a new sqldataprovider file like 02.00.09.SqlDataProvider with your sql commands
  • Correct the manisfest file (DNN WWStore.dnn) inside WWStore_02.00.00_Install folder:
    • Search for 02.00.07.sqldataprovider, then add this lines:
      •     <file>
                <name>02.00.09.sqldataprovider</name>
            </file>
  • Create a new zip file (WWStore_02.00.09_Install.zip) with the content of the folder WWStore_02.00.00_Install
  • Install this new PA to the production server

As a general rule:

  • When you modify anything inside the projects, use a new version number!
  • If you add or remove a file (sqlprovider, controls, graphics, etc.), YOU HAVE TO CORRECT the manifest file. Remember that post build procedure copy all dll and controls into the folder WWStore_02.00.00_Install. Look at the properties tab of each C# projects for understood what is done by the post build procedures.
  • If you just modify some part of code, then rebuild the solution and recreate a zip file with the content of the folder WWStore_02.00.00_Install.

Also, does the skin package needs to be installed as a separated module on the DNN deployment portal and is it necesary to install it?

Yes, the skin package need to be installed as a separate module. This is because, you can't have two manifest files inside a PA.
No, it's not a mandatory part of the WWStore module. This is used for adding two skin objects [WWSTORELINKS] and [WWSTOREMICROCART]. The first one create a link to the cart (View Cart) or the store (View Store) tab with the corresponding icon. The second, create a very small cart with just the number of products and the total.

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
8/3/2007 7:57 AM
 

Hi Gilles,

i am new to the DNN world and as a result i have many questions. Hope i am not tiring you.

The post build procedures you mention are performed automatically by the framework?

Also, if i only want to add some additional resource files (for my native language) and add them to the package, do i have to make any version changes?

Finally, if i modify only the source of some projects, and/or the tables that affect only some of the projects do i have to change all the (21) projects version numbers? What about the .zip package?

regards

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreGuide: "How To Compile WWStore 02.00.08"Guide: "How To Compile WWStore 02.00.08"


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