Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/09/2006, 09:44
Avatar de fer10
fer10
 
Fecha de Ingreso: octubre-2005
Ubicación: Guadalajara - Mexico
Mensajes: 905
Antigüedad: 18 años, 6 meses
Puntos: 4
no entendi muy bien lo que necesitas, pero para quitar los botones configruar como gurpos de botones


FCKeditor/fckconfig.js (por ejemlo ese el el default)
Cita:
FCKConfig.ToolbarSets["Default"] = [
['Source','DocProps','-','Save','NewPage','Preview','-','Templates'],
['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','Just ifyFull'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','Rule','Smiley','SpecialCh ar','UniversalKey'],
['Form','Checkbox','Radio','TextField','Textarea',' Select','Button','ImageButton','HiddenField'],
'/',
['Style','FontFormat','FontName','FontSize'],
['TextColor','BGColor'],
['About']
] ;
este s uno llamda basico
Cita:
FCKConfig.ToolbarSets["Basico"] = [
['Style'],
['Bold','Italic','Underline'],
['Undo'],
['OrderedList','UnorderedList','-'],
['JustifyLeft','JustifyCenter','JustifyRight','Just ifyFull'],
['-','Image','Table'],
['-','Link','Unlink']
] ;
y ya lo mandas a llamar desde cualqueir pagina con el nombre basico
Cita:
<script type="text/javascript">
<!--
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
//oFCKeditor.BasePath = 'FCKeditor/' ; // '/fckeditor/' is the default value.
//var sBasePath = document.location.pathname.substring(0,document.lo cation.pathname.lastIndexOf('_testcases')) ;
var sBasePath = "FCKeditor/" ;

var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.ToolbarSet = 'Basico' ;
oFCKeditor.BasePath = sBasePath ;

oFCKeditor.Value = '<div class="texto"></div>' ;
oFCKeditor.Create() ;

//-->

verifica las rutas para que te carge el fckeditor ya que lo mas porbale es que sean difierentes a las mias..

la referencia: http://wiki.fckeditor.net/Developer's_Guide/Configuration/Toolbar
__________________
Saludos
FT.
www.fernando.com.mx

Última edición por fer10; 12/09/2006 a las 09:49