Reference

How to do graphics in a sidebar not the Drupal way

Description & Info: 

Note the title said NOT the Drupal way. That means this is a cautionary tale of how NOT to add changing promotional graphics to your site.

In a local checkout of the repository:

cd themes/example/images/home/
svn add example_graphic_one.gif
svn add example_graphic_two.gif
sudo svn commit -m "new graphics for front and story pages"

by Benjamin Melançon
Posted on Thu, 2008-07-17 06:41
in

Functions needed to define a new CCK field; Field placement module thoughts

Description & Info: 

If we were to implement Field Placement's imagecache preset option as a CCK field itself, here are (a lot of) the parts we would have to implement, drawn from imagefield itself. Many helper functions left out, but the below code is the gist of defining a CCK field type.

Steps to Follow on All Agaric Sites (default configuration destined for an installation profile)

Key words and phrases: 
standard steps to incorporate into an installation profile Drupal configuration for all sites install checklist
Description & Info: 

This document is a part (soon to be an automated part) of Agaric's ultimate site deployment checklist.)

Make automatic with a custom Agaric installation profile

How Drupal 5's Administration Theme functionality works

Description & Info: 

Drupal's administration theme functionality works very simply: if the first argument of the internal path is admin, the custom theme is set to the admin theme.

This suggests that the $custom_theme variable can be set by modules to change to any arbitrary theme, and it will override the default theme.

Web accessibility resource that may be better than W3C

Key words and phrases: 
accessible accessibility screen readers visual impairments different abilities handicap
Description & Info: 

From one of our favorite clients, regarding a capability on which we need to greatly improve our performance:

Variables available in _phptemplate_variables for node templates

Description & Info: 

The variables you get to play with while setting new variables are nice.

So you can do switch or if statements on $var['type'] to only provide certain variables to certain node types.

<?php
function _phptemplate_variables($hook, $vars = array()) {
  switch (
$hook) {
    case
'node':
       
drupal_set_message('<pre>'.print_r($vars,TRUE).'</pre>');
        break;
  }
  return
$vars;
}
?>

Ask Agaric: Can we add a menu item that...

Description & Info: 

Once some people get a little familiar with doing things with Drupal, it seems all further requests come as subsidiary requirements of the important thing: creating a menu item.

That's not really where I, as a web developer, want to come in on the conversation.

Someone tell me, am I making sense? What should I say?

Theme (lots of) views the Agaric way: Background

Key words and phrases: 
theme view with template condense views theming wizard output
Description & Info: 

Go straight to the useful, how-to information: http://agaricdesign.com/note/how-theme-lots-views-agaric-way

Condensing the wisdom of the wizard

by Benjamin Melançon
Posted on Mon, 2008-01-07 10:27
in

IE6 Testing with a Disk Image from Microsoft

Key words and phrases: 
Internet Explorer 6
Description & Info: 

http://www.mindfly.com/blog/post/2007/12/The-Evil-You-Need.aspx

Of course, you don't need Microsoft, ever for this:

http://www.tatanka.com.br/ies4linux/page/Main_Page

Unfortunately (or fortunately) for me, the mac port of IEs 4 Linux only works on Intel/x86, not PowerPC, Macintoshes.