|
|
|
|
|
2 Replies and 558 Views
Need to know about the DNN with React JS 558 2
Started by 3ART Technologies Company
Hi, everyone.
I am working in DNN since 2004 or 2005, but I haven&39;t tried to be react with DNN before. Can anyone tell me a "Hello world" custom module development tutorial in react js with DNN,
I already have a sound knowledge of creating API&39;s in DNN and the module packaging but i am not getting how react will run with the DNN
Looking forward for the responses.
|
|
|
|
2 |
558 |
|
|
0 Replies and 14 Views
Changing the title of a module control programmatically 14 0
Started by Michael Tobisch
It is easy to change the title of a module programmatically, something like
private void Page_Init(object sender, System.EventArgs e){
ModuleConfiguration.ModuleTitle = "Whatever";
}
But how can I do this for a control (eg. "Edit"). I know it is possible in the resource file by adding a key "ControlTitle_edit", but is this possible from the code behind somehow
Happy DNNing!
Michael
|
|
|
|
0 |
14 |
6/7/2023 4:11 AM |
|
1 Replies and 310 Views
Setting HTTP Response Tracking Cookies 310 1
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...
|
|
|
|
1 |
310 |
|
|
1 Replies and 171 Views
Inject html tag via hard code (C) 171 1
Started by Mahmoud Nouraei
Hi,
I want to create a provider that injects code into the page.
How to inject html code in all pages using a provider
For Example:
<html>
<head>
inject code (<link href=&39;www.site.com/home&39; Rel=&39;canonical&39; />)
</head>
</body>
......
</body>
</html>
|
|
|
|
1 |
171 |
|
|
1 Replies and 161 Views
Error GetRouteData 161 1
Started by devildog67
We&39;re using DNN version 8.0.4.
I&39;m getting the error below when my app routes to this URL when I&39;m trying to debug my module locally:
404 the resource cannot be found
https://dnndev.me/Home/Compare-Your...1679932804|
The error in the event viewer is:
Object reference not set to an instance of an object.
at DotNetNuke.Web.Mvc.Routing.StandardModuleRoutingProvider.GetRouteData
I&39;ve confirmed that the controller rates and method index exist in the app...in...
|
|
|
|
1 |
161 |
|
|
2 Replies and 153 Views
Role conflict - permissions to view pages (DNN 5.4) 153 2
Started by Seek
HI,
configured on a user, I have a role that allow to view a page, and another that deny it.
And in a utopian world, that would violate Kiri-kin-tha&39;s First Law of Metaphysics: "Nothing unreal exists".
In the DotNetNuke.Security.Permissions.PermissionProvider class, it clearly reads (permissionKey=&39;VIEW&39;):
private bool HasPagePermission(TabInfo tab, string permissionKey)
{
return (
PortalSecurity.IsInRoles(tab.TabPermissions.ToStr...
|
|
|
|
2 |
153 |
by Seek 3/28/2023 3:30 AM |
|
21 Replies and 10469 Views
NavigationManager 10469 21
Started by Michael Tobisch
Hi all,
I got a problem when replacing the Globals.NavigateURL() function with the new INavigationManager. What I have done:
namespace myNamespace
{
public partial class myControl : PortalModuleBase, IActionable
{
&91;...&93;
protected INavigationManager NavigationManager { get; }
&91;...&93;
region IActionable
public ModuleActionCollection ModuleActions
{
get
{
ModuleActionCollection actions = new ModuleA...
|
|
|
|
21 |
10469 |
|
|
2 Replies and 280 Views
DnnWebViewPage and @Html.DevExtreme() helper 280 2
Started by pzejer
I want to use DevExtreme control in DotNetNuke MVC module.
View in DNN MVC module inherits from DotNetNuke.Web.Mvc.Framework.DnnWebViewPage<someModel>
To use DevExtreme I comment this inheritance and gave: using DevExtreme.AspNet.Mvc to make a proper ref to Html.DevExtreme().
Problem is that without DnnWebViewPage any Url.Action() to proper controller action url is damaged.
Is it possible and how to make a DnnWebViewPage inheritance and even helpers with DevExtreme helper objects ...
|
|
|
|
2 |
280 |
|
|
5 Replies and 316 Views
How to test DNN manifest 316 5
Started by Seek
Hello developers,
how do you test the DNN manifest before releasing a new version of your modules
|
|
|
|
5 |
316 |
by Seek 3/14/2023 7:56 AM |
|
5 Replies and 764 Views
Problem modifying logout 764 5
Started by Joshua Rose
Creating an auth provider and I&39;ve had some success with login
But now that I&39;m working on logoff I can&39;t even seem to hit the breakpoint in the authentication provider I put together.
I see logoffHandler in web.config
<add name="LogoffHandler*" path="Logoff.aspx" verb="*" type="DotNetNuke.Services.Authentication.LogOffHandler, DotNetNuke" preCondition="integratedMode"/>
Not sure if it&39;s related. Maybe I need...
|
|
|
|
5 |
764 |
|