Hi There -
Using Skinr, v 6.x-1.5; Fusion core, v 1.1.2.6 2010/02/14, and Acquia Prosper v 1.1.2.5 2010/01/11.
Can get the Skinr general style: 'Border: add 1px border and 10px padding' working on my block, but am unable to get any of the Acquia Prosper General Theme Styles to work. No 'Gray rounded title background, plain white block', or 'Rounded corner dark background' for me!
Started with Acquia Prosper next to Fusion core in the themes folder, and then moved it inside the Fusion core folder so it was on the same level as Fusion Starter. Doesn't seem to make any difference. I was under the impression that sub-themes needed to be inside the parent folder, but my reading of the instructions - put both into the theme folder - seems to imply that they're on the same level in the theme folder. Not sure which is the right way.
Am I using mismatched versions of the Skinr module with Fusion versions? Looking over the issue queue it seems to be one of the more common causes of mishap. I downloaded them all a couple weeks ago on the same day. If this is the problem, what are the versions that you recomment with whatever's current?
Thanks!
Comments
Comment #1
jeremycaldwell commentedSounds like you should have things working correctly even with the themes being in different directories like that. Here is the directory structure you should have (ideally).
/sites/all/themes/fusion
Inside there you have "fusion_core" and "fusion_starter"
/sites/all/themes/acquia_prosper
Make sure the Acquia Prosper theme is enabled and set as the default theme on your site and you should be able to choose it's Skinr styles from the block's configuration page.
Comment #2
Drupalista-1 commentedComment #3
newbstah commentedThanks for your reply! Unfortunately, I've tried both directory structures and while the skins are listed, they don't do anything when I select them. The behavior is the same whether the acquia_prosper directory is inside the fusion directory or outside of it.
The list of skinr styles appears when I click on the widget in the block. When I select them, they don't do anything. Meanwhile, I can get the one pixel border that's mentioned in the top list.
If the versions are okay, do you have any other ideas that I could try?
Comment #4
jeremycaldwell commentedDo you have any form of compression or performance tweaks in place that might not allow the block classes to change? If you can see the Skinr options correctly but can't apply them it sounds like the blocks aren't taking the class changes you are applying to them. So might even be an issue with your browser cache.
Comment #5
stephthegeek commentedAlso can you check if you do see the styles with another user account or anonymously? It may be related to this issue: http://drupal.org/node/716172
Comment #6
newbstah commentedHi There -
Am on my local mac running MAMP, so no compression etc.. Have already tried emptying caches.
Will see if logging out and viewing anonymously works. The first time I tried it, it was on the devel block, so that didn't turn out so well.
doh!
Comment #7
newbstah commentedNope. Logging out doesn't work.
Will try reinstalling Skinr.
Comment #8
newbstah commentedOkay. This may clarify something. I'm actually running a copy of Acquia Prosper that I'm modifying. The copy has a different name. When I enable the actualy GEN-YOO-INE Aquia Prosper, the block styles work just fine.
When I duplicated the theme, I did a find and replace on the .info file and the template.php file, so that the Styles now read:
skinr[myThemeName-general-styles][title] = Acquia Prosper - general theme styles
etc.
Changed the name of the stylesheet so this corresponds:
stylesheets[all][] = css/myThemeName-style.css
Went through subtheming in the handbook, but couldn't find the magic. I've probably missed something important. Any ideas?
Thanks so much for all of your time and help with this.
Comment #9
jeremycaldwell commentedDo the class names for the Skinr styles match what you have in the stylesheet and the .info file?
For example:
skinr[prosper-general-styles][options][9][class] = prosper-shoppingcart-dark
Then the CSS would be
.prosper-shoppingcart-dark
So if they match then it should work. Check the HTML output for your block after you apply the Skinr style and see what it says and if that code matches your stylesheet.
Comment #10
newbstah commentedCopying the styles from Acquia Prosper got it almost there, but there was also the .js file that the generic find-and-replace also changed the name of that enabled rounded corners.
Once I got that right, everything seems to be okay.
scripts[] = js/acquia-prosper-script.js
BTW, I peeked inside the script and was intrigued but a little baffled. What does it do? What's reading it? If I want to add rounded corners to my custom blocks, it looks like I'll need to alter these.
Comment #11
jeremycaldwell commentedThat's right, the code you have there is related to the rounded corners and is using the script "jquery.corner.js". So if you want to add a new rounded corner style you can add it here and ti should apply to your theme.
Comment #12
mrsshooty commentedHi, I had the exact same problem you are describing, after turning on and off every module, I found this post http://drupal.org/node/596108 , which fixed the problem. After tweaking the performance settings a bit viola - my block styles applied correctly. Dunno if it will help your problem, but I am relieved that it's working now.
Comment #13
bukaida commentedI have installed skinr(6.x.15) and fusion-6.x-1.0-rc1 in sites/all/modules and sites/all/themes and enabled them.
Then I have installed acquia_marina-6.x-3.0-beta1 in sites/all/themes and enabled it as default. But
General Theme Styles didnot work. The blocks and headers have some pale blue and white colors. However the buttons and searchbox has a bit different from my default 'Garland' theme. But the overall theme is appearing as plain vanilla.I am using drupal 6.17 on windows XP. Tried the followings also--
1. Tested with non IE browsers (Opera and Mozila).
2. Checked the blocks of Acquia Marina for skinr option (skinr option is available).
3. Logged off and tried as anonymous user.
4. Enabled the css compression from perfomance setting under 'administer->site configuration->performance.
But nothing helped.
P.S--The original directories which I copied for themes and modules are obviously without the version numbers i.e acquia_marina and not acquia_marina-6.x-3.0-beta1 and so on.
Comment #14
Mie commentedI have nearly the same problem.
Installed yesterday Drupal 6.19
Created a 'themes'-folder under sites/all
Added 3 new folders in this themes-folder :
- acquia_marina
- fusion
- skinr
The 3 themes are enabled.
Acquia_Marina is checked as default theme.
Most of the items are green and blue.
The block titles are dark grey on a light grey background.
Any idea how I can get the block titles white wit green background ?
Also the icons are missing, e.g. icon-star.png.
I used already Acquia Marina 2.0 on a previous website and everything worked fine.
Comment #15
Mie commentedComment #16
Mie commentedThanks to the person who gave me the tip to install Skinr in the module-folder and not in the theme-folder.
Once installed in the module-folder, everthing worked fine.