mtrutledge / generator-dnn

Yeoman generator to scaffold DNN / DotNetNuke Modules and Themes.
MIT License
17 stars 10 forks source link

[MVC] Fixes Broken Settings Page #27

Closed SkyeHoefling closed 6 years ago

SkyeHoefling commented 6 years ago

Updates markup in the settings.cshtml to reference correct variables. The page now should work correctly if the resx is defined correctly;

note I am not 100% sure if I got the correct syntax with the yeoman templating for line 1. I am nervous with the amount of < characters next to each other.

I think it would be useful to create a contributing guide or how to build and run locally

Fixes #25

mtrutledge commented 6 years ago

This is interesting that I was able to use the model without the inherits. I will merge this as it is more proper. Thanks Andrew.

SkyeHoefling commented 6 years ago

I have been using the @inherits syntax because of the original VSIX templates provided by Chris Hammond. I am recalling from memory here, but I believe the DNN MVC Controller pipeline expects it for something. It may try and cast it if isn't mentioned