Hi,
I installed modr8 6.x-1.1 and modr8_bypass 6.x-1.3

After installing modr8_bypass, the menu for modr8 settings on the /admin page has vanished though it appears after manually keying in the path.

Also /admin/settings/modr8 shows the /admin/settings page. I checked the code, then keyed in /admin/settings/modr8/general worked. Something is seriously wrong with the module.

Confirmed by disabling modr8_bypass.

Server: PHP 5.2.13, PostgreSQL 8.4

CommentFileSizeAuthor
#1 modr8_bypass-6x13-menu-fix.patch553 bytesnileshgr

Comments

nileshgr’s picture

StatusFileSize
new553 bytes

Hi, I found the problem.

In 6.x-1.3, you unset $items['admin/settings/modr8'] in hook_menu_alter()

whereas in 6.x-1.1 you've done this:

$items['admin/settings/modr8/general']['weight'] = -2;
and
$items['admin/settings/modr8']['weight'] = 0;

I changed the code of 6.x-1.3 to 6.x-1.1 for this menu thing and it worked. It solves the problem.

An RCS patch is attached.

johngriffin’s picture

Hi Nilesh,

Thanks very much for picking that up. I've reverted the menu_alter code to the 1.1 release.

Please let me know if this issue is fixed in the latest release of modr8_bypass - v.1.4?

Thanks,
John

nileshgr’s picture

Status: Active » Fixed

Yeah it is workin now in the new release.

johngriffin’s picture

Status: Fixed » Closed (fixed)