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/

Monday 17 September 2012

On 02:54 by Unknown   No comments
This bug is so annoying:
To fix it;
click on the info icon before <?php
then select html 4.0 transitional

For Failing to open project with existing sources:
this trying removing the nbproject directory in your project folder and creating a new netbeans project with those existing files.
Another possibility:
If you encounter this on Linux,confirm that you have enough permissions in the directory you are writing to .You could be not having permissions to write into the folder and thats why netbeans can not  create its folder nbproject.

You are good to go .....

Sunday 16 September 2012

On 04:42 by Unknown   No comments
right click on the project >properties>run>then change console type  to standard output

Friday 14 September 2012

On 23:14 by Unknown   No comments
1.Install build-essential package
apt-get install build-essential
2.Install g++ if not already installed
apt-get install g++
3.You can now check your g++ version
sudo g++ -v
4.Have fun
On 08:59 by Unknown   No comments
First,you need to creat the file using gedit,
Then open terminal,
Then change directory to to the file location,
Then type g++ <filename>
This will create a file
Finally,
type ./a.out <the new file>

Sunday 12 August 2012

On 08:47 by Unknown   No comments
do this on your terminal:
cat /etc/issue