Drupal: How to show Term Description on Views Header for each Taxonomy Term

Short Answer: Use Relationships. 

Long Answer: 

  1. Add a relationship "Content: Taxonomy terms on node".
  2. Select the Vocabularies you want to add in relationship.
  3. Add field "Taxonomy term: Term description" and select exclude from display
  4. Configure Header: Global: Text area
  5. Check the box "Use replacement tokens from the first row"
  6. Use [description] in the header

Migrating Drupal 7 content to WordPress 3.5

In a not too distant past, I decided to move my blog to WordPress. After setting everything up, doing sql commands no ordinary homeschooling mom would dare do in her free time, I felt I was missing something important. I'm such a Drupal fan that I couldn't see myself using WP (even though it's probably the best platform for a simple blog like this). Well, I ended up putting all my hard work in the bin and sticking with Drupal, thanks to my unreasonable loyalty. You probably have a different resolve than me right now, judging from why you're here reading my post. Here is how I migrated my posts from Drupal 7 to WordPress 3.5.

Review: Key to Algebra (Key Curriculum Press)


Key to Algebra is a series of ten workbooks that introduces your child to the fundamental concepts of Algebra. It's perfect for gradeschool and middle school students who are preparing for Algebra 1. What I appreciate most about this curriculum is the approach it takes (like all Key To series) - short and straight to the point, guiding students one step at a time to master basic concepts that help them progress to complex ones in the book.

Apologia General Science (Schedule, Resources, and Alternative Tests)

Exploring Creation with General Science

Dr. Wile is a genius. This is a fact. Check out Apologia's Exploring Creation with General Science if you don't believe me. 

I highly recommend this Science curriculum to homeschooling families with middle or high school students. Not only does it teach valuable insights and a Biblical Worldview, but also encourages discipline, detail, and not to mention diligence in your budding scientists as they go about their experiments.

I Heart Kiehl's

Kiehl's logoI think that it is just apt to write about how this whole skincare and make-up thing came about. Some of you know that I'm straightforward and simple in my skincare and make-up: Oil Control film when my face starts to shine like the planet Venus as it reaches its Greatest Eastern Elongation. My facial regimen is close to nil and I even hit the sack without even washing my face.

Until I met Kiehl's.


Triggering An Event Change Upon Select Dropdown with PHP & Javascript (on CodeIgniter)

This assumes that you are familiar with Object Oriented PHP, have a database to store all your data and are working on an MVC framework like CodeIgniter. I need an editable field that auto-populates upon select of another dropdown field. Considering you have the following database table employees:

Drupal Login with FB Profile

I've documented all the steps on a fresh Drupal install with a Zen custom sub theme. Proven and tested to work on Drupal 6.20 and 7. 1. Enable the OpenID module which comes with the Drupal Core and is disabled by default. 2. Download, upload, and extract in sites/all/modules/ directory: OpenID Selector Module. Drush would be the fastest: $ sudo drush dl openid_selector 3. Donwload, upload, and extract in sites/all/modules directory: Libraries Module. Again, drush-ing it would be the fastest way: $ sudo drush dl libraries 3.

Super-mommy-ing for the past 3 months

Never in my whole married life did it occur to me that I'd be working full-time in an office in Makati. For one, I prided myself on being a 'stay-at-home' mom. Next, I homeschool my children. And the last reason before you dismiss this run-of-the-mill article, I really want to spend as much time as possible with my kids. I want to be there to bathe them, kiss their 'ouchies', ice their bumps, read them classics from Runaway Bunny to the Great Gatsby, cheer for them on their first soccer tournament, fight for them when a kid bullies them off the swing, cook for them, pray with them, help them balance checkbooks, and the list goes on...

Some MySQL Tips

For lack of a better way to categorize my MySQL page tips & tricks, I'm just gonna go random:

How to find out if you have mysql server in your machine: 
$ netstat -lnp | grep mysql
$ ps -ef | grep mysqld

How to add a column to an existing table:
mysql> ALTER TABLE projects ADD project_name decimal(8,0) unsigned NOT NULL DEFAULT 0 AFTER project_type_id;

A Zombie-riffic Morning, A Coffee, A Poem, and Adele

My mood today is a mashup of some sort. Perhaps it's the endless Jack Johnson of last night at Whistlestop. Perhaps it's the long Holy Week holiday. Perhaps it's Adele's Someone Like You or Taylor Swift's Last Kiss or Glen Hansard and Marketa Irglova's Falling Slowly. Definitely not the usual songs on my playlist but forgive the girl for feeling melancholic. Today is such a confusing day for her.I had about three hours of sleep and I feel like a zombie geek typing away boring arrays of code on my laptop. Here's my coffee for drowning away traces of that dream from last night.

Setting up a Drupal 7 Sub-directory Multi-site on Ubuntu 10.04 LTS and LAMP

Setting up a development environment for your website is both critical and time consuming. It is critical because it helps you plan for the future especially in identifying errors and planning for upgrades. It is time consuming because there is no one way tutorial out there to set up the kind of environment you need for your development specifics. This is a personal guide I've made for myself and if it helps you greatly, I'd appreciate a link and/or a comment to this article. Assuming that you are running Ubuntu 10.04 LTS Lucid Lynx or Ubuntu 10.10 Maverick Meerkat, install Ubuntu's LAMP webserver and take time to test and make sure it's fully functional.