CMS 1.0
Content management system: create pages, layouts, navigation and files for your website.
Getting started
-
What is Total.js CMS
What Total.js CMS does, its main parts and what to read next.
-
Requirements
What you need to install and use Total.js CMS.
-
Install from source
Download Total.js CMS, install it with npm and start it.
-
Install with Docker
The official commands to run Total.js CMS from its Docker image.
-
First sign-in
Sign in with the generated account and protect it straight away.
-
The admin interface
Find your way around the header, the sidebar and the Home screen.
-
Build your first website
Go from an empty installation to a published page with a menu.
Content
-
Manage pages
Create, open, pin and remove the pages of your website.
-
Page settings
What each field of the page form does.
-
Clone a page or copy its content
Make a copy of a page, or replace the content of one page with another.
-
The visual editor
Edit a page directly on its design, then save your changes.
-
Add and configure widgets
Place widgets on a page and change their settings.
-
Element attributes
Change the classes, styles, spacing and colours of one element.
-
Edit the page source code
Change the HTML of a page directly.
-
Manage files
Upload, rename and remove pictures and documents.
-
Use variables
Keep a value in one place and reuse it on every page.
-
Write posts
Keep articles in the admin with a category, a date and Markdown text.
Site structure
-
Manage layouts
Create, edit, clone and remove the frames around your pages.
-
Manage navigation
Build the menus of your website with links and sub-links.
-
Create redirects
Send visitors from one URL address to another.
-
Install widgets
Add widgets from the official catalog and manage the installed ones.
Administration
-
Read the dashboard
Understand the visitor statistics of your website.
-
Change your credentials
Change your name, login and password.
-
Configure SMTP
Enter the options of your mail server and test the connection.
-
Enable TMS
Turn on the Total.js Message Service and protect it with a token.
-
Connect to OpenPlatform
Find the import link and understand what the OpenPlatform tokens change.
-
Back up your site
Download a copy of your whole website in one file.
-
Restore a backup
Bring your website back from a backup file.
-
Clear all content
Erase the content of your website and start again.
Reference
-
Configuration file
The keys of the config file in the app folder.
-
Layout markup
The special parts of the code of a layout.
-
Public URLs
The addresses that the app publishes besides your pages.
-
Where data is stored
The files in which the app keeps your website.
Recipes
-
Set the home page
Make a page the first thing visitors see.
-
Publish one URL in two languages
Show different content at the same address for each language.
-
Change a page URL safely
Move a page to a new address without breaking old links.
-
Run on another port
Start the app on the port you choose.
FAQ
-
I forgot my password
Create a new administrator account when you cannot sign in.
-
My page returns a 404 error
The usual reasons why a page does not open.
-
The sign-in page keeps coming back
What to do when correct credentials do not open the admin.
Widgets
-
Official widgets
Where the official widgets come from and how to read the catalogue.
-
Layout and containers
Widgets that arrange other widgets in boxes, columns and spaces.
-
Text
Widgets for headings, paragraphs, messages, code and short facts.
-
Images and video
Widgets that show pictures, logos, a gallery and a video.
-
Text and images
Widgets that combine a heading and text with a picture.
-
Lists and features
Widgets for check lists, icons with short texts, feature grids, panels and expandable lists.
-
Links and buttons
Widgets for buttons, groups of links, social networks and tags.
-
Embedded content
Widgets that add your own HTML, content from another address, a UI Builder app or Bufferwall posts.
Development
-
Develop widgets
What a widget is, what you need to write one and what to read next.
-
The widget file
The sections of a widget file and what CMS does with each one.
-
Your first widget
Create a widget in the admin, add it to a page and change its settings.
-
Settings and their form
Default values, the settings form and the script that applies the settings to an instance.
-
Editable content
Mark the parts of the HTML that the user can edit, repeat, remove or fill with widgets.
-
Rendering on the public site
Make the content of a widget on the server with render, its template, variables and cache.
-
Styles, scripts and assets
The CSS and the public script of a widget, external libraries and the preview image.
-
Install and uninstall
Prepare data when CMS installs or loads a widget and clean up when it is removed.
-
Install widgets from files
Install your own widgets by pasting their code or from a folder of the server.
-
Share a widget with the official repository
Prepare a widget for the official catalogue and send it to the repository.
-
Widget file reference
What a widget declares in its server script.
-
Render reference
The properties of opt and the next function of exports.render.
-
Settings script reference
The functions of the script in the settings section and what they receive.
-
Editor classes reference
The CMS_ classes that make parts of a widget editable, and the image attributes.