How To Install Sitemakin CMS

Installing Sitemakin CMS

To load Sitemakin CMS into a subfolder on a website,
1)Upload folder to the desired location (i.e. example.com/test)
2) create database
3) Import data to database
4) Change database connection in the files public.php and utilities.php
5) If you use your main domain (i.e. example.com), you can login, create, edit, delete pages immediately!

Otherwise, for subfolders please follow the next set of instructions!

6) Open file page_template_no_header_no_footer.php
Near line 21:
change lines 21 and 22
i.e)
CHANGE FROM:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/', '', $domain);

CHANGE TO:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/test/', '', $domain);

7) Open file page_template_ckc.php
Near line 21:
change lines 21 and 22
i.e)
CHANGE FROM:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/', '', $domain);
CHANGE TO:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/test/', '', $domain);

7) Open file page_template.php
Near line 21:
change lines 21 and 22
i.e)
CHANGE FROM:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/', '', $domain);
CHANGE TO:
$domain = strstr($url, 'example');
$cms_page_url= str_replace('example.ca/test/', '', $domain);