2sxc

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

$2sxc is not defined

点点圈 提交于 2019-12-11 16:59:21
问题 After adding Content module to a page, I just get a round blue icon with white glasses. Clicking on it produces an error in the console: ReferenceError: $2sxc is not defined 1 ui.html:20:5 <anonymous> http://localhost/DotNetNuke/desktopmodules/tosic_sexycontent/dist/ng/ui.html:20:5 Clicking 'Change Template / Layout' in pencil menu also does nothing. This happened after upgrading from 2sxc 8.12 to 9.02. I checked the file and of course could not see $2sxc defined anywhere. I have installed on

How can I detect the state of Content at View startup?

谁说我不能喝 提交于 2019-12-11 16:45:44
问题 Lets assume I have created my own custom view for a Link content type. When the user adds a 2sxc Content app to a Pane, then picks the Content Type (Link) then my custom View, when it first starts up, how can I detect that a) the View does not use a Demo item vs. b) the View uses a demo item and is showing the Demo item vs. c) its not the first time and there is a real user added Content (Entity) in place? I have done stuff like this for the a) case: var link = AsDynamic(Data["Default"])