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...DNN Platform (o...DNN Platform (o...Method that instantiates a DNN moduleMethod that instantiates a DNN module
Previous
 
Next
New Post
9/15/2016 12:09 PM
 
@Alan,

If you re-read my answer I didn't say what you wanted to do was wrong.

You juxtaposed "I need this to do something for a client..." with "...where the code is that displays the modules on a page." I inferred, very possibly wrongly, that you wanted to use such code in a module. With the little information I have; I still think it sounds like a bad idea.

If I knew more about your use case I might change my opinion and think it a great idea. To find out more about your use case I asked why you wanted to do that.

In your reply you called me a "code nazi".

Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
9/15/2016 2:14 PM
 
@Alan,

C'mon man! Faschists, gimme a break!



Joe Craig
Patapsco Research Group, Ellicott City, MD
DotNetNuke Development and Services (http://patapscorg.com)
 
New Post
9/15/2016 2:22 PM
 

So, first things first:

Page rendering can generally be considered to begin in the Skin.cs code.  This code is responsible for rendering all the page elements.  The beginning of module processing begins in the ProcessModule method.  This will ultimately call down to the pane to begin rendering the module container which will then render the module.  The container will ultimately instantiate a ModuleHost, which instantiates a ModuleControlFactory which figures out what type of ModuleControl to instantiate (HTML5, Razor, MVC, WebForms).  Each layer in this chain is responsible for adding different parts of the chrome based on what mode the page is in, what permissions the user has etc.  Hopefully that should be enough to get you started.

As for the back and forth, we all need to remember that we need to remain civil. Using loaded terms like Nazi or Fascist creates an atmosphere which is not conducive to building community.  It is not always clear why someone is asking a question or why someone is answering the way they are.  We have all seen our share of mangled DNN implementations, so we shouldn't get upset if people are trying to help steer us away from going down that path.  


Joe Brinkman
DNN Corp.
 
New Post
9/17/2016 6:45 AM
 

Hey Joe:

Thanks.  That will definitely get me in the right direction.  Appreciate it...

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Method that instantiates a DNN moduleMethod that instantiates a DNN 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