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

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Create Module method changed in 5.x - how to add a new module defintion for same module?Create Module method changed in 5.x - how to add a new module defintion for same module?
Previous
 
Next
New Post
4/23/2010 6:00 PM
 

Hi,

When I want to add a view to my existing module during dev, I usually copy the .ascx pages and then edit the .DNN file. I copy a "Folder" section and then change it to my new view. The ModuleName is always the same (my modules have 10+ views - each one is a new entry in the module dropdownlist, although it is the same module technically (same folder etc. "Smart-Thinker UserProfile") with a different Module Friendly Name (Smart-Thinker UserProfile Proximity) for the new definition.

Then, to set up my dev environment, I would go to the Module Defs and click on Add Module. I would add all the info from my DNN file and it would create the entry - I would then set up my controls for that definition etc. It worked like this for 6+ years.

In DNN 5.2.x (or something) this process changed. The Create Module entry now is a dropdown with New, Manifest and Control. I select New.

I ignore Owner Folder and set the Module Folder to the existing module. Language and Filename are irrelevant as I have the source files already. In ModuleName, I enter the new definition for my module eg. "Smart-Thinker UserProfile Proximity" (it's a definition of the ST UserProfile module).

I then click on create.

The module is now listed as Name = Smart-Thinker - UserProfile XYZ - whereas this has to be the same module name as all my other ST UserProfile views (Smart-Thinker - UserProfile) - it is hardcoded and there is no way to change it. The only way I can think of is going into the DB and renaming the Module Name using SQL in the ModuleDefs or Packages table.

So... with the new tools - how do you add a new defintion to the SAME module like I used to do before?

 


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Create Module method changed in 5.x - how to add a new module defintion for same module?Create Module method changed in 5.x - how to add a new module defintion for same 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