[development] hook elements problem

Konstantin Käfer kkaefer at gmail.com
Mon Sep 8 09:13:24 UTC 2008


Hi,

You need a rendering function or template file.

Konstantin

On 08.09.2008, at 09:50, Ámon Tamás wrote:

> Hello,
>
> I like to make some own form elements:
>
> function atleta_elements() {
>   $type['meter'] = array('#input' => TRUE, '#size' => 60);
>   return $type;
> }
>
> but when I like to use it:
>
>   $form['meter2'] = array(
>     '#title' => 'meter2',
>     '#type' => 'meter',
>   );
>
> I do not see this element. What is the solution?
>
>
> Ámon Tamás
> Sitefejlesztő és programozó
> -- 
> 5NET Informatikai Kft.
> 1062 Budapest, Aradi utca 38. A 3/11
> telefon: (1) 461-0205  |  fax: (1) 461-0206
> e-mail: amont at 5net.hu  |  web: http://www.5net.hu



More information about the development mailing list