The Marble Maze
Our family had a wonderful long weekend, over Easter 2010, at Jindabyne, in southern NSW, Australia.
Wandering along the lake foreshore, at Jindabyne, we came across an exhibition of outdoor sculptures. This was the Lakelight Sculpture Exhibition, an annual event at Jindabyne, which I must recommend if you're in the area around Easter.
One of the most memorable sculptures was a youth entry called 'The Marble Maze' by Dylan Brown (who is 13 years old). This was an interactive sculpture of welded wire, funnels, buckets and golf balls. An attached sign invited passers-by to try their hand at climbing up step-ladders and releasing golf-balls into the funnels (with the disclaimer that it wouldn't always do what it was supposed to). The golf balls would go hurtling along the wire tracks of the sculpture, and eventually land with a thud into a bucket at the bottom. Though the occasional ball would be flung off the track in a completely random manner. I was quite fascinated. Our two children, loved it too.
Date fields in Drupals 'Profile' module
I had added a date field to Drupals user profile, (via the Profile module), but the date is stored as a serialised array.
To extract this I used the following:
// Get $user like this so we load the profile values too
$uid = $GLOBALS['user']->uid;
$user = user_load(array('uid' => $uid));
// Format date
$val = $user->profile_duedate;
$datedue = mktime(0, 0, 0, $val['month'], $val['day'], $val['year']);
$date = format_date($datedue, 'custom', 'l dS F Y');
print $date;
Apache, MySQL, PHP on Windows7
I've just go a new laptop with Windows7 (professional) on it. Now I want to do some Drupal development on this so I want Apache, MySQL and PHP installed. Heres the issues I've had:
iPhone Themes
Here are some links to iPhone related stuff in Drupal:
Beauty Tips
These balloon tips are really cool - and they supposedly work on the iPhone. Wonderful!
I'll give the iPhone a test in a minute. Need an extra library (Explorer Canvas) for Internet Explorer thought...
Drupal and the iPhone
Ahh I just found this. I might give this a go with this site. Though I alsowant to get the theme optimised for the iPhone too.
My First Dynamic Page
Well I added my first dynamic page. See here. What do you think?
I must thank the BOM for their data. They have a great site by the way - they have a rain radar which is great for knowing 'is it about to rain now'. Its good for riding home from work between the afternoon thunderstorms!
Ciao.
Installing Drupal
I finally got Drupal working!
I had upladed everything to the webserver, created the database and user, but was still getting database access errors. What was wrong?
Finally I came across this comment on Drupal.org about installing when you have your Drupal in a sub-directory. And that fixed it!
Theres still the problem of the missing modules...
