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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Questions about module structureQuestions about module structure
Previous
 
Next
New Post
8/1/2007 7:24 AM
 

I've been investigating DotNetNuke to use for several of our sites and I've got a few questions about module structure that I'd like to know dnn can handle. DNN seems to be designed that modules share nothing between each other.

 

I'm fairly new to dnn so I'm not looking for detailed answeres, just a few links or some keywords to search for.

 

Can modules have multiple views? For example, if I have a Category module I want a list for the sidebar as well as a detailed list on another page, would this handled in the same module?

 

If I have a products module, products belong to categories and they both need to be aware of the relationship. How would this be structured in a dnn app?

 

We have quit a few pages with the same modules in the same pages. Is there some sort of page heirarchy to use or can modules be embedded in the skin/template?

 

Thanks!

 

How is data shared between modules? If I have a

 
New Post
8/1/2007 2:43 PM
 

1) Multiple views, yes. Either through DNN controls or dynamically loaded controls.

2) Multiple modules do share a common set of properties. If you need them to communicate there's at least two choices: Inter Module Communication or querystrings.

3) Pages have a hierarchy. Modules are loaded into pages.Technically modules cannot be loaded in the skin, but there's a kind of content that can. It's called a skin object and it encapsulates discrete functionality.


Do you know the truth when you hear it?
Néstor Sánchez
The Dúnadan Raptor -->Follow Me on Twitter Now!
 
New Post
8/1/2007 8:41 PM
 
Thanks for the answeres.

I'm still confused on number 2 though.

It's not so much about modules communicating but modules sharing data (and database tables).

In the example above with categories and products. On a category page we won't to show all products so they need to be aware of each others data which seems to break the module encapsulation with dnn.

The alternative, and the only example of this sort of functionality we've seen so far is to put everything to do with products and categories in one monolithic module, which is something where hoping to avoid.

I hope I'm being clear what I'm asking.
 
New Post
8/2/2007 9:19 AM
 

flukus wrote

It's not so much about modules communicating but modules sharing data (and database tables).

The alternative, and the only example of this sort of functionality we've seen so far is to put everything to do with products and categories in one monolithic module, which is something where hoping to avoid.
 

If I understand you correctly you want to have one module show data based on a selection that the CURRENT USER has selected in another module? I put current user in capitals to emphasise that if it's only for that current user (not all users) then you can simply store the users selection in one module using Module Settings and Personalization: Easily Store Data for Your Module (VB &C#) and read that value in the other module.

For example, if the user selects the hardware catagory you can store that value in profile settings (or a cookie if they are not loggged in) and then read that value in the other module.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
8/2/2007 6:49 PM
 
No, were not talking about users at all.

We want to have 2 modules accessing the same 2 tables in the database. Is this possible?
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Questions about module structureQuestions about module structure


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