We assume you already purchased a SingleCMS Full license and downloaded the
scms.php (If you still need a license you can get it on our main page).
Copy the scms.php in the main folder of your project
As SingleCMS is PHP-based you need to be able to execute PHP code in your project sites.
1) Open your file manager and navigate into your project folder
2) Rename the file your want to make SingleCMS-ready (in the example we use
index.html) to a
index.php) and save it
To activate SingleCMS for the certain file open
index.php with your favorite editor and add the following code snippet to the end of your
<?php include "scms.php";?>
<head> should look something like following
<head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><title>My new page with SingleCMS</title>...<?php include "scms.php";?></head>
We use the basic SingleCMS block in this quickstart. For advanced block options, visit the section Advanced block options.
The basic block looks like following
You can simply put it where ever you want your customers to be able to edit the content.
Let's try this:
<div><h1>My heading</h1><div class="thecontent">LoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLoremLorem</div></div>
<div><h1>My heading</h1><div class="thecontent"><?php $scms->text("BLOCKNAME",);?></div></div>
That was easy. Now your customers can edit this section in the backend.
Now upload the newly created
index.php and the
scms.php onto your server
Access the backend (with appending
?login to the url) and login as
For security reasons your are prompted to change the admin password. Please do that.
Also you have to enter the license key you received in the email from us.
The Quickstart is done and you can edit the entered block in the backend.
For further configuration visit the other articles in this documentation.