Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
This is probably stating the obvious, or maybe not.
Two features that are missing:
Uninstall theme from web admin interface
Update drupal core (says that feature is coming soon, but anyways)
If there is already a duplicate to this I may offer some suggestions.
Comment | File | Size | Author |
---|---|---|---|
#10 | theme_uninstall_v2.patch | 4.11 KB | xaav |
#4 | theme_uninstall.patch | 8.88 KB | xaav |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedThe issue for updating Drupal core is at #606592: Allow updating core with the update manager.
As for uninstalling themes, I assume you mean being able to remove them completely from the filesystem (so they don't even show up on the Appearance page). Not sure if there is an issue for that yet. I guess it would make sense since otherwise that page can really fill up if you have downloaded a bunch of themes in order to try them out.
Comment #2
xaav CreditAttribution: xaav commentedComment #3
David_Rothstein CreditAttribution: David_Rothstein commented"Needs work" means there is work already in progress, such as a patch. Which is not currently the case here :)
Comment #4
xaav CreditAttribution: xaav commentedThis is nowhere near completion, but it is somewhere to start. I might work on it some more, but no guarantees.
Comment #5
xaav CreditAttribution: xaav commentedComment #6
dww- I'm not sure this is a good idea, but I'm open to being convinced.
- However, can we please put our energy into fixing the nearly-critical bugs listed at http://drupal.org/node/479086 before 7.0 ships?
- If we were to do this, the patch has a lot of problems:
A) Frequently refers to "modules" when trying to deal with themes.
B) Doesn't actually invoke the update manager at all to remove these files as the user that owns them.
...
I'm not going to spend the time on a more thorough review now given the impending 7.0 release and all the brokenness that still needs my attention. ;)
Cheers,
-Derek
Comment #7
xaav CreditAttribution: xaav commentedSorry, I am somewhat new to drupal. What I was trying to do is get the quality assurance bot to test my patch, so I could get some feedback on it.
Comment #8
David_Rothstein CreditAttribution: David_Rothstein commentedSince Drupal 7 is released and this issue is for Drupal 8, there is no longer anything specific to postpone it on. Moving to "needs work".
Comment #9
xaav CreditAttribution: xaav commentedLet me see if I can implement this.
I'm sort of new to drupal development, so It probably won't be pretty.
Normally, all it would take with PHP is:
require_once 'delete_dir.php' (I have this library)
delete_dir(__DIR__.'/sites/all/themes/'.$theme_name);
Comment #10
xaav CreditAttribution: xaav commentedPatch attached. This is closer than I got last time, but still not working yet.
Comment #11
xaav CreditAttribution: xaav commentedActually, I think this should go in the system module.
Comment #12
David_Rothstein CreditAttribution: David_Rothstein commentedRelated issue: #1067408: Themes do not have an installation status
Comment #25
smustgrave CreditAttribution: smustgrave at Mobomo commentedThis seems like it was more intended for D7.
Closing as there hasn't been movement in 12 years but I know it's possible to uninstall themes from the Appearance tab and via configuration management.