Questions tagged [2sxc]

Anything related to 2sxc, the content-management module & app-engine for DNN/DotNetNuke.

582 questions
1
vote
1 answer

How to use App.Resources in a mail template

I'm using the 2sxc forms app to send emails, but I need to use App.Resoures in the mail template. I use this: var templateMailEngine = TemplateInstance("mailtemplate.cshtml"); var templateBody = templateMailEngine.Message(contactFormRequest,…
João Gomes
  • 312
  • 2
  • 12
1
vote
2 answers

.Where in list gives error for using dynamic types in 2sxc

I have this working code: @{ var ekgList = AsList(App.Data["Ekgs"]); foreach(var ekg in ekgList) {
@foreach (var entitiesFromSinusDataType in ekg.Sinus) { …
João Gomes
  • 312
  • 2
  • 12
1
vote
2 answers

WYSIWYG Editor will not activate in Chrome

Asking and answering in case (unlikely) anyone else comes across this. We had a few users (4 out of maybe 15) report that the default WYSIWYG editor would not activate at all in v10+ 2sxc. We finally figured out that the client's IT dept had Chrome…
Jeremy Farrance
  • 740
  • 6
  • 11
1
vote
2 answers

How can I get a list of pages where a View is in use?

I have a large site using the Content App and we have a wide variety of Views. In both testing and development we increasingly need to know what pages a View is in use. As I said, the site is large, well past 500 pages, knowing what page a View got…
Jeremy Farrance
  • 740
  • 6
  • 11
1
vote
1 answer

2sxc Permissions.UserMayEditContent not available anymore

Since the latest 2sxc version 10.20+ the property Permissions.UserMayEditContent isn't available anymore. Error message: The name 'Permissions' does not exist in the current context... I have implemented the use of latest features of 2sxc 10.20+ by…
Nicolo
  • 215
  • 2
  • 8
1
vote
1 answer

2SXC - SearchIndexException: Search: Error while indexing module

I'm getting the dreaded DNN Error "An unexpected error has occurred" with a link to return to the site. There's no other information displayed here so I checked the logs under \Portals\_default\Logs\ and found this: 2019-09-26 10:15:02.052-05:00…
TheIronCheek
  • 1,077
  • 2
  • 20
  • 50
1
vote
2 answers

How do I force content editors to upload images via ADAM in 2SXC?

In a content item, I have a "Link" field for "Speaker Photo" to let my content editors upload images. I only want my users to upload through ADAM (whether drag and drop or using the ADAM button). I want to prevent users from typing in (or copying…
1
vote
1 answer

How to disable index searching on the list and just get the articles indexed on search results?

Using 2sxc Blogg App and when using search I get the results of the blog home page listed, which simply list the blog home and the article titles which all take the user to the blog home page, so they are pretty much useless links, then I get the…
DNNdiva
  • 25
  • 6
1
vote
1 answer

TimelineJS App - How to Set the Height of the Content Area?

I've got the app working and all my entries entered. A few are causing a scroll bar to appear. I have reviewed the Timeline.js project docs and setting the height of the content area seems easy enough. However, after digging in on the 2sxc app…
Jeremy Farrance
  • 740
  • 6
  • 11
1
vote
1 answer

How to Configure Permissions in 2sxc News App

I'm using the 2sxc News App for DNN and I'm trying to figure out how to grant users the ability to add/edit/delete news posts without also granting them the ability to change the layout or edit the module. I tried to add the "2sxc Designers" role…
TheIronCheek
  • 1,077
  • 2
  • 20
  • 50
1
vote
1 answer

How to fix 'Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0' Error with 2sxc in DNN

I have a local DNN site and I am trying to use the 2sxc module to create content/apps before placing it on the actual production site. I tried to install the Razor Tutorial App and when I place it on the page I am given following output: Error:…
1
vote
1 answer

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

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,…
Ted Krapf
  • 403
  • 3
  • 11
1
vote
1 answer

Date always last entry

I have an app that ask 2 things 1. How do you feel? 2. what date is it? The answer to question 1 is shown correctly in the list but the date is always the value of the last entry. To display the date, I have in the…
1
vote
1 answer

DNN 2sxc blog sharing parent page's meta title and description

We are having a problem with Facebook share not showing the correct picture, meta title and description. Ex. something.com/blog/post/examplePostName/ is showing meta title and description of the something.com/blog/ parent page. When we view the…
Vcasso
  • 1,328
  • 1
  • 8
  • 14
1
vote
0 answers

Giving Journalists Draft Edit with the New 9.30 Permissions and $2sxc.cms.run

I am trying out the new permissions and $2sxc.cms API released in 2sxc 9.30. My goal is to allow journalists to create new blogs, see/edit their drafts, but only allow lead editors to publish. I have most features working: A journalist can add/edit…
MDM
  • 897
  • 6
  • 12
1 2
3
38 39