SwissChecklist

Checklist: Create Template for 2SexyContent

This checklist helps you create any kind of content template for 2SexyContent. It even helps you choose which template type to create (Token or Razor)
  • Choose which type of template to create

    Show Details Show Substeps Show Substeps Show Substeps
    There are two template types, Token and Razor.

    Token Templates
    These are very basic templates that only allow for simple placeholders. Basically you'll write HTML like this <h1>[Content:Title]</h1> which will then be parsed to something like <h1>Sexy Content for Everybody</h1>

    Limitations of Token Templates
    Some things are simply impossible with Tokens. For example adding numbers or creating conditional HTML. Examples
    • showing a different message if a product is currently not available is not possible
    • converting values (like a yes) to an image is difficult
    • converting values (like a yes) to a different language is impossible

    Razor Templates
    With Razor you have much more possibilities, since you can write c# code inside your HTML. It's very easy to learn and use. We recommend this for advanced users.
  • Select your Template-Type

    Show Details Show Substeps Show Substeps Show Substeps
  • Choose Token if you want to make a simple template

    Show Details Show Substeps Show Substeps Show Substeps
  • Choose Razor if you want to make a template with more possibilities

    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