问题标签 [dnn9]

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.

0 投票
1 回答
30 浏览

dotnetnuke - 如何操作 2sxc/dnn 搜索结果标题?

有人知道如何操作 2sxc/dnn 搜索结果标题吗?

像 si.Title 之类的东西?

因为目前搜索结果显示的是页面标题而不是帖子标题。

我尝试了上面的代码,但它不起作用。

2sxc 文档:https ://docs.2sxc.org/api/dot-net/ToSic.Sxc.Search.ISearchItem.html

0 投票
2 回答
82 浏览

dotnetnuke - 如何从外部非 DNN 网站访问 2sxc API

我正在尝试使用邮递员访问 2sxc api,但由于某种原因无法正常工作。

我正在使用 [域]/DesktopModules/api/2sxc/counterApp/List/persons

但我收到 404 错误。

使用 $2sxc 确实有效。但我想从非 DNN 网站拨打电话。代码:照片:2sxc api 控制器

0 投票
2 回答
26 浏览

dotnetnuke - 哪个版本的2sxc内容模块稳定,源码中引用正确,可以在本地部署启动?

我需要在我的电脑上本地部署和启动 2sxc 模块源代码。哪个发行版本是稳定的并且有正确的参考?我在 11.05.00 版本上尝试过,但到目前为止还没有成功。

0 投票
1 回答
24 浏览

dotnetnuke - 如何在带有文本字段而不是实体字段的 2sxc 可视化查询中使用关系过滤器?

我正在尝试与此示例在标题“属性关系以查询其他字段”下所做的相同。我正在编辑博客应用程序可视化查询。所以我有RelationshipFilter,它Category通过Default入点获取类型的实体。我想按字段过滤它们Name。在这里,我可以从参数或帖子列表及其类别中获取名称列表。据我了解,这不是问题。

所以看起来Name必须是实体类型。我现在正在努力使用这个过滤器,因为我想按简单文本类型Category的字段进行过滤。Name这意味着我在Relationship Attribute. EntityTitle或者只是空Relationship Attribute字段不起作用并导致Bad Request错误。那么有没有办法让它工作呢?

PSValueFilter不是一个选项,因为它不支持在没有满足条件的项目的情况下不返回任何内容,并且它仅支持按项目的过滤器Attribute,它包含Value并且没有选项Value可以包含任何Attribute带分隔符的选项。

0 投票
1 回答
83 浏览

dotnetnuke - 完成从 Dnn 9.1.1 升级到 9.3.0 后出现 HTTP 503 错误

通过传输升级 zip 文件并在主机登录后完成升级向导过程成功升级后,当我单击“访问网站”按钮时出现错误 HTTP 503。浏览日志文件后发现错误日志

问题发生在 Live 站点

0 投票
0 回答
43 浏览

dotnetnuke - Dnn 升级回滚后的问题

最近我从 Dnn 9.1.1 升级到 Dnn 9.3.0 。由于一些错误,我不得不回滚到早些时候对网站和数据库进行的备份。一切似乎都很好,除了在角色栏中单击用户时显示的消息“找不到存储过程 Personabar_Getusers”。错误图像

0 投票
1 回答
124 浏览

content-management-system - 如何为我的 DNN 模块添加额外的视图?

我对 DNN 开发完全陌生,我使用 Christoc Modules 制作了一个模块,我所有的逻辑都在 view.ascx 页面中,我想添加一个新视图,基本上,它是一个按钮,当用户单击它时用户将被重定向到 view.ascx 页面,我到处寻找教程或示例,这些教程或示例很好地解释了逐步执行此操作,但我没有找到

0 投票
0 回答
19 浏览

dotnetnuke - 如何为 dnn9 模板创建设置部分?

我想为具有设置部分的 dnn9 创建一个模板。dnn 文档中没有关于它的解释。

我怎样才能做到这一点?

0 投票
1 回答
73 浏览

dotnetnuke - Can't edit certain pages on DNN site after upgrade to 9.01.01

We recently upgraded one of our client sites to 09.01.01 to address a Telerik vulnerability, and then had to migrate the site from managed.com to Azure due to manage.com's outage. After the upgrade, a couple of pages on the site have been uneditable using the pencil icon in the persona bar, although the rest work fine. We're aware of the workaround of going into content > pages and clicking the pencil icon there, but even then not all of the areas on the page are editable. For example, there's one instance of the HTML module on the homepage where when you click on its pencil and then click "Edit Content," it just displays a pop-up with the text but no WYSIWYG or way to actually edit. Other instances of the HTML module work fine, on other pages and even other areas of the homepage.

What's more bizarre is that we just spun up another Azure VM and created a dev site from a clone of the live site so we could troubleshoot further, and this problem does NOT occur on that site even though it's an exact copy of the live site files and database and both sites are hosted in Azure.

Does anyone have advice on what might be causing this or how to troubleshoot? My original though was to clone the page and start removing modules one by one to see if anything made a difference, but it doesn't actually remove the module when I click delete. I've read about ways to do this directly in the database, but I'd prefer to avoid that if possible, especially since we're not seeing the same problem on the cloned site.

Thank you!

0 投票
1 回答
88 浏览

smtp - DNN SendGrid 配置不起作用

我正在使用 DNN 9.1,并尝试通过我的 SendGrid 用户名和密码设置 SMTP 配置,但始终出现此错误。 在此处输入图像描述

仅供参考,我的旧帐户工作正常,但突然停止工作,我创建了一个新帐户并将其添加到 DNN,但仍然出现相同的问题,有什么建议吗?

编辑 我在 DNN 管理日志门户中发现了这个错误日志

AbsoluteURL:/API/PersonaBar/ServerSettingsSmtpHost/SendTestEmail

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

异常GUID:c3cbbedf-c450-4c50-82ad-3bc0f946d8fe

组装版本:

PortalId:-1

用户 ID:-1

标签号:-1

原始网址:

推荐人:

用户代理:

异常哈希:FbT04vCDY1wSj04IwamtapyPstw=

消息:无法从传输连接读取数据:net_io_connectionclosed。

堆栈跟踪:

在 System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine) at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine) at System.Net.Mail.SmtpReplyReaderFactory .ReadLine(SmtpReplyReader caller) at System.Net.Mail.CheckCommand.Send(SmtpConnection conn, String& response) at System.Net.Mail.MailCommand.Send(SmtpConnection conn, Byte[] command, MailAddress from, Boolean allowUnicode) at System System.Net.Mail.SmtpClient.Send(MailMessage 消息)InnerMessage 处的 .Net.Mail.SmtpTransport.SendMail(MailAddress 发件人,MailAddressCollection 收件人,String deliveryNotify,Boolean allowUnicode,SmtpFailedRecipientException& 异常):

内部堆栈跟踪:

来源:系统

文件名:

文件行号:0

文件列号:0

方法:

服务器名称:yoga-van-devweb1