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

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesa simple HelloWorld modulea simple HelloWorld module
Previous
 
Next
New Post
9/21/2015 2:03 PM
 

 

I do not currently have dnn installed on my workstation but I do have dnn installed on a dev server and production server.  I am using visual studio 2010 on my windows 7 client to create a simple hello world web site with a user control name view.ascx and view.ascx.cs

To add the module on a previous dnn server:

1.   I simply copied the view.ascx and view.ascx.cs files to the server:  Inetpub/<dnnsite>/DesktopModules/MyModules/<module name> folder 

2.  logged onto the dnn site as user host

3.   clicked on Host Tab/extensions/create new module button and Used the following template but replacde Module Folder with my selected modular folder and Resource with my specific module ascx file. 

create module from :  <control>

owner folder <MyModules>

module folder <module name>

resource: view.ascx

module name <module name>

4.  drag and dropped the module to a page.

 

But now when I copy the view.asc, MyModule is under  Inetpub/<dnnsite>/DesktopModules/DnnCorp/MyModules/ and I need to pick

owner folder = DnnCorp

module folder = MyModules

It does not allow me to tunnel down to DnnCorp/MyModules/HelloWorld for the view.ascx user control but rather it creates a new HellowWorld user control at directory level DnnCorp/MyModules

 

My question:  Why am I unable to use owner folder <MyModules> and module folder HelloWorld for the module create ?  Or what should I be using to get down to DesktopModules/DnnCorp/MyModules/HelloWorld/view.ascx?

I have read quite a bit about module development but I am simply at the the level of understanding folders, modules etc.. 

 
New Post
9/24/2015 11:37 AM
 
I can withdraw this question.  I am placing my modules on a diretory under DesktopModules rather than under the DNNCorp/MyModules folder.   I determined this by using the create module gui option.  This question can be closed.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesa simple HelloWorld modulea simple HelloWorld module


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