fMath for Java is a FREE solution to display and edit mathematics on web pages using Java components.

How to install the plugin for Cute Editor for PHP v6.6


	
	Steps to integrate the plugin in Cute Editor for PHP 6.6 distribution:
	- Download Cute Editor for PHP 6.6 from phphtmledit.com and integrate in your site;
	- Download the plugin for CuteEditor from download area;
	- Unzip the package
	- Copy the folder fmath_files to the same folder like index.php file;
	
	- Change index.php by inserting the red code:
	
        <?php
            $editor=new CuteEditor();
            $editor->ID="Editor1";
            $editor->Text="Type here";
            $editor->EditorBodyStyle="font:normal 12px arial;";
            $editor->EditorWysiwygModeCss="php.css";
            $editor->SecurityPolicyFile="guest.config";

	    $editor->CustomAddons = "<img title=\"Add MathML Formula\" class=\"CuteEditorButton\" 
	    	onmouseover=\"CuteEditor_ButtonCommandOver(this)\" onmouseout=\"CuteEditor_ButtonCommandOut(this)\" 
	    	onmousedown=\"CuteEditor_ButtonCommandDown(this)\" onmouseup=\"CuteEditor_ButtonCommandUp(this)\" 
	    	ondragstart=\"CuteEditor_CancelEvent()\" onClick=\"ShowMathMLEditorDialog(this)\" 
	    	src=\"fmath_files/fmath_formulaBig.png\" />";

            $editor->Draw();
            $ClientID=$editor->ClientID();
            $editor=null;
        ?>

	
	<script language="JavaScript" type="text/javascript" >
		var editor1=document.getElementById("<?php echo $ClientID;?>");
	</script>
	<script language="JavaScript" src="fmath_files/fmath_formula.js"></script>
		
	
	- Change the file configMathMLEditor.xml the property urlGenerateImage with your server name
	<property id="urlGenerateImage">http://yourserver/capture/imageCapture.jsp</property>		
	

	The documentation to configure the editor is here;
	
	
`


www.learn-math.info | www.apprendre-math.info | www.aprender-mat.info | www.invata-mate.info
Designed by Diana Alexandru
free components MathML flex GWT LaTeX Web Editor free plugin MathML flash math Mathematics Equation Widget MathML flash LaTeX Mathematics FREE Editor Java