artisancms/theme

A simple theming package for ArtisanCMS

0.0.4 2016-09-17 21:10 UTC

This package is auto-updated.

Last update: 2022-07-19 11:40:47 UTC


README

A really simple package that defines a new location for the app to look for, for a theme.

Create a themes directory in the root of your project, this should happen if you use the installer. But if it doesn't exist, just create the folder. Then create your theme folder within it.

You will want to update the artisancms.php file in the config folder, again this should exist from installation. You will want to update the following:

    // change clean-theme to the name of the folder in
    // the themes folder.
    'theme' => theme('clean-theme'),

Access like this:

theme::folder.viewname

// or

theme::viewname