Theme Editor Plugin Theme Editor Plugin
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Theme Editor Plugin

Started by Jeff Bailey, October 17, 2012, 11:53:16 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jeff Bailey

This plugin allows you to edit theme files while logged in as an admin.

This plugin uses Ace (Ajax.org Cloud9 Editor)

Features:
Edit and save theme files within Coppermine.
Choose from a list of themes to style your editor.
Font Size option
Word Wrap option

Todo:
Dynamically update theme files list. Currently only allows theme.php, template.html, style.css
Add better search and replace.

Plugin attached.
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

jimtee

Hi
When I try to install:
Parse error: syntax error, unexpected '}' in /customers/b/c/a/free2type.se/httpd.www/plugins/theme_editor/configuration.php on line 8

What to do?

Jeff Bailey

There doesn't appear to be anything wrong with the plugin or the code your error refers to, although I haven't tested it with the latest sable release.

Please make sure you are following the plugin installation instructions.
http://documentation.coppermine-gallery.net/en/plugins.htm#plugin_manager
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

jimtee

Hi
I have A lot of plugins that works fine.
So I now ho to do this.
It must be something wrong in the code.

Jeff Bailey

Try moving it up and down in the list of plugins. Or uploading a fresh copy http://documentation.coppermine-gallery.net/en/plugins.htm#plugin_manager_upload_ftp.

The error refers to:

if (!defined('IN_COPPERMINE')) {
    die('Not in Coppermine...');
}

in configuration.php
Nothing incorrect that I can see. Anyone?
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford