DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Issue In changing Module Default View

 2 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 49
Growing Member

Hi All,

I have DNN 9.11.0 installed. Using “Christoc Hammond” DNN Project Template package I have created  module project in VS 2019 using MVC.

It has some default views and controllers already integrated. Instead of using these default views and controllers, I created my own view and controller. Now I want this view and controller definition to be included in module package. For that I simply copied following settings in manifest file. Here Employee is the controller name under controller folder and Index is a view name under “Views > Employee” folder.

                   

                    Christoc.Modules.SecondPOCForModule.Controllers/Employee/Index.mvc

                    False

                   

                    View

                   

                   

                    0

                    

 

Actually what I am trying to do is to set “Index” view under “Views > Employee” folder to be the default module view, so that when the page where this module is integrated by default when that page is rendered  "Index" view of “Views > Employee” folder is shown.  When I tried to install the package in DNN it gave me an error

 

Please let me know if I am missing some steps.

 

Regards

Tarunjit Singh

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
I'm afraid you're going to need to do some more troubleshooting and then provide additional (more useful) details.
Veteran Member
Posts: 363
Veteran Member
4 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
4 Engaged Reader
Engaged Reader
You are an engaged reader!
2 Avid Reader
Avid Reader
Avid Reader art thou!
2 Most Liked
Most Liked
Congrats, your posts are really liked!

It'll be very helpful to look at the error itself you're mentioning and also a close look at the admin logs to get more information about the error.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved