I used Horizontal scrolling announcement wordpress plugin (v3.0) for some sites but currently it’s not supporting for multi langauges but I need. I modified the code in the plugin for displaying purpose in file: horizontal-scrolling-announcement.php in method: horizontal_scrolling_announcement() Line 53: $hsa = htmlspecialchars(__(stripslashes($data->hsa_text))); Line 61: $hsa = $hsa . ”   –   ” . htmlspecialchars(__(stripslashes($data->hsa_text))); At… Read More


Very nice, let share you guys what I found and so interesting tips: to display your pdf on page or post, here is the way: 1. Add following function into functions.php of your theme: /** * Pdf viewer function */ function pdfviewer($attr, $content) { return '<iframe src="http://docs.google.com/viewer?url=' . $attr['href'] . '&embedded=true" width="500" height="370" style="border: none;"></iframe>';… Read More


Normally with CodeIgniter, the URI will come with http://domain/index.php/controller/methodYou may have doubt to remove the index.php to have only http://domain/controller/method .. Here is the way:1. mod_rewrite still need to be enable in your apache server2. Open config.php from your application/config and replace $config[‘index_page’] = “index.php” by $config[‘index_page’] = “” 3. In file .htaccess at the… Read More


In CodeIgniter, you may know that you need to configure base url via config.php (param: $config[“base_url”]) so when change domain you may doubt sometimes with such small error; Here a solution to help solving the issue; Change at config.php by fix url with this smart url configuration: $config[‘base_url’] = ((isset($_SERVER[‘HTTPS’]) && $_SERVER[‘HTTPS’] == “on”) ?… Read More


Hi,Here is my presentation at barcamp phnom penh 2009, on Sunday 4th of October at Pannasastra University (Norodom), in hall room, Room Phnom Tamao at 11:30am to 12:30pm. It was about the state of the art of web development, wanna to express how web technologies going on since it was started and today; also a… Read More