Skip to content
This repository was archived by the owner on Nov 12, 2023. It is now read-only.

ThemeFiles

Mic edited this page Oct 10, 2015 · 1 revision

The theme files are stored in a theme folder inside the evn_themes/ folder. The demo site theme is stored in the default/ folder. These files have a fixed name:

  • evn__main.php is the master file of any page and is always called. All the custom template files are loaded inside this file.
  • evn__footer.php is the footer file and it's loaded from the master file with the tpl_load_footer() function.
  • evn__header.php is the header file and it's loaded from the master file with the tpl_load_header() function.
  • evn__sidebar.php is the sidebar file and it's loaded from the master file with the tpl_load_sidebar() function.
  • evn__404.php is the page-not-found file and it's loaded from the master file if the requested url is not found, with the tpl_load_error() function.

These files cannot be renamed.

You must use evn__main.php and evn__404.php, but you can remove any reference to evn__footer.php, evn__header.php and evn__sidebar.php and use only evn__main.php for the structure of your page.

In this folder are also stored the needed CSS files and the images. The folder is accessible via HTTP.

To change the active theme, modify the $config['evn_active_theme'] value in application/config/evinrude.php line 17

Clone this wiki locally