Skip to content

Template Structure With Themes

corywebb edited this page Dec 14, 2011 · 2 revisions

The structure of a Motif-powered template depends on whether or not you choose to use themes.

With Themes, your template will be structured in the following way:

  • /index.php
  • /component.php (optional)
  • /offline.php (optional)
  • /error.php (optional)
  • /images/ (optional)
  • /css/ (optional)
  • /themes/
  • /themes/core/
  • /themes/core/index.php
  • /themes/core/component.php (optional)
  • /themes/core/offline.php (optional)
  • /themes/core/beforehead.php (optional)
  • /themes/core/head.php (optional)
  • /themes/core/css/
  • /themes/core/js/
  • /themes/core/images/
  • /themes/THEMENAME/ (optional)
  • /themes/THEMENAME/ ... any files that will override files in the core theme (optional)
Clone this wiki locally