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...Open Core Testi...Open Core Testi...Updated MVC templatesUpdated MVC templates
Previous
 
Next
New Post
12/22/2015 6:30 PM
 
Ash Prasad wrote:
Please stay while we update the project.

 

Could you please also update the readme to specify where you have to put these files to have them working properly so that you don't have to install the install ZIP every time to push the code to the DNN environment. I guess you could figure it out anyway but I think it would be easier for everyone if you could just include the necessary info. 

 
New Post
12/22/2015 6:33 PM
 
Patrik Johansson wrote:
Ash Prasad wrote:
Please stay while we update the project.

 

Could you please also update the readme to specify where you have to put these files to have them working properly so that you don't have to install the install ZIP every time to push the code to the DNN environment. I guess you could figure it out anyway but I think it would be easier for everyone if you could just include the necessary info. 

 

Or much better, change the build configuration so that it also builds a SOURCE version of the ZIP which you could then install and have this all taken care of. 

 
New Post
12/22/2015 6:50 PM
 
Ash, please note that besides the problem with [ValidateAntiForgeryToken] mentioned above, there is also a problem in the MVC version of the module with System.Core and System.XML.Linq that causes the edit/add not to work with MVC version of the module. The SPA module though seem to work fine.
 
New Post
12/22/2015 7:24 PM
 
Patrik Johansson wrote:
Ash, please note that besides the problem with [ValidateAntiForgeryToken] mentioned above, there is also a problem in the MVC version of the module with System.Core and System.XML.Linq that causes the edit/add not to work with MVC version of the module. The SPA module though seem to work fine.

 

Until DNN has got this sorted out you can fix these 2 problems yourself by changing:

 [ValidateAntiForgeryToken] 

to 

[DotNetNuke.Web.Mvc.Framework.ActionFilters.ValidateAntiForgeryToken] in SettingsController.cs and by changing:

@if (@Dnn.ModuleContext.IsEditable && Convert.ToBoolean(Dnn.ModuleContext.Configuration.ModuleSettings.GetValueOrDefault("AllowContactCreation", false)))

to:

@if (@Dnn.ModuleContext.IsEditable @*&& Convert.ToBoolean(Dnn.ModuleContext.Configuration.ModuleSettings.GetValueOrDefault("AllowContactCreation", false))*@)


in index.cshtml

 
New Post
12/22/2015 7:49 PM
 

I've updated the readme to indicate the location of the installation packages as well. Can you try compiling now. Also - Patrick feel free to submit pull request to this repo.


Ash Prasad
Director of Engineering
DNN Corp.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...Updated MVC templatesUpdated MVC templates


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