Quantcast
Channel: Recent posts across whole site
Viewing all articles
Browse latest Browse all 49214

How to create a sub-theme of Acquia Marina?

$
0
0

Hi, I'm fairly new to Drupal but learning quickly. I am running a multi-site Drupal install on a VPS that will only house Drupal sites. I am using subdomains for the multi-site functionality, which is working fine, symbolic links and all.

I am using Acquia Marina for all of my sites, along with, of course, Fusion and the Skinr Module. They are all placed in the "Sites/All/Themes" folder. Here's my question: I want to be able to change my theme slightly for each site. I know about the "local.css" file and I am using it, however it is global, but I want to have a slightly different version of AM for each site - sometimes only changing colors and widths, but other times making more drastic changes. I obviously do not want to change the code in AM - what I want is a sub-theme, in case there is an update to AM or Fusion. So, how do I do that? I followed the sub-theming instructions for Fusion Core with my install of AM, and it didn't quite work.

Then I found this at the bottom of the Fusion sub-theming page (http://drupal.org/node/629454)

"A note about sub-sub-theming

Right now we can't recommend trying to sub-theme a Fusion sub-theme (e.g., Acquia Prosper) in Drupal 6 until a patch to fix the "Theme settings forms are not inherited by sub-themes" issue (http://drupal.org/node/481142) is committed to core. Once that patch is committed, unlimited levels of theme inheritance should be possible.

While it might be possible to sub-theme a Fusion sub-theme right now, at a minimum it requires replicating the theme-settings.php file from Fusion Core, and probably more. The Drupal 7 version of Fusion should have no trouble being sub-themed to any level."

Assuming that AM is a sub-theme of Fusion, this means I cannot make a sub-theme of AM, right?

So, how do I accomplish this? What I want is several sites that use AM, but I want to be able to have slightly different versions of AM for each site, without hacking the code. Is this possible?

I also tried moving Fusion and AM into my site-specific folder, assuming I could have copies of AM in each site's "themes" folder and just go ahead and hack the code. That woul be a little confusing because they would all be named the same, but at least I would be able to have slightly different versions. That did not work however. When I moved Fusion and AM out of the "All/Sites/Themes" folder and into one of my sites "Themes" folder, my site broke compeletely and rendered a blank page. :-(

How can I accomplish this?

Any help very much appreciated.

Tim


Viewing all articles
Browse latest Browse all 49214

Trending Articles