Download SiteCake SiteCake Example

Install

In order to install SC you need hosting with:
- Apache web server (with Url rewriting and .htaccess)
- PHP 5.0+

 

1. Copy SC Archive To Your Server


Unpack contents of the archive in your domain (subdomain) ROOT folder on the server. You should see .htaccess file and sitecake folder in the web root. It is not possible to install SC in subfolder on your domain.

To check if your server configuration is ready for SiteCake open the following page: http://yourdomain.com/sitecake/test.php

[optional] Though .htaccess should work on majority of hosting providers (we hope :) modify it to enable PHP5 if it is not enabled by default. [optional] Folders /sitecake/content and /sitecake/server/app/tmp should be writable by PHP, in most cases they are by default [optional] Change default password 'admin' by editing file /sitecake/server/settings.php There is variable $adminPassword, change it or leave as it is.


2. Assigning Editable Containers In Html Pages


You should add 'sc-content-[name]' class to div you want to make editable. Give specific class name to your sc-content container. It can include numbers or underscore (_).

Example:

<div class="sc-content-mainColumn"></div>
<div class="sc-content-main_column1"></div>
<div class="class1 class2 sc-content-mainColumn"></div>

On the same page you can have more than one editable div, but they can not be nested. It's handy that you can use the same 'sc-container' class on multiple divs. That way all of them will have same content after editing.


3. Add Backlink To Your Pages

Free version would not require registration and will be available for redistribution. Only requirement is backlink to us at the bottom of the page. Without this link site will work, but editing will not be possible.

<a href="http://sitecake.com">SiteCake CMS, simple and easy</a>


4. Login To SiteCake

You can enter SC edit mode in two ways:

1. Login at http://yourdomain.com/login
2. By adding login link with 'sc-login' class in your page:

<a href="#" class="sc-login">Admin login</a>

After logging in you should be able to edit your site. That's it!

 

Additional Info


Tags that SiteCake editor will generate tags without classes or ids, like this:

<div class="sc-content-mainColmn">
   <h1>Heading</h1>
   <h2>Subheading</h2>
   <p>
      Text<br />
      Text<br />
      <a href="">Link</a>
   </p>
   <img src="image.jpg" />
   <a href=""><img src="image.jpg" /></a>
</div>

So, if you are targeting them with CSS, please target them through their parents.

 

Bugs Reporting

If you come across a bug please submit a ticket here. We are grateful for any info about those nasty little creatures.