Closed (fixed)
Project:
Acquia Slate
Version:
6.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Apr 2010 at 11:23 UTC
Updated:
11 Aug 2011 at 20:51 UTC
Jump to comment: Most recent file
Comments
Comment #1
jeremycaldwell commentedHere's a video showing how to go about creating and adding the banner style to your front page: http://www.screencast.com/users/eternalistic/folders/Jing/media/20e07eaf...
You need to create the rule for the page, choose a background image, and if you want set a page for that style to appear. Then you need to add a block to the Preface Top region for the style to actually appear and have a block within that region.
Hope that helps. If you have any questions just let us know.
Comment #2
OrinocoDelta commented...so what can we all do? Showing an Banner is one thing, but to have all Skinr functionality is another?
Can the Development team confirm that something isn't working well??? Please Help Us ;-)
Thanks and Kind Regards from Germany, OrinocoDelta
Comment #3
powery commentedThank for nice screencast. But no success yet ;(
I had no Site configuration - Skinr - Page Rules menu entry. So I had to install newer versions of Skinr module - installation according http://groups.drupal.org/node/53798. The menu entry already exists after installation. Then comes yours procedure from video. I created Skinr page rule named Banner - for all pages with Beach stones image. I created new block with default settings and added this block to Preface top region.
In Explorer and Firefox I see the right picture only on admin/build/block page. In Opera browser I see only free space on admin/build/block page. But no banner image on other pages (Opera, Firefox, Explorer).
How should be Banner block defined? What is wrong?
Thanks
Comment #4
jeremycaldwell commented@OrinocoDelta, you might want to check the Skinr issue queue to see if they can help you install the module correctly: http://drupal.org/project/issues/skinr?categories=All
@powery, You should be able to add a block to the Preface Top region and have it show according to the rules you have defined for the Banner Skinr style. Be sure to check the rules for the block as well as the Banner Skinr style to make sure they are showing on the same pages.
Comment #5
powery commentedOpera/9.80 (X11; Linux x86_64; U; cs) Presto/2.2.15 Version/10.10
No banner, see attachment
Comment #6
jeremycaldwell commentedWhen you changed the Skinr style for the background image did it show? Like how you can change the page style to "Beach stones" it should show the background it is changing it too and then you can save the page or choose another. Also, can you provide a link to your site so I can see if it is applying the correct styles and if the background image exists in the proper location on the server?
Comment #7
powery commentedI found the problem, i was Block Content in Opera. Thanks for help. Acquia Slate is perfect ;)
Comment #8
jeremycaldwell commentedCool, glad you got it working.
Comment #9
Kozley commentedWhat can I add block to showing banner and how I edit it?
See attachment if you dont understand what I do mean....
Comment #10
francesca79 commentedIs it possible to add a personal image to the banner's list?
I tried to add an image in the banner folder, but it dosen't seem to show up in the options.
Comment #11
jeremycaldwell commentedYes you can add a new banner image to your site by modifying the .info file that comes with your theme and update the CSS for it as well.
.info:
And CSS:
Hope that helps!
Comment #12
francesca79 commentedgreat thanks!
Comment #13
dan_metille commentedHi,
I've followed point #11, but was unsuccessful. Had to save my new image over an existing banner (beachstones.jpg).
Really don't see why. Do you have any explanation?
However, thanks for the great theme!
.sahaj
Comment #14
jeremycaldwell commented@sahaj, did you edit the .info file that comes with the theme to add your new background image option? You would need to update that and then add the little bit of CSS that goes with it to add the background image. Overwriting the actual image works but when you update your theme the file will be overwritten again.
Comment #15
dan_metille commentedYes, I have followed the instruction from point #11 about the 2 lines on aquia_slate.info and the css files.
Even did it twice, now also checking the clearing of the theme registry.
Here is exactly what I have add:
1. to the 'fusion-acquia-slate-style.css':
.banner-background-beachstones #preface-top .preface-top-inner {
background: url(../images/banner/kyrgyzstan.jpg) no-repeat center center;
}
2. to the 'acquia_slate.info':
skinr[slate-banner-styles][options][6][label] = Yurta
skinr[slate-banner-styles][options][6][class] = banner-background-kyrgyzstan banner-background
Do I miss something?
Cheers,
.sahaj
Comment #16
dan_metille commentedComment #17
jeremycaldwell commentedClose.. your class for CSS is incorrect.
All you are doing there is changing the background image for the "banner-background-beachstones" class, which is already defined. Since your new class is "banner-background-kyrgyzstan" as defined by what you entered in the Skinr option, you need to target that class instead for the CSS. So really it should read this in your CSS.
After making changes to your .info file be sure to clear your site's cache on the Performance page so it reloads the theme files. Give that a try and let me know if it works.
Comment #18
dan_metille commentedThank you. Feel like I was missing some awareness!
Comment #19
jeremycaldwell commentedMarking as "fixed" so others with the same questions/issues can easily locate this issue.
Comment #21
asb commentedThe screencast from #1 seems to be crucial to set up banner in Acquia Slate 6.x-3.x-dev; however, the mentioned screencast is no longer available ("Page Not Found"). Is it available somehere else, or does alternative instructions beyond the basic reqirements exist?
You wrote:
On
./admin/build/skinr/rulesit says: "No rules have been set up yet", so I have to create one from scratch. I give it the label "banner" and select "Beach stones" on "Acquia Slate - Banner Styles".Next I create a new block on
./admin/build/block/addand put it in the region "preface top" (description: "banner"; title: ""; block content: (empty)) and then what? On the "Skinr block settings" there's nothing related to a "Banner Style"...? At least after doing adrush cc(= clear all caches) nowhere a banners appears.Thanks & greetings,
-asb
Comment #22
jeremycaldwell commentedSorry, the banner video was moved and is now located here: http://www.screencast.com/users/eternalistic/folders/Jing/media/8ec2fbbc...
So once you have the block in the Preface Top region you need to edit the page rules for the site and choose the Skinr option for the block. You'll see that done before placing the block into the Preface Top region but it works either way.
Making this issue as fixed as it shows how to do everything and the video link is correct now.
Comment #23
asb commentedThanks for the updated screencast. I watched it several times and couldn't find the missing link, it simply seems to behave different on my site. At
./admin/build/blockI'm seeing the banner image in the "header top" region, but nowhere else../admin/build/block/configure/block/1)./admin/build/skinr/rules/edit/1)If I'm putting the block "banner" somewhere else, e.g. region "content", still nothing appears.
In the "header top" section I'm net seeing these cool new gears, so there's no alternative way to access the Skinr options for the block "banner". At
./admin/build/block/configure/block/1I don't have any options related to "Banner Style", so obviously something is not working right.System environment:
Checking additional system requirements:
Potential troublemakers:
Everything seems up-to-date.
drush updosen't offer any (relevant) upgrades. Caches were cleared multiple times viadrush cc. Also, update.php has been run after installing the upgraded and new modules and ran without errors.According to Firebug -> Script, the sites sends this header:
The IE fixes (I didn't know that Fusion does this automatically... nice!) and even my local.css seems to be included.
I don't understand where my error is. However leaving this closed until someone else runs into similar trouble.
-asb
Comment #24
asb commentedPlease drop a note if there's anything I can do to help debug this!
Comment #25
asb commentedI triple-checked everything according to the installation instructions and even uninstalled Skinr - it simply doesn't work for me. There must be something missing, or different in my setups.
In my sandbox (clean installation, no upgrade), I ran into an additional incompatibility between Lightbox2 and Administration menu as soon as the required components (jQuery Update, jQuery UI, Dialog API) were enabled; disabling Lightbox2 solved this. However, I couldn't get a banner to show up on this site either (except on the blocks configuration page).
On the site where I'm trying to get a banner image, I'm neither using 'admin_menu' nor Lightbox2. As far as I can see, this issue can be reproduced with the aforementioned setup-procedure and the mentioned versions (#23) of the required components. Thus re-opening.
Thanks & greetings, -asb
Comment #26
asb commentedI did some amateur "debugging" with Firebug that might help, in case that someone is able to understand what is happening here (obviously I am not).
On
./admin/build/blockI'm seeing the banner. The markup looks like this:id="preface-top-inner"resolves to this CSS inlocal.css:"preface top" is the region where I put my banner block, and this block is supposed to be visible on every page; the Skinr rule is configured equivalently. So something is in this region, and thus this region should not collapse, right?
On all other pages, this (different!) HTML is generated:
So there's simply no
preface-top-innerlike there is at./admin/build/block.In
page.tpl.phpI'm finding this "if" clause:So if the final code gives me something like
<div class="header-site-info without-preface-top ..., obviously somewhere the theme is told that there should be nopreface-topregion. However, inacquia_slate.infothis region is defined and enabled:The only thing I knew of where such an override normally could be located would be in
template.php, but there's nothing handling the regions. And that's the point where I'm lost... Is this the Skinr module or something else?Regarding the Skinr configuration: Is the following correct?
./admin/build/skinrshows four records for Acquia Slate: 1 block, 1 page, 2 panels; there is no block for the block banner. Should there be one?./admin/build/skinr/skinsshows no skins; there are only buttons to "Save" and "Reset". Should there be something?Anyone?
Comment #27
asb commentedThis is really dumb. I put
<img src="/sites/all/themes/acquia_slate/images/banner/kammerchor-35_960x521.jpg">into the (previously empty) block content textfield, and immediately got two banner images.So the "solution" is that the block content textfield must not be empty; Something like
suffices, probably it works out-of-the-box if the block title is not set to<none>. Arggllll...Comment #28
jeremycaldwell commentedThanks for updating this issue with your fin asb. Changing this issue to "fixed" so other people have an easier time of finding it for future reference.
Comment #30
Tokoh commentedThe video seems to have been removed, or only accessible if you have a login. Sorry I see its been moved see #22.
Comment #31
jeremycaldwell commented@ Tokoh, yeah you'll have to wait until next month to view the video as it's hosted by Screencast and I don't have anything other than the free account. I will try to find some time to re-record it and host it on Vimeo or something so this isn't an issue in the future. Sorry for the inconvenience.
Comment #32
butler360 commentedSo there's no option to show the banner image without any blocks in the region?
Comment #33
Vc Developer commentedIs there another video link? Both links are not valid.
Comment #34
ginc commentedOK! what is not clear here is the process of creating block, the block body must not be empty, as #27 explains, and you must also configure the block not to appear on pages you don't want, to preventing it from affecting the curved corners of the white header.
Comment #36
TheDoctor commentedRequesting new link to video/screencast. Current link 404s
Pls disregard; going to try http://drupal.org/node/961588 [Acquia Slate: easy integration with slide show modules]
Comment #37
jeremycaldwell commentedHere you go! http://dl.dropbox.com/u/2046316/acquia_slate-banner.swf
Comment #38
s.arif commentedCan you upload screencast video again.
There is no video at given link
http://www.screencast.com/users/eternalistic/folders/Jing/media/20e07eaf...
Comment #39
jeremycaldwell commented@s.arif, have a look at the comment right above yours (#37) as that is hosted by Dropbox and won't be moving anytime soon. Be sure to download it just in case though.
Comment #40
Spada commentedI want change the region of the banner from preface-top to superfish region, i tried without success..
can you help me?
Comment #41
michael_lessard_micles.biz commentedHere is the simple way of changing the background image. Simply add the code below in the theme's CSS file (...themes/acquia_slate/css/fusion-acquia-slate-style.css).
I had installed all the modules mentioned above to try and get the famous Skinr page options, but to no avail... Plus it is an incredible load of modules and work just for a background image. So this simply CSS solution is preferable.
Comment #42
plato1123 commentedWait, so 3.x doesn't really support the front page banner?