I have a custom content type and I want to change how it's rendered. I know how to manually render the content type's contents but how do I totally change the way the node is displayed without creating a new template file in a theme directory? I want to manually render the title and contents - for example example I don't want to show the view/edit tabs.

But how do I do this?

Thanks

Comments

nevets’s picture

Your custom content type has a permission for editing/updating. If you do no grant that to any users only user 1 will see the view/edit tabs.

stodge’s picture

I want to hide the tabs from all users, including those who can edit/update the content type. I just want complete control over rendering the content type without adding a file to a theme directory.

Keith Hurst’s picture

You could modify your page.tpl.php and remove the print $tabs but then this would remove the View Edit tabs for all users for all content types.

KH