How To: “Blog Roll” in Drupal (6.x)

Recently I was asked to include a link to the South Okanagan Linux Users Group as a favor for them linking to the North Okanagan Linux Users Group, which I help maintain. The NoLUG runs on Drupal, which unlike WordPress (which I use for n3wt0n) does not include a “blog roll” by default. And by blog roll, I mean a collection of links to other similar blogs which is usually featured on every page throughout the site.

SOLUG scratched our back, it’s only fair in return to scratch theirs. So how do you go about creating a blog roll in Drupal? You may think about using an existing module, but that was too much work. Here’s the simple way.

Follow the path:

Home » Administer » Site building » Blocks (Add Block)

And fill in the following fields:

Block description - What the block will be called on the Blocks menu.
Block title - What the block will be called on the actual page.
Block body - The HTML to make up your blog roll.

The block body I used for the NoLUG site was simply an unordered list that makes for easy maintenance.

<ul>
<li><a href="http://clug.ca/" >Calgary LUG</a></li>
<li><a href="http://lug.kamloops.net/" >Kamloops LUG</a></li>
<li><a href="http://solug.org/" >South Okanagan LUG</a></li>
<li><a href="http://vanlug.bc.ca/" >Vancouver LUG</a></li>
</ul>

Now choose whichever configuration options you want to associate with the block. I recommend

Custom visibility settings: Users cannot control whether or not they see this block.
Show block on specific pages: Show on every page except the listed pages. (Leave the listed pages blank)

Make sure you click “Save Block” so your hard work is saved. This will take you back to the Blocks menu.

Scroll to the bottom of the Blocks menu, to the Disabled section. Locate the newly created “Blog Roll” and select either Right or Left Sidebar (or wherever you want to place the block). Click “Save Blocks” and there you have your new Blog Roll.

Leave a Reply

 

Staypressed theme by Themocracy