Documentation

Installation

1. Copy configuration files from **application/config/div/** to **application/config/**.
2. Edit **application/config/config.php** with the correct **site_domain** and **index_page**.
3. Edit .htaccess file with the correct **RewriteBase**.
4. Edit **application/config/database.php** with the correct information.
5. Run the SQL found in **application/views/sql/install.sql**.
6. Browse to yourdomain.com and you should see a **missing content** error page.
7. Now Browse to yourdomain.com/admin and you should see the **admin panel**.

Warning

The admin panel is completely unlocked at this moment. You need to navigate to the Users section and edit the admin accounts password, you may also create different usernames at this time. Once you have a username to login with, go to the plugins section and enable the SimpleACL plugin, this plugin locks the admin panel from public access. If you are not logged in at the time, you will get an Access Denied error. Proceed to login with the credentials you set.

You will also notice there is no way to create content at the moment. You need to go back to the Plugins section and enable the Navigation Content and Basic Content plugins.

Pages

Pages are simple content holders. When you create a page you will see the Missing Content error until you add something to your page. Pages can have different template files to display the content in completely different ways.

Content

As of YurikoCMS v0.1.0 you can only create Basic and Navigation content. Once you created the content, it will not show on any pages until you add it to a page.

To add content to a page go back to the Pages section and hit the Edit icon of a page. You will see a section for content and a link for each type of content will be added to the bottom of that section. Click on Add Basic Content and then select the content item and section you want the content in for that page. You can also change the View file that will render the content, this can be helpful for Navigation Menus that need to render differently depending on where they are located on a page.

Sharing Content

Certain content items are shared across all pages. Usually there is a main menu on every page for a site. This can be done by inheriting content from another page. To simplify shared content you can create a page called TEMPLATE (or anything else easy to distinguish) and place all the common content in that page like the menu and the footer notice. Then from the other pages you can click on the Inherit Content From Another Page link and inherit the TEMPLATE page. Any page inheriting the TEMPLATE page will take all it's contents automatically.