问题标签 [dotnetnuke-module]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
dotnetnuke - DNN- 提供基于会员的皮肤的最佳方式?
我将在 dotnetnuke 中开发基于会员的门户。
同样,我想允许门户管理器为用户定义皮肤。
告诉我我该怎么做?
c# - 在 SQLDataProvider 中执行 SP
我有一个带有 sqldataprovider 的 DNN 模块安装 Zip,创建的第一个过程创建了一个更改表并添加一些列的过程。但它所做的只是创建过程。我还需要它来运行和创建列或 datasqlprovider 中的其他存储过程失败,因为列不存在。所以我有这个:
它可以很好地创建存储过程,我只需要它实际运行来创建列,以便其他存储过程成功运行。有任何想法吗?
dotnetnuke - 是否存在用于在 DotNetNuke 中创建结构化内容的模块?
假设我有一个网站,展示了一家公司的各种功能,每个功能都构成一个单独的页面。每项功能都将包含大量案例研究,每个案例研究由图像、标题、描述和两个或三个其他字段组成。然后,这些分类的案例研究需要以各种配置显示在整个站点的各个页面上,在一个地方的旋转器上,在其他地方的所有案例研究的大列表中。这个想法的另一个例子是员工目录。每个员工都有一张照片、一个职位、一个电话号码等。我希望能够设置所需的字段,输入这些数据一次,然后在整个站点的不同位置使用这些信息。
DotNetNuke 是否存在允许以这种方式组装和访问结构化信息的组件?在 WordPress 中,这将通过自定义字段和自定义帖子类型来完成。在 Drupal 中,我会使用 CCK 之类的东西。DotNetNuke 如何完成这项任务?我只需要指出正确的方向。稍微修改一下,我可能可以重新利用一个强大的博客模块,比如 SunBlogNuke,而且我已经看到其他模块似乎做的事情有点类似,但我不愿意花费大量客户资金来寻找解决方案我认为这是一个相当普遍的挑战。这将如何最好地完成?任何人都可以提供的任何指导将不胜感激。
dotnetnuke - 如何在 DNN 6 的页面上添加模块用户控件?
(这就是我的模块定义的样子。)
我正在使用 DNN 6,并且我有带有以下用户控件的模块。现在,当我在页面上添加要添加的模块时,它总是显示 View.ascx;那么如何显示 pagestarter.ascx 呢?
我的目标是我有页面 A,它应该显示 VIew.ascx,我有页面 B,应该显示 PageStarter.ascx。
asp.net - Casting Problems in Dotnetnuke Blog
i have installed blog module on my dotnetnuke site, now the problem is the default binding in the viewbog.ascx
file is CodeBehind, by which i cannot execute the .vb
code, so i have changed the CodeBehind to CodeFile, it throws the Error:
in .vb
file, the default inherits is BlogModule, i thought that might be causing error, i changed it to System.Web.UI.UserControl
still i am getting same problem can anyone tell what could be causing this issue.
c#-4.0 - 如何从 DotNetNuke 中的 url 获取选项卡 ID
我有一个网址(例如http://localhost/Aanbod/Pagina.aspx)并且我想知道标签 id,所以我可以使用查询创建一个友好的网址(例如http://localhost/Aanbod/Pagina/QueryKey/查询值/ )。
有人有想法吗?
编辑:
我不在页面本身。想从任何可能的页面了解它。
url 本身不包含选项卡 ID,因此无法提取。
c# - 如何使用 Skin.AddPageMessage() 方法?
我正在开发一个 DNN 模块,我想在我的 ContentPane 顶部显示一条信息消息,而不是在实际模块上方。我发现DotNetNuke.UI.Skins.Skin.AddPageMessage()
应该做的事情。我没有得到我想要的行为,消息根本不会显示。
这个方法的重载很少,一组接受一个Page
对象,另一组接受一个Skin
对象。
我确实查看了 DNN 源代码,发现最终它们实际上使用了相同的private static AddPageMessage(...)
方法,它只是在提供的控件中查找 ContentPane 并将新的控件添加ModuleMessage
到其控件集合中。
我应该通过什么作为参数Page
或Skin
参数来使这个正确的工作?
谢谢 ...
c#-4.0 - 如何在 DotNetNuke 模块中抛出 404
我想从我的模块中抛出一个 404 file not found 异常,但是每个异常都被 DNN 捕获并且没有显示我的 404.aspx 页面(仅来自 DNN 的错误页面)。
在我的 web.config 中,我添加了:
&
打开不存在的页面时效果很好。但是尝试对我的模块做同样的事情并没有给我同样的结果......
我尝试了以下但没有成功:
dotnetnuke - Unexpected Error in content staging DNN6 Enterprise
guys! I've got a very strange error when trying to connect two portals.
When I press whatever 'connect portals' or 'test connection' buttons a red error appears sayin' "An unexpected Error has occurred while validating your request". Yikes!
So, I ensured the similar workflow is running on both sites. Next, I've done some debugging and discovered the malfunctioning method in
DotNetNuke.Enterprise.ContentStaging.StagingClientController.cs
public bool PingServer(string address, int portalId, Guid token)
{
/*====somecode====*/
client.PairService(request);
/*====somecode====*/
return true;
}
So, the pair service. After some more advanced debugging I've found a root of evil:
The INSERT statement conflicted with the FOREIGN KEY constraint "FK_PortalSettings_Portals". The conflict occurred in database "MyDNNDatabase", table "dbo.Portals", column 'PortalID'. The statement has been terminated. Gosh!
So, I've removed the specified constraint and saw a strange thing in my database. DNN tried to add another LocalServerToken with testing site ID though a targetServerAddress and TargetServerToken with Production site ID were expected to be added.
So, I've deleted a site and created a new one using the template. No luck as I expected.
THe last thing I did was manual adding a targetServerAddress & TargetServerToken in my database. The sites seemed to be connected but when I couldn't authenticate as Host and publishing content caused the same unexpected Error.
Anyone know the damn module so deep?
c# - 我可以在不将页面限制到特定模块的情况下呈现 DotNetNuke 模块的控件吗?
我正在开发一个 DotNetNuke 模块,该模块由几个不同的屏幕组成,每个屏幕都有自己的一组用户界面交互。我决定通过将每个屏幕放在不同的模块控件中来处理这个问题。我能找到加载该控件的唯一方法是通过以下方式为链接提供 URL:
不幸的是,由于mid=xxx
查询参数,这将页面限制为仅呈现此特定模块。但是,如果我不提供模块 ID 参数,那么我的控件根本不会呈现并且页面是空白的。
有没有办法在不强制页面只显示一个模块的情况下呈现特定控件?