2SXC Blog App - Post Detail Page - No demo item exists for the selected template

烈酒焚心 提交于 2019-12-11 17:15:39

问题


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."

Not sure what I'm missing.

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

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!


回答1:


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.

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 :)



来源:https://stackoverflow.com/questions/55403086/2sxc-blog-app-post-detail-page-no-demo-item-exists-for-the-selected-template

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!