<?php

Director::addRules(60, array(
	'extadmin' => 'ExternalContentAdmin',
	'extcon' => 'ExternalContentPage_Controller',
));

// enable this for older versions  of 2.4 and disable the extension
// Object::useCustomClass('HtmlEditorField_Toolbar', 'ExternalHtmlEditorField_Toolbar');

Object::add_extension('HtmlEditorField_Toolbar', 'ExternalContentHtmlEditorExtension');

set_include_path(dirname(__FILE__).'/thirdparty'.PATH_SEPARATOR.get_include_path());
<?php

Director::addRules(60, array(
	'extadmin' => 'ExternalContentAdmin',
	'extcon' => 'ExternalContentPage_Controller',
));

// enable this for older versions  of 2.4 and disable the extension
// Object::useCustomClass('HtmlEditorField_Toolbar', 'ExternalHtmlEditorField_Toolbar');

// Disabled as it still has a problem:
// - loading javascript from the updateLinkForm call yields a blank form
//Object::add_extension('HtmlEditorField_Toolbar', 'ExternalContentHtmlEditorExtension');

set_include_path(dirname(__FILE__).'/thirdparty'.PATH_SEPARATOR.get_include_path());

Disable the linking form - javascript loading problem.
Disable the linking form - javascript loading problem.

Prevents the linking form from being visible at all.
