Fork me on GitHub
2sxc 9.0 for DNN 7 to 9
Website Builder, Content Manager, App-System: free and amazing - done your way
You are here: Home  >  Docs

2sxc Documentation

We are currently re-working the documentation structure. The new structure will be:

  1. API documentation for Razor/C#, JavaScript (incl. $2sxc and $cms), WebServices, Edit-UIs etc. will be found on the 2sxc wiki.
  2. Features-documentation will be found on this page
  3. Learning tutorials and concepts will be in Learn
  4. Blogs, examples etc. are of course in Blog

Features of 2SexyContent with Details and How-To-Use

Filter by

Simple Apps allow quick deployment, installation, testing and clean removal without side effects. Install an app, adapt to your needs - simple and standardized, using tokens and razor. (added 06.00.00)
Tags: Entities, Lists, Linking, Razor, Token, Multi-Language, Apps,

The user can choose whether he wants to add an item to a list and immediately show a demo-record (with the [+] button), or just open a dialog which doesn't add anything if he cancels. (added 05.05.01)
Tags: Apps, Entities, Lists, Lists with Details, new in 6.x,

Now you can easily get all Categories with App.Data["Category"] or all questions with App.Data["Question"]. You can also use this as the input for further filtering, sorting and more. (added 06.01.00)
Tags: Apps, Content Types, Data and Data Sources, Database, Entities, For experts, Lists, Multi-Language, new in 6.x,

To access data from 2SexyContent inside JavaScript, just enable the publish-feature and you will get a JSON-feed with all the data. We recommend to use this together with the JavaScript-API giving you a seamless Sexy-JavaScript experience! (added 05.02.00)
Tags: JavaScript, Design, Lists,

This data source ensures that duplicate requests are served from the cache and that the query doesn't happen any more. (added 07.02.00)
Tags: Visual Query - Data Pipeline Designer, SQL, DataSource, New in 7.x, WebApi, Query (Data/Visual), Lists, Data and Data Sources, Database, For experts,

Since 2sxc 8.4 you can create content-blocks inside other content blocks. This allows you to create list/details scenarios and still use designed 2sxc-content block or even gallery apps inside the details-page. (added 08.04.00)
Tags: Content Types, Design, DNN/DotNetNuke, for designers, For experts, Lists, Lists with Details, new in 8.x,

CSVs are a popular file format to sync data from a backend system like an ERP into the web site. Now you can just use the exported file as data, cache it, publish - whatever you want. (added 07.02.00)
Tags: Data and Data Sources, Database, DataSource, For experts, Lists, New in 7.x, Query (Data/Visual), Visual Query - Data Pipeline Designer, SQL,

Supports placing all data in the module into the DNN-Search. This works for simple items (like title/text/image) as well as for lists. The special feature is that it allows you to change how the index works. You could specify an alternate (detail-page) url for each item. (added 06.02.00)
Tags: Apps, Data and Data Sources, Entities, For experts, Razor, new in 6.x, Lists, Lists with Details, Search,

Now you can easily add any kind of data to the pipeline with the DataTableDataSource. This is great for adding XML, RSS, NoSQL sources, Resx-files and much, much more. (added 06.00.06)
Tags: Apps, Data and Data Sources, Database, Entities, For experts, Import/Export, Lists, Lists with Details, new in 6.x, Razor,

Easily access backend data with a DataSource. Attach some filters and viola! you get a very powerfull, configuration based data query system. (added 04.00.00)
Tags: Apps, Lists, Lists with Details, Razor, For experts, Database, Data and Data Sources,

To keep things nice and separate data-preparation from data presentation we added a method called CustomizeData(). This is always called before the template is processed - for showing, for JSON delivery and for search-indexing. (added 06.01.00)
Tags: Data and Data Sources, Database, For experts, Razor, new in 6.x, Lists, Lists with Details, Search,

A data source which will deliver Form And List data (formerly known as UdT or User Defined Table) to your templates, razor, tokens or WebAPI / JSON. (added 07.00.00)
Tags: DataSource, Data and Data Sources, For experts, Lists, New in 7.x, Query (Data/Visual),

This input-type is for creating url-parts which are safe, lower-case and without special characters. It prevents bad input and can automatically be populated based on another field - like the title. Use it to define URLs for News, Blogs, Artices, Real-Estate-Items and more. (added 08.03.05)
Tags: Admin and Edit Dialogs, Content Types, Editing, Linking, Lists, new in 8.x, Field Configuration,

Amazingly simple integration with knockoutJS. An amazingly simple data-backend using 2SexyContent, a cool JS-Framework to play with the output - all connected with the Data-Pipeline of 2SexyContent. (added 04.00.00)
Tags: JavaScript, Import/Export, Lists, Lists with Details, Razor, Token, Apps,

Once you apply a list to a template, you suddenly have multile items presented - maybe as a table or as a designed list. What you then often need is a way to add a title before that or create settings for the way the list is presented. (added 03.00.00)
Tags: Razor, Token, Lists, Lists with Details, For beginners,

Designed content can be one item, or it can be an entire list of items. This is very easy to do. (added 03.00.00)
Tags: Razor, Token, Lists, Design, For beginners,

Use 2SexyContent to create lists and then show cool detail pages in lightboxes or otherwise. All SEO-optimized. (added 04.00.00)
Tags: Razor, Lightbox, Linking, Lists, Lists with Details,

Sometimes you want to pre-fill a new Entity with existing information - like the current date, the users name, or data from another list like a file-ID or infos from an XML-Stream. This is now possible. (added 05.05.01)
Tags: Entities, Lists, Lists with Details, Apps, new in 6.x,

Now you can connect entities (like authors and books) in awesome ways. Also extremely usefull for tagging and similar scenarios. (added 05.03.00)
Tags: Lists, Linking, Field Configuration, Entities, Razor, Relationships,

You can create templates that allow configuration with the Presentation-Element. For example, you could configure image-size or placement, click-behavior or show/hide things in your template. (added 03.00.00)
Tags: Content Types, Lists, Razor, Token,

It was always possible to use SQL data before, but with the new data sources it actually is fun to use and fully integrated. (added 06.00.06)
Tags: Apps, Database, Data and Data Sources, Entities, For experts, Lists, Razor, new in 6.x,

2sxc comes with two built in view engines. The Token-Engine uses simple placeholders like [Content:Title] and allows you to do amazing things - with very simple technologies. (added 01.00.00)
Tags: Token, Design, For beginners, for designers, for javascript developers, AngularJS, HTML and CSS, JavaScript, Lists, Multi-Language, Visual Query - Data Pipeline Designer,

Use this to filter / find one or more items comparing values like name, category etc. Since 08.05 it also has many comparisons like contains, between, etc. (added 07.00.00)
Tags: Data and Data Sources, DataSource, Entities, For experts, Lists, Lists with Details, new in 8.x, Query (Data/Visual), Visual Query - Data Pipeline Designer,

Error rendering template
2serve . 2invent . 2create is 2be.