|
|
|
|
|
6 Replies and 212 Views
Extending Globals class 212 6
Started by Seek
Hello,
I need to extend the sealed class Globals.
My former colleagues have modified the class directly, but honestly I do not consider the best way...
I need to add properties and the practice would be for me to create an Adapter class. Then I have to add some methods and redefine others and in this case I have to write an Extension class.
The question is: what is the best way to achieve the 2 things possibly using only one class
Thanks
S.
|
|
|
|
6 |
212 |
|
|
1 Replies and 69 Views
Browse for media in module editor 69 1
Started by Russell
I have a custom module and I want the user to be able to select uplaoded media to be displayed by the module. I need the user to be able to click a button and view the availabel media in much the same way as clicking the insert image button does on the html editor module.
Any suggestions welcome.
|
|
|
|
1 |
69 |
|
|
1 Replies and 87 Views
Migrating modules from DNN 7 to 9 87 1
Started by Seek
Hello devs!
I need to upgrade my modules from DNN 7 to DNN 9.latest (now 11).
I know that there are many differences between the 2 versions and I would like to understand which is the correct path to achieve this.
I have to port 65 projects (including skins, providers, visual components and many other things) and I thought of doing it like this:
Understand the architectural differences between the 2 versions: I don&39;t know where to find specific documentation.
Understand the di...
|
|
|
|
1 |
87 |
|
|
1 Replies and 71 Views
How to use licensed Telerik? 71 1
Started by Ana_Dana
I recently upgraded to DNN 9.11.0, and the install couldn&39;t remove Telerik as we have quite a few custom modules which use Telerik. I see that the Telerik version that is installed with DNN has security vulnerabilities. I have a developer license for Telerik. I want to to use the latest version of Telerik in my custom modules. Luckily, we used Telerik Controls directly. I see the notes and steps from this link: https://docs.dnncommunity.org/content/getting-started/setup/telerik-removal/...
|
|
|
|
1 |
71 |
|
|
0 Replies and 43 Views
Setting HTTP Response Tracking Cookies 43 0
Started by David Fenske
I have a client requesting to add a server-side HTTP Response Header cookie to implement Rakuten advertising tracking in a way that Apple products won&39;t reject (no 3rd party or JavaScript implemented cookies). Apart from my personal feelings about whether this is a good idea, I promised to research it. It looks like it would be pretty simple to implement on a PHP based site, but here&39;s the only thing I can find about implementing it in the ASP.net world:
https://learn.microsoft.com/en...
|
|
|
|
0 |
43 |
1/25/2023 11:43 AM |
|
1 Replies and 68 Views
A question on RedirectURL 68 1
Started by Joshua Rose
My custom login for DNN is setting a value for RedirectURL
this.RedirectURL = retURL.Value.ToString();
This works fine for any site based url or path that&39;s passed to it. (and I swear that it worked external URLs that I tested)
But if the retURL.Value is an external site some DNN framework setting is stripping it or blocking external URLs after this:
this.OnUserAuthenticated(eventArgs);
I&39;m thinking there might be a setting I missed, though recently tons of cybersecurity t...
|
|
|
|
1 |
68 |
|
|
7 Replies and 452 Views
Custom module throwing exceptions when updating settings 452 7
Started by John A
Hello,
I noticed a some strange behavior today when updating any(all custom modules) of my module settings. My module runs just fine, and even updates fine. But after a do an update I see this in error log about 4 times:
DotNetNuke.Services.Exceptions.Exceptions - System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndD...
|
|
|
|
7 |
452 |
|
|
2 Replies and 135 Views
Starting point to add input type=file to DNN module 135 2
Started by Joshua Rose
I&39;m just looking for an example of adding a file upload for a DNN module (in edit or settings)
If possible maybe an example that reads an excel file I think I have raw DNN and I can do this in another language on a seperate page (maybe admin access I-frame) but that will sort of break the concept of making a module in the first place.
Thanks for your help
|
|
|
|
2 |
135 |
|
|
3 Replies and 213 Views
Strange Exceptions 213 3
Started by John A
DNN 9.7.2
I am getting an exception usually at night on a new project of mine. It is deployed to a hosting provider and visable to everyone.
My exception is : Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the <configuration>\<system.web>\<httpModules> section in the appli...
|
|
|
|
3 |
213 |
|
|
7 Replies and 586 Views
How to lock user account programmatically? 586 7
Started by devildog67
I need to lock a user account programmatically. We&39;re using version 08.00.04 (226) and coding with C.
I&39;ve search Google, StackOverflow, etc. but haven&39;t been able to find a way to do this. Is this not possible in DNN
Thanks
|
|
|
|
7 |
586 |
|