I have a custom tpl file for a custom node.

I need to hide some fields, but its not working

below is my code

 
            hide($content['field1']);
            hide($content['field2']);
            print render($content);    

After printing $content, field1 and field2 still shows.

what could I be doing wrong?

--
Tel:254- 722-490994
www.agile.co.ke | www.jipambe.com