Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I've always used this module heavily in D6 when working on my Omega base theme, and when creating subthemes and adding new features.
I don't have a use case that needs it for users on the front end, but really just for my own testing.
The attached patched is a first pass that did at the very minimum the following:
- Fixed .info for right core version, and to list files in the module
- changed hook_perm to hook_permission
- change blocks to use now hook_block_info and hook_block_view
This patch is working on my system (only testing the default form to select a theme, then change.)
patch applies to HEAD.
Comment | File | Size | Author |
---|---|---|---|
#4 | switchtheme-HEAD.d7.patch | 22.2 KB | sun |
#1 | Patch for Switchtheme HEAD > Drupal 7 | 4.03 KB | himerus |
Comments
Comment #1
himerus CreditAttribution: himerus commentedUgh... form error lost patch.
Re-attaching
Comment #2
lpalgarvio CreditAttribution: lpalgarvio commentedsubscribing
Comment #3
Coupon Code Swap CreditAttribution: Coupon Code Swap commented+1 subscribe
Comment #4
sunThanks for reporting and the starter patch - I've completed that. ;) Committed attached patch to HEAD.
A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.