Problem/Motivation

The admin/content/antispam/overview link does not work, forcing a 403 for those that try to use it

Proposed resolution

Fix to hook_menu

Original report by [generalconsensus]

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

generalconsensus created an issue. See original summary.

generalconsensus’s picture

generalconsensus’s picture

cfinke’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry for the inconvenience, but since you posted this, `antispam.module` must have changed, since I don't see the moderation queue link there anymore. Are you able to confirm whether this issue is still reproducible?

ksenzee’s picture

Version: 7.x-1.5 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review
FileSize
57.16 KB
42.14 KB
1.12 KB

The menu structure here is still wrong. The module should be creating one tab under /admin/content, and putting all its content admin pages underneath that tab. Right now, the 7.x-1.x version of the module creates top-level "Overview", "Nodes", "Comments" and "Statistics" tabs on the admin/content page. I'm attaching a patch that puts all the content admin pages underneath an "Antispam" top-level tab under /admin/content.

Before:
admin screen showing multiple tabs on /admin/content

After:
admin screen showing one Antispam tab on /admin/content, with several sub-tabs

Status: Needs review » Needs work

The last submitted patch, 5: 2793287-5-fix-to-overview-menu.patch, failed testing. View results

bramvandenbulcke’s picture

I was having the same problem with the menu as ksenzee and the patch solved my issue. Thanks ksenzee!

The patch failed testing here on drupal.org but I could apply the patch on my local machine without errors.