Hi Brian,
Ah yes, priority settings… I tend to set them to lowest priority by default, no need to be first 😉
I know the priority is important when multiple extensions use the same hook, but it just isn’t possible to prevent ‘clashes’ with other developers’ extensions. Maybe the priority should be a default user setting so peeps can change the priority on the fly if needed?
I have bumped the priority of this extension to 8, hopefully this won’t clash with other extensions out there.
Cheers, Elwin
I fixed this to work with the Cloner extension by adding the following to the cloner extension’s “remove_entryid” function, which is using the same hook as Edit Menu:
Find:
function remove_entryid($data)
{
global $IN, $LANG;
And change to:
function remove_entryid($data)
{
global $IN, $LANG, $EXT;
if($EXT->last_call !== false)
{
$data = $EXT->last_call;
}
Seems to do the trick.
Open ez_edit_menu.php in a text editor and find this line:
$menu .= "<li class='publishdropmenuinner'>
should be around line 154, now change it to:
$menu .= "<li class='publishdropmenuinner xxx'>
This will prevent the Hidden Weblogs extension from finding the menu and replacing (hiding) the weblogs.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.