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 ForumsForumForumForum - Front page text onlyForum - Front page text only
Previous
 
Next
New Post
5/6/2006 10:24 PM
 

y01nk, I assume you are speaking to CoolKiwiBloke.

CoolKiwiBloke, all modules have a list of controls which are part of the module definition (see host -> Module Definitions). These controls are associated with various action types. (Edit, Host, Admin, View, Anonymous). The various action types (for example View is always the control you view when first viewing a module w/ no querystring parameters in the url pertaining to that module) determine what other modules show on the page in addition to permissions.

To explain this using the forum and how it works, the forum has many controls but we will stick to just two for this example. The Forum_Container.ascx is the initial View action type loaded when a page is first called. (Minus querystring params for the ctl). The Forum_Container.ascx contains logic which determines based on what params in the qs which control to load within Forum_Container.ascx. When we first view the forums in this case no params are in the qs and it loads its default control ForumGroup.vb. (Which is not listed in the module controls because it is dynamically loaded by the Forum_Container.ascx which is listed in the module controls - also note that there is no ascx because the UI is actually all built in the class like a server control does) Now, when we are in a situation where we are attempting to respond to a post (or start a new thread) you will notice that there is a ctl param in the url "PostEdit". This ctl param is listed in the module definitions as a action type of Edit. When this ctl is in the url, it will not load any other modules on the current page except the one which is using that ctl.

Hope this is clear enough for all to understand.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
5/7/2006 5:22 AM
 
Excellent description - Thanks

www.creative-dreaming.com
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumForum - Front page text onlyForum - Front page text only


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