Theme editor: store, configure, create

Last updated on
30 April 2025

The Theme Editor contributed module enables the administrator to edit the basic themes for the web site, delete a theme from the theme storage directory, rename a theme, and re-configure the storage directory.

Theme editor has a list, new, and configure tab. The list tab allows for editing, deletion, and renaming. The new tab allows for a theme to be copied to the theme storage directory for editing. The configure tab creates a sub-directory where theme files will be stored.

You can:

  1. administer theme editor at administer >> theme editor.
  2. add a new theme to the theme storage directory from administer >> theme editor >> new theme editor.
  3. file issues, read about known bugs, and download the latest version from the theme editor project page.

Drupal 7.x

Currently the -dev version has a combination of misleading UI and wrong documentation... This documentation section can be updated once the following issue is implemented:

"Theme Editor (D7) not working at all (unless you follow THESE steps)": http://drupal.org/node/1172232

Drupal 6.x

Coming very soon.

Drupal 4.x and 5.x

Installation

The installation is easy. There are two files that must be copied into the appropriate locations.

  1. Copy the theme_editor.module into the Drupal modules directory.
  2. Create a directory called "theme_editor" under the Drupal themes/engines/ directory.
  3. Copy the theme_editor_engine.engine file into the directory themes/engines/theme_editor.
  4. Activate the theme editor module from the modules list in: administer -> settings -> modules.
  5. Create, edit and delete themes under: administer -> theme editor.
  6. Set your theme editor path under the configure tab but the default works fine.

Theme Management

There are three tabs located under administer -> theme editor:

  1. List - This lists all of the themes you have created using the theme editor module. Initially, this will be empty.
  2. New - This is where you begin each theme. You choose one of the existing themes and the editor will copy required files to the theme editor directory.
  3. Configure - This is the theme editor storage directory, relative to the files directory.

Editing Themes

Under the list tab is where the actual editing of a theme begins. Each theme created will have three options:

  1. Edit - This will take you to the theme files list where you may edit each individual file, upload images, and create new files.
  2. Delete - This removes the selected theme. This can't be undone.
  3. Rename - By default, the themes you create will start with the theme name and append "_customized". Providing a new name is recommended.

Note

XTemplate: a patch is available for xtemplate.engine and is included with the theme editor module download. The patch corrects some minor issues with XTemplate.

Help improve this page

Page status: Not set

You can: