On 6/25/08 5:45 PM, "Richard Burford" <
rich@...> wrote:
> I've not built a theme for Drupal 6 yet but in Drupal 5 what you can
> do is add a body class based on what's in arg(). This can be done in
> template.php.
I tried adding this to template.php, but it didn't seem to do anything (body
tag still shows up as just <body>:
print '<body id="'. arg(0) .'" ';
print theme('onload_attribute');
print ">";
Do I have that right?
- jody
--
[ Drupal support list |
http://lists.drupal.org/ ]