The Theme Editor is an online theme editor which allows you to edit template files (*.thtml) and cascading style sheet file (*.css). With this plugin, you can edit Geeklog themes on the Web, without uploading theme files.
Date | Version | Description |
---|---|---|
Sep 26, 2008 | 1.1.3 | [Fix] Upgraded to prevent include-files to be directly accessed in some case-insensitive file systems (e.g. MS Windows). |
Sep 14, 2008 | 1.1.2 | [Fix] Upgraded to work well with PHP-4.x by not using htmlentities() and html_entity_decode() functions. |
Aug 18, 2008 | 1.1.1 | [Fix] Upgraded to properly work with DokuWiki plugin. |
Aug 11, 2008 | 1.1.0 | [New] Upgraded to properly work with Geeklog-1.5.0 as well. [New] Upgraded to use Config UI with GL-1.5.0. |
Mar 29, 2007 | 1.0.5 | [Fix] Modified to properly handle a path containing an apostrophe. [New] Added a new option to make all themes available automatically. (See Configuring the plugin below.) [New] Added a new option to make all theme-related files (*.thtml, *.css) available automatically. (See Configuring the plugin below.) |
Dec 21, 2006 | 1.0.4 | [New] Added a functionality of uploading images to the images directory under each theme directory [New] Changed file name dropdown list so that the purposes of the files, instead of file names themselves, will appear. |
Nov 7, 2006 | 1.0.3 | [Fix] Dealed with the case where default language is not Japanese (Thanks, Kemal and Tsuchi). [New] Added many more template file names(Thanks, Ivy). |
Nov 2, 2006 | 1.0.2 | [Fix] Dealed with the case where magic_quotes_gpc is on (Thanks, samstone). |
Oct 1, 2006 | 1.0.0 | Initial version |
In the following descriptions
NOTE: The Theme Editor plugin uses JavaScript a lot. For better functionality, it is strongly recommended that you enable JavaScript.
In the plugin's config.php, you can modify these values:
Name | Type | Description |
---|---|---|
$_THM_CONF['allowed_themes'] |
Array of theme names | The theme names (case-sensitive) you can edit with the plugin. The default value is 'professional'. |
$_THM_CONF['allowed_files'] |
Array of file names | The file names (case-sensitive) you can edit with the plugin. Template files (*.thtml) and cascading style sheet files (*.css) are supported. |
$_THM_CONF['resync_database'] |
One of 'auto', 'manual', 'ignore' | When you add/remove a theme to/from $_THM_CONF['allowed_themes'] , or a template file to/from $_THM_CONF['allowed_files'] , The Theme Editor plugin will detect it automatically.
|
$_THM_CONF['allow_upload'] |
Boolean (true or false) | Whether you allow images to be uploaded to the images directories under the theme directories. The default value is true. |
$_THM_CONF['image_width'] |
Integer | The width (in pixels) of thumb nail images. The default value is 120. |
$_THM_CONF['image_height'] |
Integer | The height (in pixels) of thumb nail images. The default value is 100. |
$_THM_CONF['image_max_col'] |
Integer | The number of columns of thumb nail images. The default value is 6. |
$_THM_CONF['upload_max_size'] |
Integer | The max size (in bytes) of images to be uploaded to the web server. The default value is 1048576, that is, 1M bytes. |
$_THM_CONF['enable_all_themes'] (ver.1.0.5 or later) |
Boolean | If set true, all themes are allowed automatically regardless of the value of $_THM_CONF['allowed_themes'] . The default value is false. |
$_THM_CONF['enable_all_files'] (ver.1.0.5 or later) |
Boolean | If set true, all theme-related files (*.thtml, *.css) are allowed automatically regardless of the value of $_THM_CONF['allowed_files'] . The default value is false. |
$_THM_CONF['enable_csrf_protection'] (ver.1.1.0 or later) |
Boolean | If set true, CSRF protection will be enabled when you are using Geeklog-1.5.0. |
First, after you download and unpack a new archive, upload all the files to the Web server. Then, log in as admin and go to the Plugin Editor. Click the edit icon and click "upgrade" button.
The Theme Editor plugin is so simple that you can use it almost intuitively.
The Theme Editor plugin is licensed under the GPL.