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 10 of 18 << < 89101112 > >>

Topics

Replies
Rating
Status
Views
Subscribers
Last Post

Switching to FileManager      

Started By  jenndream
hi -- I've inherited a DNN website that mostly consists of custom modules. In trying to upgrade the site, I found a class that relies heavily on FileController to add files to the system and I've had to rewrite some of the code. Most of it I've figured out but I'm completely stumped on this one method and can't find an example anywhere. The old code was this: System.IO.FileInfo fi = new System.IO.FileInfo(mySecuredFilename);                 String contentType = FileManager.Instance.Get...
9 1953 3

Localization      

Started By  Kristian Radolovic
In my module I'm trying to get localized text from resources in another module. Tried:  Localization.GetString('myText.Text', Replace(PortalSettings.HomeDirectoryMapPath, 'Portals\' & PortalId.ToString, 'DesktopModules') & “DIBW9000\App_LocalResources\DIBW9000.ascx.' & Threading.Thread.CurrentThread.CurrentCulture.Name & '.resx') and Localization.GetString('myText.Text', Replace(PortalSettings.HomeDirectoryMapPath, 'Portals\' & PortalId.ToString, 'DesktopModules') & “DIBW9000\App_LocalResour...
4 1777 2

How to localize ControlTitle on MVC Module      

Started By  rcorra68
Hello everybody I am creating my first MVC module using Christoc templates. I can't Localize the ControlTitle for Control Edit. In the version with ASCX controls, I used the .resx files by entering the translation in the key 'ControlTitle_edit.Text'. In MVC this doesn't work for me. Do you have any ideas on how to proceed TIA
1 1815 1

Skin object      

Started By  Kristian Radolovic
Is it possible to have multiple moduleControls in a skin object as in a regular module If the answer is yes, how do i declare those controls in the module manifest
2 1503 2

React SPA Portal:ID      

Started By  drcz
Hi, I want to create a React SPA and I will need to get DNN tokens like Portal:ID or User:ID. How you can make available and to SPA
2 1794 1
by drcz

Custom Views folder location for module      

Started By  NielsMitte
I'm trying to use multiple folders for my views in a custom MVC module for DNN. The goal is to choose a theme in the module settings and then depending on the setting use a different view folder (i.e. use different cshtml files for the actions). Is there a way to tell razor that it should look up other locations first (Can I use the ViewLocationExpander in DNN for my module) Thanks!
2048 0

Upgrading from 9.1.1 to 9.4.4 and Globals.NavigateURL      

Started By  Deleted User
I am planning to upgrade my DNN site (WebForms) from 9.1.1 to 9.4.4. I am doing a test run on local machine. After I upgraded I see the following warning when I compiled my custom modules. Going to NaviagateURL documentation doesn't give any information on what replaced it. What replaced it Globals.NavigateURL(int, string, params string[])' is obsolete: 'Deprecated in Platform 9.4.2. Scheduled removal in v11.0.0.
14 13015 0

Replace Deprecated in Platform 9.4.2      

Started By  Mac
Dealing with replacement of two depcrecated methods somewhat releated in our code. This first one, I see has its own threads, so I will avoid it. 'Public Overloads Function NavigateURL() As String' is obsolete: 'Deprecated in Platform 9.4.2. The one I am interested in is commonly used as a paramter to the first: 'Function GetCurrentPortalSettings() As PortalSettings' is obsolete: 'Deprecated in Platform 9.4.2. I replaced  Dim PortalSettings As Entities.Portals.PortalSettings = ...
5 3532 3
by Mac

Building DNN Platform / Alpha Version Page Title      

Started By  Andreas
Hi! I hope this is the right section of the forum. I tried to make a build of version 9.4.1 and when I put the files online I got the 'Alpha Version' appended to the title. I simply ran .\Build.Ps1. For now I set 'DisplayBetaNotice' to 'N' in the HostSettings table to get rid of it. Is there some way to make a build that doesn't require changing the HostSettings table Am I missing some options or changing some config file before making the build Was this something only occurring with ...
2 1893 1
by Andreas

Javascript code for tooltip fails after Autopostback      

Started By  Duncan Ion
I have Javascript code : Dollar(document).ready(function(){ dollar('data-toggle='tooltip'(); }); and associated entry in HTML: Link: a class='My_Tooltip' href='' data-toggle='tooltip' data-placement='left' title='Help: Text' ... Which works: (one exception: the class .My_Tooltip  .tooltip > .tooltip-inner appears not to vere from the 'standard' black...) However, elsewhere on the module, I have a checkbox with autopostback that, when I use it, appears to revert the tooltip to st...
2567 0
Page 10 of 18 << < 89101112 > >>


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