Miss-hana - miss-hana.com
General Information:
Latest News:
Drupal Multilingual guide (i18n): Language detection by IP 22 Mar 2013 | 10:19 pm
By default, Drupal’s i18n provides 5 ways to detect user’s preference of language: User settings user can set their language on their settings Browser Detect user’s browser language and provides the s...
Drupal’s webform integrates with token since 7.x-4.0 23 Feb 2013 | 02:50 pm
Since Webform 7.x-4.0, it supports tokens! It’s not a news but there aren’t any detailed document about how to use it. So here’s my quick note on how to use token on webform default fields. The mainta...
t() : Usage of T Function in Drupal 7 3 Jan 2013 | 12:34 pm
t function is one of the most useful functions in Drupal core, it makes multi-lingual sites so easy to maintain. This is t(). t($string, array $args = array(), array $options = array()) A very basic e...
Using Sass and Compass in Drupal 7 14 Dec 2012 | 11:42 am
When it comes implementing a none-Drupal technic in Drupal, sometimes things can get complicated. There are so many solutions flying out there to confuse people so when I was thinking using SASS and C...
Migrate Contents from Drupal 6 to Drupal 7 Using Migrate 2 11 Dec 2012 | 12:02 pm
I wouldn’t have thought that one day I’ll need this, but when I decided to rewrite Bounty Hunter with Drupal 7, learning Migrate 2 – the migration framework for Drupal – became my destiny. But trust m...
Enable/Disable all non-core modules using Drush 8 Oct 2012 | 05:17 pm
It happens when I’m developing Drupal sites, writing custom modules and get a “502 Bad Gateway – nginx”. It can be hard to debug as 502 errors are usually caused when PHP freaks out for some reasons. ...
SSH Login Without Password Using Keys on Mac 8 Sep 2012 | 05:37 pm
It feels better and gains desire to code when it’s easy to access your server via SSH with no IP limitation and password. Using public/private keys is a good way. And it’s easy! Let’s say we have a Li...
Calculate Field Values Using Computed Field in Drupal 7 10 Aug 2012 | 06:29 pm
Background I usually don’t install too many modules as it slows down my site, but I’d like to recommend computed_field.module. There are some other similar modules but this is the only good one. I’m r...
Dad Talking about Dating a Man 28 May 2012 | 08:43 am
After years of separation to my Dad, we chatted on Skype today. Because me and my boyfriend just broke up and I was suffering a severe depression. I had to talk to someone and I saw him online, we sta...
My lovely Paris trip 23 May 2012 | 10:15 am
8:10p.m. 22th May in London I’m on the tube home, ah, don’t know how many times I have to suffer the horrible transportation here. In Taiwan if this happens it goes on TV news, but in London people h...