Hi,
I have several users being able to edit a menu.
I do this in a domain access environment.
The user can add links to the prim. links and it shows perfect in their own domain.
I do however made some custom menu items(from views) in the prim links.
Is it possible to hide my custom links(that are viewable on all domains) when the user want to edit the primary links.
It am talking about the path:
admin/menu-customize/primary-links
Eg/ I want to hide the menu item gallery with menu ID 134
I now see:
gallery - useritem1-useritem2-useritem3-useritem4
And i Need only to see:
useritem1-useritem2-useritem3-useritem4
Any function would be nice or module also.
I already found a way to restrict editing the item by:
if (($_domain['domain_id'] >2) && arg(4) == '5101' && arg(5) == 'edit')
{
header( 'Location: /admin/build/menu-customize/primary-links?destination=' . substr($_SERVER['REQUEST_URI'],1) );
exit;
}
but i would rather see the item dissappear/hidden