<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=049242614-14082009><FONT face=Arial 
color=#0000ff size=2>I don't thinks so, but am not 100% sure.&nbsp; What I do 
when I need this kind of integration is I do develop a small custom module that 
goes with me theme to provide the hooks that I need. Then, if I need infromation 
passed to the theme, I call those functions int he theme variables hook in 
template.php within the theme. You can get some pretty slick integegrationi 
between the module and theme layers going that way. </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=049242614-14082009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=049242614-14082009><FONT face=Arial 
color=#0000ff size=2>Don't be too worried about creating a custom module.&nbsp; 
It really only takes making an .info file (with a few lines) and a single 
.module file with just the one hook_form_alter function in it.&nbsp; There's 
nothing else required.&nbsp; </FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> support-bounces@drupal.org 
[mailto:support-bounces@drupal.org] <B>On Behalf Of </B>Alexander 
Arul<BR><B>Sent:</B> Thursday, August 13, 2009 6:52 PM<BR><B>To:</B> 
support@drupal.org<BR><B>Subject:</B> Re: [support] Chicken/Egg Problem with CCK 
Field Permissions<BR></FONT><BR></DIV>
<DIV></DIV>Is it possible to use hook_form_alter in templates? <BR><BR>
<DIV class=gmail_quote>On Thu, Aug 13, 2009 at 11:46 PM, Fred Jones <SPAN 
dir=ltr>&lt;<A 
href="mailto:fredthejonester@gmail.com">fredthejonester@gmail.com</A>&gt;</SPAN> 
wrote:<BR>
<BLOCKQUOTE class=gmail_quote 
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
  <DIV class=im>&gt; In your foo.module you use a hook_form_alter to set the 
  [#required] to<BR>&gt; false.<BR><BR></DIV>So that would be the only way? A 
  custom module?<BR>
  <DIV>
  <DIV></DIV>
  <DIV class=h5>--<BR>[ Drupal support list | <A href="http://lists.drupal.org/" 
  target=_blank>http://lists.drupal.org/</A> 
]<BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>