Agaric Design Collective

Syndicate content
Open Source Free Software Web Development and DJing the Agaric way
Updated: 6 hours 21 min ago

Add a span wrapper inside primary and secondary menu links in Drupal 6

Fri, 2008-08-29 13:48

All I want to do is throw spans around the links. Ah well. Here is the function below, modified to do exactly that.

It will do it to all sets of links passed through theme('links', $links) but so far on Agaric's example site, at least, that means only the primary links.

<?php
function examplezen_links($links, $attributes = array('class' => 'links')) {

read more

Panels2 and Organic Groups

Thu, 2008-08-14 21:19

Well, here's what one of the experts has to say about it --> http://www.tejasa.com/node/160

highly recommended and very useful...

do it!

Harry Slaughter joins WorkHabit

Sun, 2008-08-10 05:11

Harry Slaughter of DevBee (in fact, all of DevBee) announces he's going full time with WorkHabit. I've liked following him blog about Drupal and web work and I hope to see him help WorkHabit follow through on some of their more ambitious announced contributions to the open source community... I can identify with that!

Different page templates for different content types

Fri, 2008-07-25 20:48

<?php
// Add additional template suggestions
function _phptemplate_variables($hook, $vars) {
  switch ($hook) {
    case 'page':  
      // Add page template suggestions based on node type, if we aren't editing the node.
      if ($vars['node'] && arg(2) != 'edit') {
        $vars['template_files'][] = 'page-'. $vars['node']->type;
      }
      break;
  }
  return $vars;
}
?>

read more

Site of the Day: browsershots.org

Thu, 2008-07-24 00:06

straight from http://browsershots.org

What is Browsershots?

read more

Fanning the fire....

Thu, 2008-07-10 19:41

Just to add fuel to that particular fire here on this site too :P

Why do people use two spaces after a period ?? WHEN THEY ARE USING A VARIABLE WIDTH FONT

and not a fixed width font !!!!!!

read more

Jeff Eaton at the Lullabot Workshop

Thu, 2008-07-10 17:38

Providence Drupal Theming and jQuery July 2008