I am trying to do the same thing, using version 2.0. The Toolbar Customization Doc refers to older versions, such as 1.6. Since this is the "version 2.0" forum, I would appreciate it if someone could respond to the toolbar question with an answer relevant to version 2.0.
<?
include ("../../../../../functions/db.php");
include("../../../../../functions/variables.php");
//include("../functions/stripslashes.php");
include("../../../../../functions/functions.php");
$classification_result2 = mssql_query("SELECT * FROM classification order by name");
?>
RE: Customize toolbars
Is it possible to remove some buttons?
please help me..
RE: Customize toolbars
can you tell me if is possible/legal to do something similar to modify a toolbar?
RE: Customize toolbars
RE: Customize toolbars
Thanks.
RE: Customize toolbars
fckconfig.js is a file in the main directory, and it has all of the things described in the documentation mentioned by jdorner.
Yay!
RE: Customize toolbars - close to getting it!
http://www.opensource.org/licenses/lgpl-license.php
http://www.fckeditor.net/
fredck@fckeditor.net
<html> <head> <title>Classify Properties</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta content="noindex, nofollow" name="robots"> <script src="common/fck_dialog_common.js" type="text/javascript"></script> <script type="text/javascript"> var oEditor = window.parent.InnerDialogLoaded() ; // Gets the document DOM var oDOM = oEditor.FCK.EditorDocument ; var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ; window.onload = function() { // First of all, translate the dialog box texts oEditor.FCKLanguageManager.TranslatePage(document) ; if ( oActiveEl && oActiveEl.tagName == 'A' && oActiveEl.name.length > 0 && oActiveEl.getAttribute('href').length == 0 ) document.getElementById('txtName').value = oActiveEl.name ; else oActiveEl = null ; window.parent.SetOkButton( true ) ; } function Ok() { if ( document.getElementById('txtName').value.length == 0 ) { alert( oEditor.FCKLang.DlgClassifyErrorName ) ; return false ; } //oEditor.FCK.InsertHtml( '<a name="' + GetE('txtName').value + '"><\/a>' ) ; oEditor.FCK.InsertHtml( '<b>'+ document.getElementById('txtName').value + '</b>  ' ) ; return true ; } </script> </head> <body style="OVERFLOW: hidden" scroll="no"> <table height="100%" width="100%"> <tr> <td align="center"> <table border="0" cellpadding="0" cellspacing="0" width="80%"> <tr> <td> <span fckLang="ClassifyDlgName">Classification Picker</span><BR> <select id="txtName" name="txtName" style="WIDTH: 100%"> <option value="">----Classification Picker----</option> <? while($row1=mssql_fetch_array($classification_result2)) { echo "<option value=\"$row1[name]\">$row1[name]</option>"; }; ?> </select> </td> </tr> </table> </td> </tr> </table> </body> </html>http://www.opensource.org/licenses/lgpl-license.php
http://www.fckeditor.net/
fredck@fckeditor.net