HTML
How to display user's fullname in Drupal
By default, Drupal will have only username and password for such a user. Whenever username is displayed, it will try to call a theme funtion namely username by specified $node. If you want to display user's fullname instead, you have to customize a little bit.
- sugree's blog
- Add new comment
- Read more
- 5257 reads

How to list nodes in multiple taxonomies in Drupal using Subquery
I found a good question regarding PHP snippet for Drupal. Usually, we will list nodes in multiple taxonomies using OR operator. However, you might need to list using AND operator which nodes must be in all specified taxonomies instead. It is not easy to do so using plain SQL. The straightforward solution is to use subquery.
- sugree's blog
- Add new comment
- Read more
- 2078 reads

How to manually sort table in Drupal
Drupal provides powerful and flexible built-in table sort functionality. However, it will only work with database query through standard db_query() and pager_query(). In many cases, rows are fetched from external system, e.g., mailbox. We may add a few lines to get the same behavior.
- sugree's blog
- Add new comment
- Read more
- 3644 reads

How to display image field inline in Drupal
Drupal is one of the greatest CMS right now. It is possible to build a site in minutes and a few days for customization without changing single line of existing codes. That means upgrading is painless. CCK is very powerful for customizing existing content types such as blog to have inline image per node using image field. However, default behavior is to display the image separately. It is not nice so I have to customize myself.
- sugree's blog
- Add new comment
- Read more
- 5322 reads

How to make menu by pure CSS
I was asked to find a solution for making a horizontal dropdown menu in HTML. I don't know how to do it but I'm sure it is possible especially in Firefox. After searching in Google, I found a good tutorial.
- sugree's blog
- Add new comment
- Read more
- 3821 reads

How to install oci8 for PHP 5 on Ubuntu
OCI8 is an extension for providing APIs to Oracle database management system. However, installing OCI8 is not just easy like apt-get since it requires SDK offered by Oracle and its distribution license prohibits the inclusion to linux distribution. That means we have to download and compile it by ourselves. Fortunately, it is a little bit easy for Ubuntu.
- sugree's blog
- 6 comments
- Read more
- 16982 reads

Recent comments
3 years 15 weeks ago
3 years 20 weeks ago
3 years 21 weeks ago
3 years 21 weeks ago
3 years 22 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago
3 years 24 weeks ago
3 years 25 weeks ago