One way I've seen it done make a region in your template for the banner, and then create a block for each different banner (where the block body is the img tag for the banner graphic). Then, in the "Show block on specific pages" fieldset, check the "Show on only the listed pages" radio button and list the URL for the page where you want that particular banner to be displayed.
Steve
Richard Burford 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.
psynaptic http://freestylesystems.co.uk http://api.freestylesystems.co.uk
On 25 Jun 2008, at 23:42, Jody Cleveland wrote:
I'm running a site with Drupal 6.2 that will have many different sections to the site.
Is there a way to define a stylesheet based on path? Sections does a great job defining themes based on path, but that only let's you choose a different theme. I'd love something exactly like that, but with the ability to just choose a different stylesheet. Many of the sections on my site will just use a different header graphic. I'd rather not duplicate the template, just serve it a different stylesheet.
Is there a way to do this?
- jody
-- [ Drupal support list | http://lists.drupal.org/ ]