**NOTE: This option is available only for our publishers. Find out more about our White Label HERE.
Get Started
Go to Profile -> Publisher Dashboard -> CMS Editor
NOTE** Enter user credentials created for testing purposes on your website and press Login
Start editing.
There are two types of html files. Static html () and templates ().
e.g. If you want to start using mypage.html as template:
Right click on the Page List Area -> New -> File
Enter home as file name and choose 'Is template'
Press 'Create'
This will create a template for mypage.html which can be used to add dynamic data. By accessing yourawesomesite.com/mypage.html it will load its template representation.
Note.
After creating a template for existing static filename, you should edit its template filename.
e.g.
There are 4 types of special tags used to render content in your Template.
Variables are used to insert dynamic data like your site title, description, etc.
Blocks are either used to render a block of HTML for a set of data (like payment information) or to conditionally show a block of HTML
Example
<html>
<head>
<title>{{Title}}</title>
</head>
<body>
{{block:UserIsLogged}}
Hello {{Username}}.
{{/block:UserIsLogged}}
{{block:UserIsNotLogged}}
You need to be logged to view this page.
{{/block:UserIsNotLogged}}
</body>
</html>
If user is logged on your website as 'user88' the output will be
If user is not logged on your website the output will be
<html>
<head>
<title>My awesome site</title>
</head>
<body>
You need to be logged to view this page.
</body>
</html>
Translation
Translation tags are used to translate your site in different languages. A translation tag looks like {{TT:category.key}}, It will search in your localization settings for the given key and insert it.
Example
In your localization settings:
index.helloLabel = Hello
general.shouldLoginInfo = You need to be logged to view this page.
If user is not logged on your website the output will be
<html>
<head>
<title>My awesome site</title>
</head>
<body>
You need to be logged to view this page.
</body>
</html>
Partials
Partial tags are used to include other templates in the current document.
Partial tag looks like {{include:header}} and it will insert the code from header template.
**NOTE: This option is available only for our publishers. Find out more about our White Label HERE.
Get Started
NOTE** Enter user credentials created for testing purposes on your website and press Login
After creating a template for existing static
Example
Example
Example
general.shouldLoginInfo = You need to be logged to view this page.
Partial tags are used to include other templates in the current document.
Partial tag looks like {{include:header}} and it will insert the code from header template.
Example
Basic Variables
Basic Blocks
Block Variables
{{block:UserIsLogged}}
{{block:UsersCollection}}