Drupal

Coder review of contrib upgrade to 6.x (for DrupalCon Szeged)

Submitted by doug on August 24, 2008 - 4:32am.

I am co-presenting coder at DrupalCon Szeged with my co-maintainer Stella who has been co-maintaining coder for about a year. See the session write-up

This presentation will be similar to the one given in Boston. But Since we have less time, and since we are co-presenting (meaning even less time for me), I'm pre-releasing parts of the presentation in this blog.

Themers: Put IE6 to pasture?

Submitted by Trevor on August 22, 2008 - 11:01am.

If you're a themer, you know you want it. You crave for it every day. It's a hunger, never relenting, pushing you closer each day towards the brink. You'd consider doing just about anything -- legal or otherwise -- to end the agony of using Internet Explorer 6.

Running Coder on patches through the command line

Submitted by doug on August 20, 2008 - 4:51pm.

Some time ago, Kieran approached me about the possibility of running coder on patches submitted to Drupal.org.

Because of some outstanding work by Stella, and (of course) Moshe a.k.a. drush, Kieran's wish is now a possibility. The actual patch issue is here.

Getting Ready for Szeged: Creativity and Programming

Drupalcon Szeged is one week away. I am glad I am attending, and I am planning on leading a Birds of a Feather (BOF) during the conference. The focus of the BOF is creativity and programming. I want to discuss the weird mix of human behavior and code. Sounds strange I know, so let me describe in more detail.

Customizing "View More" Links In Views 1 For Drupal 5

Submitted by Bevan Rudge on August 20, 2008 - 12:55am.

A short, quick and easy tip for views theming and customization.

To customize the text or the destination path/url of a 'view more' link in Views. Add this to template.php in your phptemplate theme and add cases.

<?php
/**
* Override theme_views_more() to set custom link texts and destinations.
* @param $path String
*   The destination of the more link.
*/
function _phptemplate_views_more($path) {
 
$text = 'more';
  switch (
$path) {
    case
'foo/bar':
     
$text = 'doh';
      break;
  }
  return
"<div class='more-link'>" . l(t($text), $path) . "</div>";
}
?>

How To Rebuild The Menu In Drupal 6

Submitted by Bevan Rudge on August 19, 2008 - 8:17am.

To rebuild the menu in Drupal 6 you have to go to admin/build/modules.

In drupal 5 the menu is cached in the cache_menu table, so it is easy to invoke a menu-rebuild by emptying the table with a simple mysql command like TRUNCATE cache_menu;. (I have a handy script that empties all tables starting with cache_).

CivicActions Sponsors DrupalCon Szeged 2008

Submitted by GregoryHeller on August 18, 2008 - 3:54am.

DrupalCon Szeged is fast approaching and though we are a sponsor, I'm sorry I won't be able to attend. A number of my colleagues from CivicActions will be there though including Doug, Robin, Kevin, Jozef, look for them in sessions and at the Day 1 Exhibition.

Modules for building Drupal wikis

Submitted by Owen Barton on August 11, 2008 - 5:37am.

For many sites a standard Drupal content type with open permissions and revisions will do enough of the 'wiki-thing' for many situations.

However, there are a bunch of other wiki-like behaviors that you might (on some sites) want to add additional functionality or usability - here is a summary of modules to check out:

  • Wikitools (pretty configurable - you don't need to have all of this all the time)
    • Node Creation: Let users create new nodes when they type in a node name which does not exist.

Secure code: what the machines are saying about us

Submitted by nedjo on August 8, 2008 - 9:06am.

This morning my Drupal development environment came miraculously to life. I used the opportunity to learn more about how the machines view us as humans and what their terms are for communicating with us. Here's a transcript of our conversation.


So I've been dying to know, machine, what do you think of us humans?

<?php
define
('MACHINE', 'pure');
define('USER', 'impure');
?>

Um, come again? I'm not quite sure I get what you're saying.