[support] Hiding fields in themes(custom tpl)
    Mutuku Ndeti 
    jnmutuku at gmail.com
       
    Tue Jul 10 18:19:13 UTC 2012
    
    
  
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120710/892fa996/attachment.html 
    
    
More information about the support
mailing list