DNN Forums

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

Forum: Building DNN Modules, Providers etc.

 26 Subscribed to this forum
Page 8 of 18 << < 678910 > >>

Topics

Replies
Rating
Status
Views
Subscribers
Last Post

INavigationManager - Using Dependency Injection in Business Controller Class      

Started By  Wes Fincher
I need to generate portal URLs from within an API call to a web forms module. So I need an INavigationManager instance in my API controller.  I cannot do that since both Web Forms business controllers do not have dependency injection and I cannot instantiate a new NavigationManager class (it's marked internal).   Is there an alternative to the below  public class FormsController : DnnApiController {     private INavigationManager _navigationManager;     public FormsController(INaviga...
1 2181 1

Update web.config      

Started By  Seek78
Hello, I have to update several sections of the web.config because I am updating some DLLs in the portal. Why this manifest code just add the lines DNN manifest:                      Result in:                                               But what I want is:                      Where I'm wrong Thanks all Seek
3 1845 2
by Seek78

Using managed content in content generated by JS framework      

Started By  Tim van der Horst
I use a custom DNN module which with a tabbed bootstrap navigation inside. It was build with Knockout-JS. Now I want to add some pieces of content inside this module, e.g. one html control per navigation tab and some explainatory popovers. I would like to manage that content with DNN if somehow possible. One possibilty would be to use DNN headless and have my module read the content from DNN. Don't know if this is possible at all. I am thankful for any ideas about this!
5 2093 2

Custom Module Installation cleans out table data      

Started By  Jacques
I think I might have this completely wrong, but I was under the impression that the module installer in Dnn would only run the Sql Provider scripts from the current version on. E.g. Assume that my module has reached version 3.0.0 but I'm currently running version 02.00.01 in production:  In 01.00.00.SqlDataProvider I ensure that tables don't already exist and drop them if they do before creating them again In 01.00.23.SqlDataProvider I decided to make a couple of adjustments to the core data...
13 4628 2
by Jacques

SQL page load performance      

Started By  JKeller
Hello all. I have inhereted an outdated DNN site... tere is a module which loads data from an SQL (2016) table that is on the larger side. This table contains inventory, so it can't really be shrunk in any way. The DB Performance is really good. Other applications (NAV) can load the same table in 3-5 seconds. For instance: The page displays the first 10 results of around 6500 records, so there's a total of 650 pages. This takes 30 seconds to load and makes users grumpy and they like to whine...
8 2089 2
by JKeller

Examples, Tutorial Working with Swagger RESTFUL API in a Module      

Started By  Jeremy
When using the Chris Hammond template to build a module, are there any examples incorporating a REST API into a module I'm looking into using an API that is built with Swagger and incorporate it and I'm not finding much documentation-wise. Any examples, or how one would get his up and running What is needed to incorporate and access the API Would you build this directly in the VIew side of the module using the CodeBehind Thank!
1 2592 1
by Jeremy

PASSING LOGIN CREDENTIALS      

Started By  Sanjeev Verma
I want to pass login credentials from my website to DNN login page so that I have no need to reenter credentials to the DNN website
1468 0

Core search integration      

Started By  scippy
Is there any tutorial or documentation on how to integrate DNN core serch in a custom module in the same way how it is implemented in the HTML module
3 1911 2
by scippy

Adding Service Reference to a custom module      

Started By  John A
Hello, I am having a issue when I create a service refernce within a custom module.  The service refernce gets created and it generated code as usual.  But the problem I am having is when I copy the system.service model section from web.config that was created in my module to the actual web.config - I get the green squiggly of death. The error says: 'Warning        The 'contract' attribute is invalid - The value 'FedExServiceRef.RatePortType' is invalid according to its datatype 'clientContra...
2 1665 1
by John A

Server Side code to check if the current user has edit rights on one of the modules      

Started By  Timo Breumelhof.
I'm looking for the most efficient way to detect if the current user has Edit rights on one of the module on the page. I now used DotNetNuke.Security.Permissions.ModulePermissionController.CanEditModuleContent() But that would mean I would have to first get all modules on the page and check this for each module, which does not feel very efficient as DNN must be doing the same check for the Persona Bar. Is there a more efficient way to check this that I missed
6 2391 2
Page 8 of 18 << < 678910 > >>


RSS Feed Available

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