Anything related to 2sxc, the content-management module & app-engine for DNN/DotNetNuke.
Questions tagged [2sxc]
582 questions
0
votes
1 answer
2sxc: js to directly add child entity
In SexyContent, I have a data type "Parent" with an "Entity" type data field called "Child". When I am in the edit form for "Parent", I can add or remove values for "Child" that are linked to Parent.
Now, I'd like to add a button in a view that…

Mike
- 107
- 7
0
votes
1 answer
2sxc: Field Date and Time default value
I need to have in my fields a datetime content type.
Looking for documentation I found same here http://2sxc.org/en/Docs-Manuals/Feature/feature/2874
Date and Time
no relevant settings to explain. Note that the
output-template will usually…

Giovanni Manzo
- 85
- 7
0
votes
1 answer
2sxc Employee app List sort in visual query by modified date
For my pourpose I need to sort Employee app list items by last modified date.
I see that in the object there is a Modified that is a date field (I assume it is a 2sxc internal field).
Using the Value sort datasource setting Modified as attribute I…

Giovanni Manzo
- 85
- 7
0
votes
0 answers
2sxc template error when under Host file system
Im using the Tiles app from 2sxc.org. When the Razor template location is selected as Host File System it throws the following error
Web.Config
under /Portals/0/2sxc folder where razor template works
…

user366123
- 153
- 10
0
votes
2 answers
2sxc Relationship Filter without EntityTitle
I'd like to use the relationship filter to filter for a tags. This works fine when I pass a text string and it can search the EntityTitle, but I'd like to pass an entity_id to the filter.
I noticed in the details of the query results that the…

Mike
- 107
- 7
0
votes
1 answer
How do I use two data lists in one app?
I've created several apps with a single list, but in this specific area I'd like to use two lists in a single app. Is there a way this can be done, and if so how would I refer to the correct list in the repeater/loop?
Here's an example of how I…

Ben
- 3
- 1
0
votes
1 answer
2sxc: Permissions by Field
In 2sxc for DNN, is it possible to set visibility or edit permissions by the field rather than the entity type or template? I'm imagining a case where I want a public form where the submitter can add "Issue" and "Description", but then a staff…

Mike
- 107
- 7
0
votes
2 answers
2sxc: Adding more content templates in the same page does replicate link tags for css and js
I'm new to dnn and 2sxc.
Just wondering if I'm adding for example a card template (image,some text, a link), adding in the html template link tag to css/js, when adding that content more times in the page obviously the link tags are replicate in…

Giovanni Manzo
- 85
- 7
0
votes
1 answer
2sxc 8.5 Entity picker, change a selected entity
Given:
Content type: Book
Content type: BookShelf, w/field Book. Book is Entity.
In 2sxc 8.5:
Make 2 Book entities.
Make 1 BookShelf entity.
Point BookShelf/Book to a Book
Point BookShelf/Book to a different Book
Not sure how to do #4 in the…

EzraM
- 139
- 6
0
votes
1 answer
2sxc: data-list App related questions
I have a list named 'Announcements' (created in the 2sxc app administration), It is used for 'Announcements-built-in-board' App on DNN portal and is an 2sxc App.
My questions are:
Why I cannot delete / unpublished a record from the floating…

DMagician
- 21
- 3
0
votes
1 answer
2sxc: Any way for forcing menu to appear Left-To-Right on inside a Right-To-Left div
Good morning,
Is there any way for achieving result as in the attachment?
The Blue one (on the right) is how it is currently displayed.
The Orange one (on the left) is how I want it to be displayed
Current and required
EDIT:
This is the CSHTML…

DMagician
- 21
- 3
0
votes
1 answer
2sxc : Query designer - less than or empty (and / or)
I have entity with field "DateEnd" that is not required.
I want to make query with query designer to filter all items with "DateEnd" field les than value (eg.:"2016-06-01") or empty value for "DateEnd"
I know that I can add value filter…

Jernej Pirc
- 504
- 1
- 4
- 13
0
votes
1 answer
2sxc : Prefill value for multiple entity type
I have entity field "Tags" that allow multiple values and If I create default value for this field that way:
[{entity1-guid},{entity2-guid}] everything is OK when I create new object with this field.
But If I want to use prefill for new object and…

Jernej Pirc
- 504
- 1
- 4
- 13
0
votes
1 answer
2sxc: List Count Minus Unpublished
How do you get a list of visible/published items. I am doing a List.Count(), but only want to include visible items in the count. I thought about looping through the list but the items don't seem to have a visible property.

nextoneup
- 23
- 3
0
votes
1 answer
DNN 2sxc Razor template - if user is authenticated
In 2SXC, I have a content type and a razor template. In the template, I want to show some content if the user is unauthenticated (not logged in) and then show something else if they are. How would I write this if statement?

Aaron - Wolf X Machina
- 443
- 1
- 3
- 13