Ed The Dev .com

Edward Delaporte's Technical Journal

Drupal Private Task List

no comment
  1. Install the Drupal Tasks module.

  2. Edit tasks.module

Search for the test ‘Get the list of tasks to display’ The next line will be this SQL statement:

$result = db_query("SELECT n.nid, u.name AS assigned_name, u.data FROM {node } n INNER JOIN {tasks} t ON t.nid = n.nid LEFT JOIN {users} u ON u.uid = t.assig ned_to WHERE n.status = 1 AND n.type='tasks' AND t.task_parent = %d %s ORDER BY %s", $node->nid, $complete, $order_by); Remove n.status = 1 AND That is, replace is with: $result = db_query("SELECT n.nid, u.name AS assigned_name, u.data FROM {node } n INNER JOIN {tasks} t ON t.nid = n.nid LEFT JOIN {users} u ON u.uid = t.assig ned_to WHERE n.type='tasks' AND t.task_parent = %d %s ORDER BY %s", $node->nid, $complete, $order_by);

This causes the list of tasks to display all tasks, including ones that are ‘unpublished’.

  1. Enable the Tasks Module through the ‘Administer’ web interface.

  2. In ‘Administer’ – ‘content types’, Edit that ‘Task’ content type. Under ‘Publishing Options’, un-check ‘Published’.

  3. Now you have a private task list hidden from the outside world.

Mark Twain Cave

no comment

About the Attraction

Mark Twain cave is different from most caves because it was created by geological pressure from below, resulting in large cracks in the rock. Unlike water formed caves, Mark Twain Cave is a criss-cross of interweaving pathways, a sort of natural labyrinth. It is not much of a difference on paper, but it is a unique experience to be inside the cave.

The Best People

One of the best parts of this trip was the inane chatter and cheerful demeanor of our tour guide. I also really appreciated the care we got from the front desk staff at the Quality Inn in Hannibal.

The Biggest Surprise

The biggest surprise was seeing ‘Number two – under the cross’, the treasure hiding place from ‘The Adventures of Tom Sawyer’.

I’m not so sure about the ‘number two’ looking anything like a number two, but the cross really is a distinct marker – hard to miss if you’re looking for it.

The Best Meal

Golden Corral wins again for the best meal of the trip. I wasn’t very hungry, due to being sick – but the food and staff at Golden Corral have been very pleasant every time.

The Best Time Together

One of the reasons I enjoy traveling is spending time alone with my wife. This trip was special because I fell ill on the way home, and there’s something very special about being doted upon by my loving wife.

Yet another financial calculator

no comment

http://www.crown.org/Tools/Calculators/Savings_MonthlyDeposit.aspx