那些年,我們一起追的女孩。

作者: 九把刀

其實係上年就已經睇完這本書,這亦是我看的第一部九把刀作品。係全城都對電影版瘋狂的時候,我還是比較想看看原著。

好熱血的一本書,一拿上手就不願放下,所以兩天就看完了。回想自己的青春,好像從沒做過一件熱血的事,最最最熱血應該是大學時的五人足球反敗為勝打進四強,哈哈。除了熱血,不得不提的是柯景騰的堅持,對夢想的執著,真真正正做到了一個很厲害的人…

Drupal – Show exposed filter value in Views header/footer

I want to show the submitted exposed filter data in the Views header/footer. This can be done by retrieving the $view object in PHP. The following code will printed the exposed filter data. Apply it to the Views header/footer with PHP enabled.
Continue reading Drupal – Show exposed filter value in Views header/footer

Drupal 7 – Get number of nodes of Taxonomy Term in Views

About 2 months ago i published a post on how to get the number of nodes of a specific taxonomy term by term ID.
Drupal – Get number of nodes of Taxonomy Term by Term ID

Unfortunately, the taxonomy_term_count_nodes() no longer works in Drupal 7 but you can get the count by Views in D7.
Continue reading Drupal 7 – Get number of nodes of Taxonomy Term in Views

Facebook Javascript SDK – Logout with OAuth 2.0

Now we have OAuth 2.0 working with the Facebook Javascript SDK as mentioned in the last article.
Facebook Javascript SDK – A Simple Login Page with OAuth 2.0

The above example is incomplete as there is no logout link. Replace the fb-login-oauth2.php as follow. Continue reading Facebook Javascript SDK – Logout with OAuth 2.0

Dream BIG and go for it =)