Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
system.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Jan 2010 at 05:43 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
robynover commentedI tried this and it got me part-way there. I got the admin theme but no longer go the confirmation form.
Here was my solution, maybe it will help someone:
I'm using the Admin module as my admin theme, and I added code in admin.module around line 30:
It treats node delete pages as admin pages. It's hacky but it works.
Comment #2
robynover commentedIf you're not using the admin module, you could probably do something similar in your own module, using the same if statement and
as in the patch above
Comment #4
squarecandy commentedI know this thread is 10 months old - but this is still an issue in 6.20 core. I just applied the suggested change in the patch manually - works great! Sorry I haven't quite figured out the patch thing yet... this one's so simple, maybe I'll give it a shot tomorrow.
Comment #5
squarecandy commentedsee if this patch is better...
Comment #7
Michael Zetterberg fd. Lopez commentedThe patch fixes it for me too.
Re-rolled against 6.x
Comment #8
Michael Zetterberg fd. Lopez commentedComment #10
Michael Zetterberg fd. Lopez commented#7: admin-theme-on-content-delete-672370-7.patch queued for re-testing.
Comment #12
elimuir commentedThe former patch from comment #7 was missing close parentheses after 'delete'.
Re-rolled patch with fix.
Comment #13
elimuir commented