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 ExtensionsModulesModulesCreating One Module with Many DefinitionsCreating One Module with Many Definitions
Previous
 
Next
New Post
7/25/2013 5:44 PM
 

I've been doing research on how to have one module with multiple definitions/views so that I can have a page (or multiple pages) with separate items on them.

I've seen a lot about the DNNBlog module, in terms of how it has multiple definitions and views on one page. However, when looking at the code (I know it's being updated for DNN7), I can't seem to figure out where is the "entry point" for creating the page that has mini-modules on it, if you will.

Is it just that the manifest auto-magically does all the page creation? Because in other examples/modules I've been looking at there appears to be usage of templates, but again, I just don't see where the entry point is.

I know the question is vague, but where is the entry point for throwing all of these views on one page?

Thanks in advance

 
New Post
7/25/2013 8:04 PM
 
I would create own module for the view, but use one VS Project and create one module manifest using own package for each module.  Thats how the Blog used it.  You can check the source of the Blog module on http://dnnblog.codeplex.com !
 
New Post
7/25/2013 8:36 PM
 

I'm sorry, but this is not making sense. I've looked through the code. I understand how the definitions are set up there. But you mention packages as in plural (more than one). I only see one .dnn file in the installation folder and it only has one package node. 

 
New Post
7/25/2013 9:30 PM
 

I am not 100% sure how it is implemented in the blog module.  I have made one module with to views http://dnnshoutcaststats.codeplex.com where I have implemented it.  It could be that the Blog module have ist own Routine to add module that included in it. 

Have you look at the Wiki? 

 
New Post
7/26/2013 8:22 AM
 

Thanks for the reply. I am trying to learn from the Blog module, the problem is that it's not been updated for DNN7 (which I have set up), so it is hard to learn from it without seeing it in action. Which is why I was asking the question of where exactly is the "hook" that makes the main blog "page" once you install it. Is it really just as simple as the module definition placing the parts of the entire Blog Module on the page, or is there some other mechanism (template, class file)?

I am taking a look at your implementation in the ShoutCast module to get a better idea.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesCreating One Module with Many DefinitionsCreating One Module with Many Definitions


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out