Interspire Product Knowledge Base

Would you like to...

Print this page Print this page

Email this page Email this page

Post a comment Post a comment

Subscribe me

Add to favorites Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Export to PDF

User Opinions (1 vote)

0% thumbs up 100% thumbs down

How would you rate this answer?



Thank you for rating this answer.

How can I modify the WYSIWYG toolbar items in Interspire Knowledge Manager?

In the acitvekb/admin/includes/classes/class.question.php file search for

$myDE->AddToolbar("Simple", implode(",|,", $rows));
which will take to the right section of the file. Just above this line will be something like


$rows = array (
 "Fullscreen,Paste,Findreplace,Spellcheck, -,Bold,Underline,Italic, -,OrderedList,UnorderedList, -,JustifyLeft,JustifyCenter,JustifyRight,JustifyFull, -,CreateLink",
 "Fontname,Fontsize, -,Fontcolor,Highlight, -,Image,Flash,Media, -,Table,-,Help",
);

Which is what specifies which items are on the toolbar. To add the undo and redo buttons for example, just change this so it would become

$rows = array (
 "Fullscreen,Paste,Undo,Redo,Findreplace,Spellcheck, -,Bold,Underline,Italic, -,OrderedList,UnorderedList, -,JustifyLeft,JustifyCenter,JustifyRight,JustifyFull, -,CreateLink",
 "Fontname,Fontsize, -,Fontcolor,Highlight, -,Image,Flash,Media, -,Table,-,Help",
);

Which will add undo and redo buttons just after the paste button on the toolbar when it is in simple mode. You will have to repeat this just below that section for the section

$rows = array (
 "Fullscreen,Paste,Findreplace,Spellcheck,Bold,Underline, Italic,Strikthrough, -,OrderedList,UnorderedList, -,JustifyLeft,JustifyCenter,JustifyRight,JustifyFull,Help",
 "Spellcheck, -,RemoveFormat, -,Indent,Outdent, -,SubScript,SuperScript,CreateLink,CreateEmailLink,Anchor, -,Image,Flash,Media, -,Table,Form",
 "Fontname,Fontsize,Formatblock,Fontcolor,Highlight,HR, Insertchars,Showborders",
);
$myDE->AddToolbar("Complete", implode(",|,", $rows));

To do the same thing for Complete mode.

Here is a complete list (at the time of creating this KB Answer) of the options that you can add to your editors toolbar.

Save
Fullscreen
Cut
Copy
Paste
Findreplace
Undo
Redo
Spellcheck
RemoveFormat
Bold
Underline
Italic
Strikethrough
OrderedList
UnorderedList
Indent
Outdent
SubScript
SuperScript
JustifyLeft
JustifyCenter
JustifyRight
JustifyFull
CreateLink
CreateEmailLink
Anchor
Help
Fontname
Fontsize
Formatblock
Styles
Fontcolor
Highlight
Table
Form
Flash
Image
Media
Inserttextbox
HR
Insertchars
Pageproperties
Clearcode
Custominsert
Toggleposition
Showborders



Related Articles

No related articles were found.

Attachments

No attachments were found.

Powered by Interspire Knowledge Manager - World's #1 Best Selling FAQ and Knowledge Base Software