Skip to content

AthensFramework/Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Theme

An example theme for the Athens web framework.

Example theme templates in action.
Create your own theme for easy, attractive, on-brand pages

Features

Responsive

Advanced Field Editors

Use

These templates are for the Athens web framework. You must be using Athens to use these templates.

The following steps are described in the Athens application creation tutorial. If you are new to Athens, you may wish to use that tutorial instead.

  1. Add the example theme to the package requirements in your composer.json:
"require": {
      ...
      "athens/core": "0.*",
      "athens/theme": "0.*",
      ...
},

The major version number of athens/theme should be the same as your major version number of athens/core.

  1. Add the example templates in your project's setup.php, below the line that adds your project-templates:
Settings::getInstance()->addTemplateDirectories(dirname(__FILE__) ."/project-templates");
Settings::getInstance()->addTemplateDirectories(dirname(__FILE__) ."/vendor/athens/theme/templates");

That's it. Your Athens project is now using the example theme!