Created: 01/12/2014
By: Kent Elchuk
Email: kent@lampload.com
Thank you for purchasing Site Constructor and Cloner. If you have any questions that are beyond the scope of this help file, please feel free to email via my user page contact form here. Thanks so much!
v1.4 September 2015
Added custom page session control in header_edit.php.
v1.3 June 2015
Modified installation folder for auto installation.
v1.0 December 2014
First release of Sitemakin and Cloner
Convert any HTML template to a CMS in minutes!
Fast enough to host anywhere....including your home!
The simple setup takes only minutes!
Congratulations, you now have an up and running installation.
All detailed videos for using the Sitemakin and Cloner can be found in the help file located in the main menu. Internet and web server are required.
Other topics include:
The template contains various css files located within the css folder.
The CMS styling can be altered by changing the css file shown below.
The tutorial on the help.php page will show how you can manage your cms and clone!
The template contains various css files located within the css folder.
Many alterations can be performed by changing the css file shown below.
You may need to add the zip extension to Linux as shown below:
sudo pecl install zip2) Add extension=zip.so to php.ini likely located at: /etc/php5/cgi/php.ini. To open the file, you can type sudo nano filename where filename is the file name you want to open.
sudo useradd -g www-data pior
sudo usermod -a -G www-data pib) Can check if user belongs to group by using this command:
sudo check groups : id pic) Change ownership for Sitemakin files.
sudo chown -R pi:www-data /var/www/sitemakind) Let anyone in group have rewrite privilege.
sudo chmod -R g+rw /var/www/sitemakin
With Sitemakin and Cloner, it comes with its own tools to clone your website that you will make with this CMS.
However, we added a supplemental cloning tool that enables you to clone other websites. For example,
you may want to clone an outdated Joomla 1.5 or Wordpress website to make static HTML files with all images and
Javascript so that you can re-theme it with a template from Themeforest and make it usable once again with that
modernized theme which likely loads much faster than the previous website installation.
This method will use a Linux package called httrack. Although this tutorial is geared towards Debian based
servers, HTTRACK also installs quickly and simply on Centos and detailed info can be found here.
Below are a list of commands to install and use httrack with Debian based Linux operating systems like Raspbian
and Ubuntu.
sudo apt-get update2)
sudo apt-get install zip3)
sudo apt-get install httrack4) Cloning Options:
sudo httrack http://example.com/ -O "/websites/example.com" -%v -%e0b) Using cloner.php
shell_exec('/usr/local/bin/httrack http://' . $url . '/ -O "/home/sitemakin/websites/ ' . $url . '" -%v -%e0 2>&1;');After that, open up /etc/sudoers and add a line that allows the account user to run the httrack service. I am showing the line below.
username ALL=NOPASSWD: /usr/local/lib/httrack,/usr/local/bin/httrackNow, when you open the folder /home/username/websites/ you will see the new clone.
cd *example.com
shell_exec('sudo httrack http://' . $url . '/ -O "/home/pi/' . $url . '" -%v -%e0 2>&1;');Change to:
exec('C:\Users\username\Documents\AAA\WinHTTrack\httrack.exe http://' . $url . '/ -O "C:\xampp\htdocs\CLONES\\' . $url . '" -%v -%e0 2>&1;');Important:
sudo chown -R username:www-data /var/www/sitemakinb) Add user to group. The username will be yours.
sudo useradd -g www-data usernamec) Allow all group members to be able to write.
sudo chmod -R g+rw /var/www/sitemakin
The tutorial on the help.php page will show how you can manage your cms and clone!
I've used the following images, icons or other files as listed.
Once again, thank you so much for purchasing this PHP script. As I said at the beginning, I'd be glad to help you if you have any questions relating to this theme. No guarantees, but I'll do my best to assist. If you have a more general question relating to the PHP script on ThemeForest, you might consider visiting the forums and asking your question in the "Item Discussion" section.
Kent Elchuk