I want to create a special content type that doesn't include the logo and main navigation. I have a helper module and have added the following section before renenabling it but it doesn't seem to be having an affect. What might I be doing wrong?
function myhelpermodule_page_alter(&$page) {
if (current_path() == 'node/add/specialcontenttype') {
unset($page['header']);
}
}
Just in case I got "header" wrong, I've tried it with 'footer' and other regions to test it out and it seems to be having no affect at all.