MyBB Community Forums

Full Version: Page manager link disappeared from the Configuration page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I had installed Page manager by "Sebastian Wunderlich", it no longer appears in the Configuration page.

The custom pages work fine. But I just need the link to access the settings/create new links etc.

Thanks Smile
Open plugin file and find;
function pagemanager_admin_action(&$action)
{
	$action['pagemanager']=array('active'=>'pagemanager');
}
and CHANGE it into;
function pagemanager_admin_action(&$action)
{
	$action['pagemanager']=array('active'=>'pagemanager');
	return $action;
}

Next, find;
function pagemanager_admin_menu(&$sub_menu)
{
	global $lang;
	pagemanager_lang();
	end($sub_menu);
	$key=(key($sub_menu))+10;
	$sub_menu[$key]=array
	(
		'id'=>'pagemanager',
		'title'=>$lang->pagemanager_info_name,
		'link'=>'index.php?module=config-pagemanager'
	);
}
and CHANGE it into;
function pagemanager_admin_menu(&$sub_menu)
{
	global $lang;
	pagemanager_lang();
	end($sub_menu);
	$key=(key($sub_menu))+10;
	$sub_menu[$key]=array
	(
		'id'=>'pagemanager',
		'title'=>$lang->pagemanager_info_name,
		'link'=>'index.php?module=config-pagemanager'
	);
	return $sub_menu;
}

Save. It should fix the issue.
Yaldaram, I found another thread telling me that the issue was due to admin permissions (the account was not super user, id =1 ), I changed the admin permissions to enable custom pages, that worked... Thanks for your help Smile