View Single Post
  #89  
Old 04-11-2005, 05:58 PM
 
vulcan-works vulcan-works is offline
 

Senior Member
  
Join Date: Feb 2004
Posts: 143
 

Default

Quote:
Originally Posted by g0t0pless
Thanks to all that helped me to get this working... It works!!!!

Now, how do I add/remove toolbar buttons?

I am messing around in fckconfig.js and I see where they buttons are called up under "basic" and "default", but adding/removing anything in there has no results. I even tried creating a new toolbar set called custom, and then changing my toolbar settings in main/product_modify.tpl to request the custom toolbar. Doing so results in an error saying the toolbar doesn't exist.

Add this line
Code:
oFCKeditor.ToolbarSet = "Basic(or whatever u have)" ;
between
Code:
var oFCKeditor = new FCKeditor( 'fulldescr' ) ;
and
Code:
oFCKeditor.ReplaceTextarea() ;
in the product_details.tpl

so..
Code:
<script type="text/javascript"> var oFCKeditor = new FCKeditor( 'fulldescr' ) ; oFCKeditor.ToolbarSet = "Basic" ; oFCKeditor.ReplaceTextarea() ; </script>
__________________
X-cart--4.7.12

vulcanworks.net
Reply With Quote