Bug #67415
closedbug with clicmenu when choosing witch option to display
100%
Description
When you personnalise the clickmenu items, you cannot use following options : moreoptions, hide, edit_access, edit_pageproperties.
In 6.2: the extra_page_cm_options extension is buggy
In 7 : the extra_page_cm_options get merged by copy paste, so bug is still present.
the array_splice didn't preseve array keys.
It's easy to fix. I'll try to provide a fix soon
here's the fix for 6.2 : line 106
replace : array_splice($menuItems, $c, 0, $localItems);
by $first = array_slice($menuItems, 0, $c, TRUE);
$last = array_slice($menuItems, $c, NULL, TRUE);
$menuItems = array_merge($first, $localItems, $last);
In 7, it need to be fixed same way, but the code can be cleaned and get rewrited to use same writing style than the rest of the extension and optimise the process.