Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author ChrisHurst

    (@chrishurst)

    I have just posed an updated version of the Developer Code Editor Plugin for WordPress. Perhaps you can try the new version to resolve your troubles.

    Thread Starter Sajid Javed

    (@sjaved)

    Ok thanks i will try.

    Thread Starter Sajid Javed

    (@sjaved)

    _plugin_dir = DIRECTORY_SEPARATOR . str_replace(basename(__FILE__), null, plugin_basename(__FILE__)); $this->_settings_url = 'options-general.php?page=' . plugin_basename(__FILE__);; add_action('admin_print_scripts-theme-editor.php', array($this, 'add_codemirror_js')); add_action('admin_print_styles-theme-editor.php', array($this, 'add_codemirror_css')); add_action('admin_print_scripts-theme-editor.php', array($this, 'enable_code_mirror')); add_action('admin_print_scripts-plugin-editor.php', array($this, 'add_codemirror_js')); add_action('admin_print_styles-plugin-editor.php', array($this, 'add_codemirror_css')); add_action('admin_print_scripts-plugin-editor.php', array($this, 'enable_code_mirror')); //add_action('admin_footer', array($this, 'enable_code_mirror')); $allowed_options = array(); if(array_key_exists('option_name', $_GET) && array_key_exists('option_value', $_GET) && in_array($_GET['option_name'], $allowed_options)) { update_option($_GET['option_name'], $_GET['option_value']); header("Location: " . $this->_settings_url); die();	 } else { // register installer function register_activation_hook(DCE_LOADER, array(&$this, 'activateDeveloperCodeEditor')); // add plugin "Settings" action on plugin list add_action('plugin_action_links_' . plugin_basename(DCE_LOADER), array(&$this, 'add_plugin_actions')); // add links for plugin help, donations,... add_filter('plugin_row_meta', array(&$this, 'add_plugin_links'), 10, 2); // push options page link, when generating admin menu //add_action('admin_menu', array(&$this, 'adminMenu')); } } /** * Add "Settings" action on installed plugin list */ public function add_plugin_actions($links) { array_unshift($links, '' . __('Settings') . ''); return $links; } /** * Add links on installed plugin list */ public function add_plugin_links($links, $file) { if($file == plugin_basename(TW_LOADER)) { $links[] = 'Premium Plugins'; } return $links; } /** * Add menu entry */ public function adminMenu() {	 // add option in admin menu, for setting options //$plugin_page = add_options_page('Developer Options', 'Developer Options', 8, __FILE__, array(&$this, 'optionsPage')); } function add_codemirror_css(){ ?>

    I tried your new version but still not working. This the error that wordpress throw at plugin activation and fatal error Headers Already sent.

    Plugin Author ChrisHurst

    (@chrishurst)

    Very strange, what version of WordPress are you using?
    Have you tried enabling this plugin with the other plugins disabled?

    Thanks!

    Thread Starter Sajid Javed

    (@sjaved)

    WordPress 3.3 version and fresh install with akismat and hello dolly plugins.

    Thread Starter Sajid Javed

    (@sjaved)

    ok christ can u help me how to create a plugin using wp taxonomies.

    I want to to create a plugin for web directory listings and for this i need to create some categories and subcategories.

    or can u provide any link of the tutorial in which this topic is discussed.

    thanks for help in advance.

    Plugin Author ChrisHurst

    (@chrishurst)

    We released another updated version of the Developer Code Editor, you might give that a try. v1.2

    As for your other question, I have used a plugin called custom post types to setup custom taxonomies before. search in the plugins and you will find something useful I am sure!

    Thanks!

    Thread Starter Sajid Javed

    (@sjaved)

    ok thanks i will try latest version.

    Thread Starter Sajid Javed

    (@sjaved)

    no dude the error is still there to make me
    ffffffffffffoooooooooossssss.

    not working.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Developer Code Editor] Not working’ is closed to new replies.