Closed (fixed)
Project:
Acquia Slate
Version:
6.x-3.x-dev
Component:
Documentation
Priority:
Major
Category:
Task
Assigned:
Reporter:
Created:
15 May 2010 at 12:11 UTC
Updated:
23 Nov 2010 at 12:00 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| rotate_img.zip | 2.52 KB | stoltoguzzi |
Comments
Comment #1
jeremycaldwell commentedThanks 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.
Comment #2
tjb74 commentedThanks 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?
Comment #3
asb commentedObviously I'm missing something here. How does stoltoguzzis instructions a rotating banner? Where do I have to enable what?
Thanks & greetings, -asb
Comment #4
Hanscraft commentedI'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?
Comment #5
asb commentedAlternative approach: #819792: How I got the rotating banner to work in 6.x-3.x-dev
Comment #6
stoltoguzzi commentedsorry for the late answer, you have to modify the following css-file from slate:
fusion-acquia-slate-style.css
add this lines:
Comment #7
OrinocoDelta commentedGreat 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 ;-)
Comment #8
OrinocoDelta commentedAny 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 ;-)
Comment #9
jeremycaldwell commentedYou 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!
Comment #10
aludescher commentedthanks 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
Comment #11
ginc commented@OrinocoDelta
see my solution here:
#961588: easy integration with slide show modules
Comment #12
jeremycaldwell commentedMarking as "fixed" since there are a lot of good solutions here and this issue will be easy to find.
Comment #13
c4antonio commentedhello, 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?
Comment #14
ginc commentedi 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.