Saturday 27 October 2012

On 02:59 by Unknown   No comments
Rich text editors(RTE) can really save you a lot of work that is for those who do not like going the cms way.The cms comes comes with a RTE.I like the yahoo RTE because it is well documented.You can check it out   here to get data from the editor ,just add the handleSubmit option and set it to be true 
handleSubmit: true
to make it look like this
<script type="text/JavaScript">
  var myEditor = new YAHOO.widget.SimpleEditor('detail',
 {   
 height: '300px',    
  width: '600px',   
 dompath: true, //Turns on the bar at the bottom   
 handleSubmit: true  
});  
myEditor.render();
</script>

Sunday 14 October 2012

On 07:14 by Unknown   No comments
An older version of java was copied into the home directory under .swt. By Creating a symbolic link to /usr/lib/jni/libswt I was able to solve my issue.Run the below command in the terminal to fix it.
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86_64/