Closed (fixed)
Project:
Skinr
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2011 at 11:25 UTC
Updated:
11 Feb 2011 at 19:30 UTC
Jump to comment: Most recent file
I want my subthemes to inherit skins defined in the base theme, but I am not sure how to do this in 7.x-2.x-dev, is it even possible? I've been reading through the various discussions and I suppose I am either missing something or the functionality is missing?
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | skinr-HEAD.basetheme.10.patch | 3.56 KB | sun |
| #9 | skinr-HEAD.basetheme.9.patch | 3.56 KB | sun |
| #7 | skinr-HEAD.basetheme.7.patch | 5.22 KB | sun |
| #6 | skinr-HEAD.basetheme.6.patch | 1.05 KB | sun |
| #4 | normal-themes.patch | 1.11 KB | jacine |
Comments
Comment #1
moonray commentedSee #977118: Skins in disabled basetheme cannot be enabled for basetheme (to appear in subtheme) for more details.
Comment #2
sunFirst of all, we need to commit attached patch.
Comment #3
jacineOk, committed. I've also got this patch applied locally so that running tests will be possible:
#953336: Contributed modules are not able to test theme-related functionality
Comment #4
jacineHere's some normal themes.
Comment #5
jacineCommitted #4: http://drupal.org/cvs?commit=482384
Comment #6
sunAlright, so here's the dirty quick-fix we discussed. Contains a @todo for the proper fix, which will require some mind-boggling array iteration logic, but doable.
Comment #7
sunProper fix, including tests. :)
Comment #8
jacine#7 is in:
http://drupal.org/cvs?commit=482442
http://drupal.org/cvs?commit=482478
Comment #9
sunCouldn't stand that we have incomplete/insufficient tests here (not testing that skins of other/disabled themes are not collected). ;)
This patch or #1028334: Change the "default_status" property to "default status" needs to be re-rolled for the 'default status' change, whichever lands first. Re-rolling the other should be easier though, as this one adds new files.
Comment #10
sunRe-rolled against HEAD.
Comment #11
jacineShould this also test for (and maybe prevent) this situation? #1028948-1: Skins don't appear to be loading multiple javascript (and possibly CSS) files
Comment #12
sunNope, the tests in this patch are focused on this issue. Tests for that issue are going to happen in that issue.
Comment #13
jacine#10 is in.
http://drupal.org/cvs?commit=483058
Comment #14
sunThis issue is effectively going to be fixed via #977118: Skins in disabled basetheme cannot be enabled for basetheme (to appear in subtheme)
Not marking as duplicate, because some patches have been committed here.