Theme editor: store, configure, create
You are browsing documentation for an older version of Drupal, which is not supported any longer, and the information may not be correct. See current documentation for Contributed modules
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:
- administer theme editor at administer >> theme editor.
- add a new theme to the theme storage directory from administer >> theme editor >> new theme editor.
- 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.
- Copy the theme_editor.module into the Drupal modules directory.
- Create a directory called "theme_editor" under the Drupal themes/engines/ directory.
- Copy the theme_editor_engine.engine file into the directory themes/engines/theme_editor.
- Activate the theme editor module from the modules list in: administer -> settings -> modules.
- Create, edit and delete themes under: administer -> theme editor.
- 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:
- List - This lists all of the themes you have created using the theme editor module. Initially, this will be empty.
- 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.
- 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:
- Edit - This will take you to the theme files list where you may edit each individual file, upload images, and create new files.
- Delete - This removes the selected theme. This can't be undone.
- 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
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion