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.
Hi,
I have installed switch theme, enabled 4 themes to test. Went to switch theme configuration, and labeled 1-4 for each of swiching. Saved. Added url to my site site.com/?theme=1 , nothing changes. Did I made a mistake somewhere?
Comments
Comment #1
sunDid you test as authenticated or anonymous user? If anonymous, do you have page caching enabled?
Comment #2
darksniperx CreditAttribution: darksniperx commentedHi,
I was testing as all types of users.
If I add the block, then all users annon or not can change it. But I need to get it working from url.
Comment #3
sunwell, "1" is surely not a valid name of a theme. You need to specify a valid, system theme name; e.g., "garland".
Comment #4
darksniperx CreditAttribution: darksniperx commentedI thought when I label the themes in settings, like this:
http://i877.photobucket.com/albums/ab335/darksniperx2/switchtheme.jpg
It should go by the labels I specify.
But yea, it works now that you tell me I have put the original theme name.
Comment #5
sunNo, those configurable labels are the labels that are shown in the select element of the block, as the help text explains.
Comment #6
darksniperx CreditAttribution: darksniperx commentedI have read the help text above as I was creating screen shot!
Its all good then, everything works.