Sorry if I have overlooked something, I have read all the documentation on theming as well as the module documentation I am trying to integrate with.
Here is what I am trying to accomplish.....
I will have a series of forms that need to be editable by administrators....
I would like these administrators to stay in the administration interface when adding forms (accomplished) editing forms (accomplished) and viewing results (have no idea where to start).
I am using the admin module http://drupal.org/project/admin it is a beautiful theme and very user friendly.
Have I overlooked something? Is this not possible? All help is appreciated.
-Taylor
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | webform-DRUPAL-6--3_admin_integration.patch | 673 bytes | dboulet |
| #5 | webform_admin_theme.patch | 1.03 KB | quicksketch |
Comments
Comment #1
jafster commentedSame problem here. I wish we could get some pro answers and solutions.
Comment #2
gerritvanaaken commentedThis matches my issue: http://drupal.org/node/610410
Comment #3
lupas commentedYou should include the following bit of code in your webform.module file:
Remember that you should have enabled "Use administration theme for content editing" in admin/settings/admin.
Good luck!
Comment #4
quicksketchLet's move this to a feature request. This is a particular problem in 3.x now that webform configuration options aren't even under node/x/edit any more.
Comment #5
quicksketchI've committed the attached patch, essentially the same thing as #3 only adding support for the "webform" path and Admin module.
Comment #7
dboulet commentedI have a small addition to the committed code from above. This patch assures that the 'Slate' theme is not activated if a custom admin theme has been set. See related issue: #623608: Can't set own admin theme for node add/edit pages.
Comment #8
quicksketchThis looks good but I'm not sure how it will affect existing installations of Admin module prior to beta5. Could you describe how this affects previous versions of Admin?
Comment #9
dboulet commentedThis will only affect cases where the Admin module is installed, the 'use admin theme for content editing' option is enabled, and a custom admin theme has been chosen. It will use that custom theme instead of Slate.
Comment #10
vernond commentedMy workaround for this was to create a standard admin theme under all/themes and enable it. Then I create an admin user role which is permitted to select own theme. When admin type of user logs in they can select either the current site theme (which is normally a fixed-width centered layout theme) or the admin theme (liquid-layout). The users seem to be happy that they can choose whether they want to "see the site as it really is" (i.e. default theme), or in the more admin-friendly wide screen view depending on what they're doing.
Comment #11
quicksketchI didn't see any adverse effect from this patch and it works as described. Committed to the Drupal 6 3.x branch.