Closed (works as designed)
Project:
Node Hierarchy
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2008 at 07:53 UTC
Updated:
25 Oct 2008 at 12:42 UTC
you've got a great module, although for D6 i had to use the latest dev version to get things working.
I would like to remove the children tab and Node Hierarchy fieldset in nodes view and edit... how can i accomplish that?
It would be really easy if you'd add an option to remove those from display.
(I'm not sure it should be in the topic but i tried theming over the children tab but didn't work with this code:
/*
* Remove tabs.
*/
function phptemplate_menu_local_task($link, $active = FALSE) {
if ($link['title'] == 'Children') {
return '';
}
else {
return '<li '. ($active ? 'class="active" ' : '') .'>'. $link ."</li>\n";
}
}
any ideas why it doesnt work?)
Comments
Comment #1
yaron24 commentedcan be overridden and fixed by theme. (my problem was that i didnt declare the functions as you should do in D6)