Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Theme Editor Plugin  (Read 4326 times)

0 Members and 1 Guest are viewing this topic.

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Theme Editor Plugin
« on: October 17, 2012, 11:53:16 pm »

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.
« Last Edit: October 18, 2012, 12:01:10 am by Jeff Bailey »
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

jimtee

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Theme Editor Plugin
« Reply #1 on: August 01, 2013, 07:29:16 am »

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?
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Theme Editor Plugin
« Reply #2 on: August 01, 2013, 09:20:16 pm »

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
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford

jimtee

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Theme Editor Plugin
« Reply #3 on: August 02, 2013, 02:06:15 pm »

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.
Logged

Jeff Bailey

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1323
  • Fishing relaxes me.
    • Bailey Family Co.
Re: Theme Editor Plugin
« Reply #4 on: August 02, 2013, 09:17:19 pm »

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:
Code: [Select]
if (!defined('IN_COPPERMINE')) {
    die('Not in Coppermine...');
}
in configuration.php
Nothing incorrect that I can see. Anyone?
Logged
Thinking is the hardest work there is, which is probably the reason why so few engage in it. - Henry Ford
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 20 queries.