Fork me on GitHub
DNN Apps - Demo-Zone
Discover DNN-Apps - simple and elegant, easy to customize
You are here: Home  >  Apps  >  Timeline JS

Look inside

Content Item

These are the values a content-editor can manage.
Name Type Value
Headline System.String DotNetNuke is born
StartDate System.DateTime 2/2/2003 12:00:00 AM
EndDate System.DateTime 2/2/2003 12:00:00 AM
Body System.String
Media System.String
MediaCredit System.String
MediaCaption System.String

Presentation Item

These are additional, optional presentation instructions a content-editor can manage. If none are entered, a default set (predefined by the designer) will be used.

No Presentation parameters specified, using default presentation for this item.

Template file


    /// <summary>
    /// This will ensure data is published via JSON without specifing in the module settings
    /// </summary>
    public override void CustomizeData()
        Data.Publish.Enabled = true;
        Data.Publish.Streams = "Default,ListContent";


<script type="text/javascript" src="/DesktopModules/ToSIC_SexyContent/Js/2sxc.api.js" data-enableoptimizations="true"></script>
<script type="text/javascript" src="@App.Path/assets/TimelineJS/js/storyjs-embed.js"></script>
<script type="text/javascript" src="@App.Path/assets/scripts.js" data-enableoptimizations="true"></script>
<link rel="stylesheet" type="text/css" href="@App.Path/assets/styles.css" data-enableoptimizations="true" />

<div class="timeline-embed" id="timeline-embed-@Dnn.Module.ModuleID" data-moduleid="@Dnn.Module.ModuleID"></div>

2serve . 2invent . 2create is 2be.