Hiding fields in themes(custom tpl)
10 Jul
2012
10 Jul
'12
8:19 p.m.
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
10 Jul
10 Jul
10:41 p.m.
I got the solution I had to hide($content), then hide($content['field1']), then render($content)
5067
Age (days ago)
5067
Last active (days ago)
1 comments
1 participants
participants (1)
-
Mutuku Ndeti