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.
It's probably debatable if this is a bug, but here it is:
I have the user login block set to show on node/add/* pages. The block appears when using Drupal's built-in Access Denied page (i.e. nothing set in the Error reporting settings).
But when I use a custom error, either a real node or the page from this module, the block no longer appears.
This patch adds:
menu_set_active_item($_REQUEST['q']);
to the custom page, which allows the block to appear again.
I'd be curious to hear other opinions about this.
Regards,
Jeff
Comment | File | Size | Author |
---|---|---|---|
menu_active_fix.patch | 372 bytes | jeffam |
Comments
Comment #1
gisleClosed as duplicate of: http://drupal.org/node/267163