Looking at the code, there seems to be a way to select the newly created custom themes.
This is seemingly supported by theme_editor_engine.engine.
But on how to install it? And where to put it?

Please enlighten me.
Also, is it possible to add it to documentation?

Comments

druvision’s picture

For more information, look at the following forum topic:
http://drupal.org/node/20075

druvision’s picture

Title: How to install the theme_editor engine, needed in order to view the themes? » Automatic theme previews

GREAT TIP:

If we need to enable users to have immediate previews of a single theme, all we need to do is to make a symbolic link from the "themes" directory to the newly-developed theme. For example, if the name of the new theme is bluemarine_customized, I use the following shell commands:

cd   ~/public_html/themes
ln   -s   ../files/theme_editor/bluemarine_customized   .

This will work greatly until there is a theme version which supports installation

aldon@deanspace.org’s picture

I have to echo the importance of this issue and comment about why the workaround is okay as a brief workaround but is not good in the long run.

First, the administrators of most of the Drupal sites I support don't have access to telnet or ftp so linking or copying files isn't an option for them. On top of that, when you are running off a shared directory, which I do for many of my installs, copying the theme from the theme editor directory which can be specific to each site on the shared directory to the themes directory which is shared by all sites, means that all sites have access to each others themes which can be a real problem.

aldon@deanspace.org’s picture

When you install theme_editor, you need to create a new directory under themes/engines named theme_editor In the themes/engines/theme_editor directory, you need to place the file theme_editor_engine.engine

For more information, see the discussion in the forum entry listed above

It would probably be best to have this information as part of an INSTALL.txt file

druvision’s picture

Priority: Critical » Normal

Thanks, it worked. Leaving it as a documentation issue. Priority changed to normal.

shane birley’s picture

Status: Active » Closed (fixed)