<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span>For a diagram of the FAPI workflow in D5 and D6, try <a target="_blank" href="http://drupal.org/node/165104">http://drupal.org/node/165104</a>. For instructions about how to create a custom element in D6, try <a target="_blank" href="http://drupal.org/node/169815">http://drupal.org/node/169815</a>.</span><br><br>Karen<br><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Richard Morse <REMORSE@PARTNERS.ORG><br>To: development@drupal.org<br>Sent: Wednesday, January 23, 2008 10:03:24 AM<br>Subject: [development] Hook_elements?<br><br>
Hi!
Is
there
any
good
documentation
about
how
to
implement
your
own <br>elements
through
hook_elements()?
I
must
confess
that
the
example <br>file
provided
on
<a target="_blank" href="http://api.drupal.org">api.drupal.org</a>
doesn't
seem
entirely
clear
to
me
-- <br>why
do
I
want
or
not
want
'#input'
to
be
true,
when
does
'#process' <br>get
called
(I
tried
to
create
my
own
element,
but
'#process'
never <br>got
called),
do
I
have
to
register
the
theme
function
via
hook_theme <br>(),
what
internal
keys
to
the
formapi
should
I
be
messing
with,
what <br>are
the
standards
for
themeable
elements
--
is
there
any
place
I
can <br>go
to
find
out
these
kinds
of
things?<br><br>Thanks,<br>Ricky<br><br>The
information
transmitted
in
this
electronic
communication
is
intended
only<br>for
the
person
or
entity
to
whom
it
is
addressed
and
may
contain
confidential<br>and/or
privileged
material.
Any
review,
retransmission,
dissemination
or
other<br>use
of
or
taking
of
any
action
in
reliance
upon
this
information
by
persons
or<br>entities
other
than
the
intended
recipient
is
prohibited.
If
you
received
this<br>information
in
error,
please
contact
the
Compliance
HelpLine
at
800-856-1983
and<br>properly
dispose
of
this
information.<br><br><br><br><br><br></div><br></div></div></body></html>