SwissChecklist

Checklist: Create Template with Tokens for 2SexyContent

This checklist helps you creating a Token template for the 2Sexy Content DotNetNuke module.
  • Prepare

    Show Details Show Substeps Show Substeps Show Substeps
  • Install 2SexyContent on your DotNetNuke installation (if you haven't already)

    Show Details Show Substeps Show Substeps Show Substeps
  • Create your HTML-Template in advance (this Checklist only helps you integrate it)

    Show Details Show Substeps Show Substeps Show Substeps
    Typically when you create your HTML-Template, you will either create a very nice template in advance using Dreamweaver or similar and you will already have tested it.

    On the other hand, if you want to develop it step-by-step, then create a simple template kind of like this (use your own fields of course):

    Hello [Content:FirstName]
    Your Birthday is on this day: [Content:Birthday]
  • Define a content type for your template or use an existing content type

    Show Details Show Substeps Show Substeps Show Substeps
    Sometimes you can use the built-in Content-Types, for example if the information you are using only has a Title and a Content. If you have more complex information, for example Product-Specs, an image-gallery or whatever, then you must use the attached checklist to create your own Content-Type.
  • Create template

    Show Details Show Substeps Show Substeps Show Substeps
  • Create a new html file (.html) and place it in the 2sexy folder

    Show Details Show Substeps Show Substeps Show Substeps
    While configuring the module, 2Sexy Content created a folder named "2sexy" in your portal root folder. You can place your template files there. It is also possible to place templates in the "/Portals/_default/2sexy/" folder.

    Do not delete the existing "web.config" file in the 2sexy folder; without that, Razor templates won't work!
  • Configure the template in 2Sexy Content

    Show Details Show Substeps Show Substeps Show Substeps
  • When you insert a new 2Sexy Content module on a page, a dropdown "Choose Template" appears. Select your template there.

    Show Details Show Substeps Show Substeps Show Substeps
  • Hover the manage button and click "Template Help"

    Show Details Show Substeps Show Substeps Show Substeps
  • Put some placeholders described there into your template.

    Show Details Show Substeps Show Substeps Show Substeps
  • Use the template

    Show Details Show Substeps Show Substeps Show Substeps
  • This subchecklist helps you using your template

    Show Details Show Substeps Show Substeps Show Substeps
  • New Step

    Show Details Show Substeps Show Substeps Show Substeps
Use this Checklist

Preview/Print

Use

Change

Sort