Rather than hijack the output in hook_page_build(), you should probably be using hook_menu_alter() to redefine the callbacks you want to change.
Rather than hijack the output in hook_page_build(), you should probably be using hook_menu_alter() to redefine the callbacks you want to change.
Comments
Comment #1
lemark commentedInitially the idea was to just change some things in node module output, but later I decide that it is impossible due to the current node page overview output structure (For example table rows there are not keyed and it is really frustrating).
So, maybe you are right and for now it will be better to implement it through hook_menu_alter().
Comment #2
lemark commented