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...Module Visibility QuestionModule Visibility Question
Previous
 
Next
New Post
6/7/2008 9:38 PM
 

For DNN to inject your module into a page, it first creates a placeholder which represents the CONTAINER that your module will be injected into.
And that CONTAINER is contained inside a ContentPane and that inside the Skin and that inside the defautl.aspx page.

DNN controls the vilibility of your module at this level - that is - the view settings in the module (settings
and permissions) you see when you are administring a module effectively act on the container.

What you do inside the module itself are then first controlled by what DNN does with the CONTAINER.

If DNN sets a container to not visible - then your module with not be visble regardless of if you dynamically load the module or not.

You can however in some circumstances override the defautl action of a CONTAINER by setting a visible module to not visible at runtime.

Westa

 
New Post
6/9/2008 11:04 AM
 

Thanks for you great guy ! you had provided the helpful information! But what I exactly need is posted in this thread:

http://www.dotnetnuke.com/Community/Forums/tabid/795/forumid/111/threadid/233441/scope/posts/Default.aspx

can you share some tip about this issue? The developer Rafe had posted a alternative solution for that :

http://kemmis.info/blog/archive/2008/06/08/programmatically-change-the-visibility-of-a-dotnetnuke-module.aspx 

(That is great blog about DNN!)

But my comments about the article is as following:

However,will your way effact the page performanece? for example, if the "ToggleVisibilityCS" exists some bind data control, it also wwill execute the DataBind Process. Is is corret? I also notice the module had the "isDeleted" property to determine whether insert the module insert the page,will that way be the better?


sunblognuke v5 for dnn

Ultimate Blogging Module for DotNetNuke Platform
The professional provider of DotNetNuke support, skin design and custom module development.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Module Visibility QuestionModule Visibility Question


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