Bootstrap utils don't work ASP classic? Solved

User's avatar
Tom S.
12:52 Mar 28, 2015
Hi there,

I purchased your Bootstrap utils. I placed the dirs in /plugins and edited config.js as followed but cannot get the buttons to show in CK EDITOR (already emptied cache etc). Hope you can see whats wrong?

Thanks!
/**
 * @license Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here.
	// For complete reference see:
	// http://docs.ckeditor.com/#!/api/CKEDITOR.config

	config.extraPlugins = "doksoft_bootstrap_include,doksoft_bootstrap_advanced_blocks,doksoft_bootstrap_block_conf,doksoft_bootstrap_templates,doksoft_bootstrap_table,doksoft_bootstrap_button,doksoft_bootstrap_icons,doksoft_bootstrap_gallery,doksoft_bootstrap_badge,doksoft_bootstrap_label,doksoft_bootstrap_breadcrumbs,doksoft_bootstrap_alert";
	
	// The toolbar groups arrangement, optimized for two toolbar rows.
	config.toolbarGroups = [
		{ name: 'clipboard',   groups: [ 'clipboard', 'undo' ] },
		{ name: 'editing',     groups: [ 'find', 'selection', 'spellchecker' ] },
		{ name: 'links' },
		{ name: 'insert' },
		{ name: 'forms' },
		{ name: 'tools' },
		{ name: 'document',	   groups: [ 'mode', 'document', 'doctools' ] },
		{ name: 'others' },
		'/',
		{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
		{ name: 'paragraph',   groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
		{ name: 'styles' },
		{ name: 'colors' },
		{ name: 'doksoft',   groups: [ 'doksoft_bootstrap_advanced_blocks', 'doksoft_bootstrap_block_conf', 'doksoft_bootstrap_templates', 'doksoft_bootstrap_table', 'doksoft_bootstrap_button', 'doksoft_bootstrap_icons', 'doksoft_bootstrap_gallery', 'doksoft_bootstrap_badge', 'doksoft_bootstrap_label', 'doksoft_bootstrap_breadcrumbs', 'doksoft_bootstrap_alert' ] },

	];

	// Remove some buttons provided by the standard plugins, which are
	// not needed in the Standard(s) toolbar.
	config.removeButtons = 'Underline,Subscript,Superscript';

	// Set the most common block elements.
	config.format_tags = 'p;h1;h2;h3;h4;pre';

	// Simplify the dialog windows.
	config.removeDialogTabs = 'image:advanced;link:advanced';
	
	config.enterMode = CKEDITOR.ENTER_BR;
    
    config.allowedContent=true;
};

Support team avatar
JS+
11:01 Apr 02, 2015
Hello,
You config seems to be valid except "groups" in toolbar definition. Change "groups" to "items" in this code fragement:
{ name: 'doksoft', items: [ 'doksoft_bootstrap_advanced_blocks', 'doksoft_bootstrap_block_conf', 'doksoft_bootstrap_templates', 'doksoft_bootstrap_table', 'doksoft_bootstrap_button', 'doksoft_bootstrap_icons', 'doksoft_bootstrap_gallery', 'doksoft_bootstrap_badge', 'doksoft_bootstrap_label', 'doksoft_bootstrap_breadcrumbs', 'doksoft_bootstrap_alert' ] }, 

Our images uploader (used only by Bootstrap Image Gallery plugin) works with PHP or .NET so it will not work with ASP classic. But it will not affect to another add-ons from Bootstrap pack and its button must be visible regardless of its server-side part configured properly or not.

And we renamed "doksoft_bootstrap_table" to "doksoft_bootstrap_table_new", please fix it too.