Main menu

How to Submit a Drupal Patch with Git (or "How I learned to get out of the shadows")

Published by shrimphead on Tue, 10/04/2011 - 11:27 in

Its sad to say but I've been a member of Drupal.Org for nearly 3 years and only yesterday did I submit my first patch. And it was easy. Here's a step by step list to take the mystery out of it and help you start sooner.

Drupal 6 Links & Includes

Published by shrimphead on Mon, 10/03/2011 - 15:40 in

Creating Links and File Includes with Drupal is not too difficult, so long as you can remember the basics. So I wrote them down to remember them.

Creating a link with HTML attributes.

<?php
$attributes
= array(
 
'attributes' => array(
   
'class' => 'css-clss',
   
'rel' => 'lightbox',
   
'title' => 'My Title',
   
'id' => 'unique-id',
  ),
);
$link = l($title, $link, $attributes);
?>

Three strikes on D7

Published by shrimphead on Tue, 06/28/2011 - 20:30

I'm not happy to admit but I've tried to love D7 and failed. It's an amazing CMS, with lots to offer. But I'm not a magician or a Comp Sci god. I'm just ex-art student who loves mashing up stuff and watching what happens.
Drupal 6 got me doing some fun and rather impressive stuff with databases and custom module building.
But D7 there just isn't enough resources (that make sense) to pull off that same level in me. I rely on the shoulders of giants to peer over the horizon. To achieve my goals I need some one with whom i can 'kirk-step'. (To boldly go where someone has gone before.)

Using Taxonomy Image with Term Queue

Published by shrimphead on Fri, 04/01/2011 - 11:07 in

This code is specific to Drupal 6 and should be placed in the ##template.php## of your theme.

<?php
function hook_preprocess_page(&$vars, $hook) {
 
$vars['term_queue_list'] = hook_term_queue('Name of queue', $taxonomy_list);
}
?>

What I've been doing instead of posting

Published by shrimphead on Wed, 03/16/2011 - 10:47 in

Tags 

water, flood, busy
Digging new water line.

My waterline recently broke, causing some flooding and our family to move out for a few days.
We are now back in the house getting ready to clean up and see to all the insurance stuff.

Post

Published by shrimphead on Wed, 03/09/2011 - 11:14 in

Tags 

placeholder

Because i haven't posted anything in a while.

Busy Days

Published by shrimphead on Mon, 12/06/2010 - 06:45

I've been busy these past few months, developing new Drupal 6 site for work. I'm neck deep into code learning the Drupal hook system and Git version control, and finally got around to experimenting with the 960 grid system.
That's a lot of new stuff to wrap my head around. But it seems to be working. All I can say is why didn't i try it sooner?
It has made my site so much better. More bells and whistles, easier to work, better, more stable layout, and a great version control safety net that has saved my bacon on more than one occasion.

Top 5 Lists

Published by shrimphead on Wed, 10/13/2010 - 16:17 in

Tags 

top 5, list
    Tob 5 Movies
  1. Seven Samurai
  2. Once Were Warriors
  3. My Life As A Dog
  4. Nausicäa
  5. It's A Wonderful Life

Testing the Ordered List HTML list of the theme.

Killing Kittens

Published by shrimphead on Sat, 10/09/2010 - 20:44 in

Tags 

hack core
Admin Overlay ON

Wow. I've only had this Drupal instal for less than 12 hours, and I've already hacked core!

The first thing i noticed was "Wow i love that administrative overlay, works great and is so easy to navigate." Then I tried accessing my site from a mobile device and "wow that admin overlay really sucks!". It can't extend past the mobile screen - effectively cutting off half the options and even the submit button.

Drupal 7 Beta Test

Published by shrimphead on Sat, 10/09/2010 - 07:14 in
Me and Callum

Testing the newly release beta of Drupal 7, with a clean install on my site.