Rotating Headers w/rotate.php


Author Message
Reg Number

Posted: 4/15/2009
Quote message 

I use a number of Drupal themes that allow one to rotate the header image with a script, rotate.php. Does anyone know how to integrate it with an Artisteer generated theme?

I could then use Artisteer to generate several different headers and integrate those into the theme using the rotate.php script.
 
Reg Number

Posted: 4/15/2009
Quote message 

Here's an example a great theme using rotate.php:

http://drupal.org/project/aboutpeople
 
john

Posted: 4/17/2009
Quote message 

I would edit your css file:

div.Header-jpeg
{
position: absolute;
z-index:-1;
top: 0;
left: 0;
width: 994px;
height: 60px;
background-image: url('images/Header.jpg');
background-repeat: no-repeat;
background-position: center center;

and change this:

background-image: url('images/Header.jpg');

To:

background-image: url('rotate-banners/rotate.php');

should work ok.
 
lennart

Posted: 4/17/2009
Quote message 

I didn' t now that you can replace a jpg for a php-commando in a css-file :-O
 
Reg Number

Posted: 4/18/2009
Quote message 

John:

It works! Thanks!

For anyone wanting use this method, you may have to clear your cached pages in drupal for this to take effect: Site Configuration>Performance>Clear Cache.
 
IT Guy 3000

Posted: 7/24/2009
Quote message 

Hi all ... is there a good way to assign specific header images in an Artisteer (Drupal) theme to specific URL aliases or nodes? (As opposed to random rotation?)

In WP, there's a module that does it, but the Drupal "Header" contributed module doesn't seem to play nice with an Artisteer theme. Or at least we can't make it play nice. And we tried to figure out how to do it in CSS with no luck so far.

Here's the instructions for the Drupal header module - http://drupal.org/node/201426

Really hoping to sort this out. Seems like there should be a straightforward way to do this. We have certain site sections that need a different header image; everything else Artisteer kicked out is superb!

Thanks for any help or suggestions!

 
bob

Posted: 3/11/2010
Quote message 

If replacement image is not so high (ex: from 200px to 100px), there is no layout problem?
 
zareen

Posted: 3/7/2012
Quote message 

Where do you get the rotate.php?
 
kjv1611

Posted: 3/14/2012
Quote message 

Quote joel:

Please check out the drupal slideview module.

It allows for managing the images in drupal and use the awesome imagecache on it. The view can be made in a block. The block can be placed in the header.

Joel the drupal way



I'm assuming you mean the Views Slideshow Module? There is no "Drupal Slideshow Module", however there are many slide-show modules.
http://drupal.org/project/views_slideshow