2SXC博客应用-帖子详细信息页面-所选模板不存在演示项目 [英] 2SXC Blog App - Post Detail Page - No demo item exists for the selected template

查看:76
本文介绍了2SXC博客应用-帖子详细信息页面-所选模板不存在演示项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

单击博客帖子以显示该帖子的详细信息页面时,不会加载详细信息.而是有一个错误显示为所选模板不存在演示项目."

When clicking a blog post to bring up the post's details page, the detail does not load. Instead there is an error that reads "No demo item exists for the selected template."

不确定我缺少什么.

平台: DNN v9.2.2, 2sxc App v9.32.1, 2sxc App博客v03.00.02

Platform: DNN v9.2.2, 2sxc App v9.32.1, 2sxc App Blog v03.00.02

这是我第一次安装2sxc,到目前为止非常喜欢,谢谢! 我添加了博客应用程序.那里有3个(或4个)示例博客帖子,并且一切似乎都正常运行.我将作者编辑为我们的作者之一.我删除了除最新博客以外的所有博客文章.我编辑的最新文章是该网站的新实际帖子.

This is my first install of 2sxc, love it thus far, thanks! I added the blog app. The 3 (or four) example blog posts were there and things seemed to be working correctly. I edited the author to be one of our authors. I deleted all the blog posts except the latest one. The latest one I edited to a new actual post for the site.

当我单击博客文章以显示其全部详细信息时,我得到所选模板不存在演示项目".错误信息.我还尝试了一篇新的博客文章,而新文章也遇到了同样的问题.

When I click on the blog post to bring up it's full details, I get the "No demo item exists for the selected template." error message. I also tried a new blog post, and the new post suffers from the same issue.

我不确定我缺少什么.您能提供的任何帮助将不胜感激!

I'm not sure what I'm missing. Any help you can provide would be greatly appreciated!

推荐答案

由于您已经清理"了一点,我想您可能已删除了配置为视图默认设置的演示条目.这不是必需的条目,但在开发过程中通常会有所帮助.

Since you "cleaned up" a bit, my guess is you probably deleted the demo-entry which is configured as a default for a view. This isn't a necessary entry, but usually helpful during development.

我建议您转到应用程序管理(省略号按钮,直到看到一个1齿轮图标,然后单击该齿轮).然后去查看.编辑视图发布详细信息",然后将Content-Demo-Item设置为您仍然拥有的视图,然后就可以使用了:)

I suggest you go to app-administration (ellipsis button till you see a 1-gear-icon, click on that gear). Then go to views. Edit the view "Post Details" and either set the Content-Demo-Item to the one you still have, and you should be good to go :)

这篇关于2SXC博客应用-帖子详细信息页面-所选模板不存在演示项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆