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 ExtensionsModulesModules(DNN8) How to use standard settings in SPA modules?(DNN8) How to use standard settings in SPA modules?
Previous
 
Next
New Post
2/22/2016 4:51 PM
 

Hi all,

I am trying to make first DNN8 SPA module but I am having trouble with settings.

I am using templates from http://www.christoc.com/ for DNN8 SPA. I run it, executed SQL provider and module runs fine in DNN installation.

But there is no custom settings in it. This is manifest for settings:

<moduleControl>

                    <controlKey>Settings</controlKey>

                    <controlSrc>DesktopModules/AngSpaDemo/Settings.html</controlSrc>

                    <supportsPartialRendering>False</supportsPartialRendering>

                    <controlTitle>AngSpaDemo Settings</controlTitle>

                    <controlType>Edit</controlType>

                    <iconFile />

                    <helpUrl />

                    <viewOrder>0</viewOrder>

                  </moduleControl>

But there is no custom settings tab in it. What am I doing wrong here?

 
New Post
2/23/2016 11:55 AM
 

Hi Vladimir,

We use quicksettings for the SPA modules. Please download the SPA template from https://github.com/dnnsoftware/DNN.Templates. It will add quick settings page in your module along with view and edit.

Furthermore, you can look at a SPA sample module by us at https://github.com/dnnsoftware/Dnn.Platform.Samples.Mvc. You will need to download this complete repository for compiling the code. Once you compile it in release mode you will get the module install build under Website/Install or you can directly download the build from the Git repository.

 


Amarjit Dhunna Dnn Corp.
 
New Post
2/23/2016 11:58 AM
Accepted Answer 
The main settings dialog requires server-side processing, so you can't use an HTML "control," it has to be MVC or ASCX. The alternative for SPA-only modules would be to use Quick Settings, but it's also totally fine to mix in a non-SPA control for that one view if you want to integrate into the settings dialog.

Hope it helps!

Rich Campbell
Engage : Your ideas, Our know-how
DNN Experts
St. Louis, MO
314.966.4000
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModules(DNN8) How to use standard settings in SPA modules?(DNN8) How to use standard settings in SPA modules?


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