Reference
How to do graphics in a sidebar not the Drupal way
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"Functions needed to define a new CCK field; Field placement module thoughts
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)
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
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
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
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;
}
?>Drupal Dev-Test-Live Staging Solution for Code and Database
Drupal Staging Solution
http://drupal.org/node/181128
Drupal development server configuration
http://www.garfieldtech.com/blog/drupal-dev-server
http://ceardach.com/blog/2008/03/development-production-database-merge-s...
Ask Agaric: Can we add a menu item that...
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
Go straight to the useful, how-to information: http://agaricdesign.com/note/how-theme-lots-views-agaric-way
Condensing the wisdom of the wizard
IE6 Testing with a Disk Image from Microsoft
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.
