I don't thinks so, but am not 100% sure. 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.
Don't be too worried about creating a custom module.
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. There's
nothing else required.
Is it possible to use hook_form_alter in templates?
On Thu, Aug 13, 2009 at 11:46 PM, Fred Jones
<fredthejonester@gmail.com>
wrote:
> In your foo.module you use a hook_form_alter to set the
[#required] to
> false.
So that would be the only way? A
custom module?