iCreativeLabs blog

We LOVE our JOBS and we SHARE for you
Subscribe

Archive for the ‘Tutorial’

Plurktroduction (Plurk Introduction)

1) First of all, you might want to know what is Plurk?

Noun. plurk (plüer-kh) - A really snazzy site that allows you to showcase the events that make up your life in deliciously digestible chunks. Low in fat, 5 calories per serving, yet chock full of goodness.

Verb. plurk (plüer-kh) - To chronicle the events of your always on, action-packed, storybook, semi-charmed kinda life.

Plurk is an easy way to chronicle and share the things you do, the way you feel, and all the other things in between that make up your life, with the people close to you. It’s instant gratification, instant self-indulgence, instant celebrity, instantly YOU. Share your life stream, live your life….Plurk!

http://www.plurk.com/aboutUs

2) What is this? And this? And this???!!


Don’t panic yet!! Allow me to explain… This is you daily timeline, every shouts of your activities will be recorded along this timeline everyday. Since you just moved in to Plurk world your timeline should be empty (or at least only one post from Plurk Buddy). Click on any post you want to read or give comment at. Now take a look above your timeline.

continue reading

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon


Play cheat with W3C CSS Validator

If you design or create website you must validated the CSS and HTML. You can find the css and html validator from w3c validator. When i used thickbox in my site the css not valid cause thickbox used css3 and the validation use css level 2 :(

Icreativelabs not validate the css


I think i must played cheat with this validation cause it’s make me feel sick. I make some modification for the engine for played cheat with this W3C engine.

First I learn what engine that W3C have and if found this on my engine [HTTP_USER_AGENT] => W3C_Validator/1.575 .When i see that i got the point, W3C used custom engine and the call the engine with W3C_Validator . I think i can modified my code and put some code for hide my thickbox.css from this engine.

This is the code for hide my CSS


<?php
$text         = $_SERVER["HTTP_USER_AGENT"];
$findme        = 'W3C';
$engine = strstr($email, $findme);
if (!preg_match("/".$findme."/i", $text)) { ?>
<link rel="stylesheet" href="thickbox.css" type="text/css" media="screen" />
<?php } ?>

You just need change the line 6 with your css that you want hide :)

And when i checked on W3C once more time, they said this site already validating :D you can see here

Icreativelabs css is valid


Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon


Got Problem with FCKEditor In Jamit

This late of night for writing something useful, but i try to describe the problem and solver in just a few paragraph.

This FCKeditor case. When I try customizing Jamit Job Board I got error on admin Page. This error only came on FCKEditor, you can see the error code below


uncaught exception: Permission denied to set property Window.FCK_STATUS_NOTLOADED
....
fckeditor.html (line 183)
uncaught exception: Permission denied to get property Window.FCKeditorAPI

For your attention in our tested case everything run smoothly, but when I test again after my client said they found some error like before I got some error like my client said.

Hmmmm what’s wrong with the code…

I learn every code and html output, everything not on mess, all tag already close. Trying on uncle google an still can’t found anything.

At last I found the problem when I watch every case in before. The problem it’s on HTTP address. In wrong version i used www before the address and the correct setting it’s without www.

For solved the address problem I used .htaccess rewrite


RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.eastafricajobs.com$
RewriteRule (.*)$ http://eastafricajobs.com/$1 [R=301,L]

That’s code will rewrite your url and will redirect www.eastafricajobs.com to eastafricajobs.com

Problem done and one jobs has solved

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon


Nice Feature On Firefox

Firefox logo imageEveryone know about firefox browser, The faster, secure, and fully customizable and have many feature that will bring extra experiences when browsing.

This a few feature needed install on your firefox browser.

continue reading

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon


Adjacency list tree on MySQL

sebetulnya ini kupipas dari blog sayah *hayoo tebak blog saya apa coba..* berhubung dari kemaren dikejar2 si “luffy” untuk posting,apa boleh buat… *huh!*

Modelling hierarchy data in relational database is hard.

Adjacency list is one of few method to modelling this data to SQL.
if you do not know about adjacency list, or you want to know other method than adjacency list, you might wanto to read Joe Celko’s Trees and Hierarchies in SQL for Smarties

Adjacency list is known with its “easy to insert but hard to retrieve”.

continue reading

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon