Reading the post in http://drupal.org/node/764380 how to add another banner I made some other work to have rotating banners

- copy the attached script to the images/banner
- add this to lines to acquia_slate.info

skinr[slate-banner-styles][options][6][label] = Rotating
skinr[slate-banner-styles][options][6][class] = banner-background-rotating banner-background

- add this lines to the

.banner-background-rotating #preface-top .preface-top-inner {
 background: url(../images/banner/rotate_img.php) no-repeat left top;
}

now there is a new selection in the skin/rule for rotating images

CommentFileSizeAuthor
rotate_img.zip2.52 KBstoltoguzzi

Comments

jeremycaldwell’s picture

Assigned: Unassigned » jeremycaldwell

Thanks for providing documentation and the code for this, excellent update to the theme. We'll take a closer look at this shortly and see what we can do about getting it into the theme or some sort of an addition.

tjb74’s picture

Thanks for the info on doing this. I see that the danland theme uses a jquery script that can run through the images in the folder as a slideshow. How would you adapt that script to work instead?

asb’s picture

Obviously I'm missing something here. How does stoltoguzzis instructions a rotating banner? Where do I have to enable what?

Thanks & greetings, -asb

Hanscraft’s picture

I'm not getting the banner to work either. I've gone in and deleted out of the banner folder the default images and uploaded my custom ones. So now I've got a great big blank spot where the banner picture should be!

I placed the CSS in the local.css code. Is that the correct place?

asb’s picture

Title: Rotating banner » Script-based rotating banner
stoltoguzzi’s picture

sorry for the late answer, you have to modify the following css-file from slate:

fusion-acquia-slate-style.css

add this lines:

Existing....
.banner-background-windows #preface-top .preface-top-inner {
  background: url(../images/banner/windows.jpg) no-repeat right top;
}

New...
.banner-background-rotating #preface-top .preface-top-inner {
  background: url(../images/banner/rotate_img.php) no-repeat left top;
}
OrinocoDelta’s picture

Great Work, but one NEW Question....

"Is it possible to make the Banner Rotation Dynamic??? Fadi In, Fade Out, etc....." something like an Slideshow??? Or is it better to use another Modul or Views Slideshow for this???
I think to show Banner in an Slideshow Modus will be an great Function within the Acquia Slate Possibilities... Or not???

Kind Regards & Greetz from Germany ;-)

OrinocoDelta’s picture

Any News to make Rotating Banners automatically like an Slideshow on the Preface-Top Region in the Theme??? I tried Nivo Slider, i tried views_slideshow - but actually the dont play well in any Theme Region for me.... or i must learn a bit more css ;-)

I only like to have 5-10 Images that will be shown on the the Frontpage as a SLIDESHOW with an ImageCache Preset of 100% Width because i use the Fluid Design.

I tried now for hours to configure the Nivo Slider, but actually it dont fit in my theme exactly as i LikeIt ;-( Any Ideas, any help, any tips are very useful...

Best Regards and Greetz from Germany ;-)

jeremycaldwell’s picture

You can get a slideshow like the Views Slideshow or the Nivo Slider working in the region but will take a bit of custom theming and development. So the Acquia Slate won't support a slider like that out-of-the-box as it's a custom slideshow that will need to be added to the theme and it just can't be generic enough to ship with the theme. You can get the slideshow created and placed in the region and use some positioning and theming to get it working the way you want.

Best of luck!

aludescher’s picture

thanks for this information
I just couldn't get the banner to work after downloading
I haven't used the Skinr module before, so I had no clue about how to start setting up the rotating banner

ginc’s picture

@OrinocoDelta
see my solution here:
#961588: easy integration with slide show modules

jeremycaldwell’s picture

Status: Active » Fixed

Marking as "fixed" since there are a lot of good solutions here and this issue will be easy to find.

c4antonio’s picture

Priority: Normal » Major

hello, I followed the installation instructions but does not work, the css file calls the file rotate_img.php but do not see any images, may be a server problem, or to call a php file from a css file should I set something upstream?

in italiano: ciao, ho seguito le istruzioni di installazione ma non funziona, il file css richiama il file rotate_img.php ma non si vede nessuna immagine, potrebbe essere un problema di server oppure per chiamare un file php da un file css devo settare qualcosa a monte?

ginc’s picture

i could make it work but had another problem, not all the time but sometimes only half or less of the image got loaded, so when i reloaded the page, i had the previous image and on top of it only part of the new image. i thought it might be a server problem, increased the php memory a little bit but it didn't help.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.