[development] node/create inside a tab
andrew morton
drewish at katherinehouse.com
Wed Jun 11 18:03:54 UTC 2008
On Wed, Jun 11, 2008 at 9:20 AM, Lluís <enboig at gmail.com> wrote:
> at last I found the correct callback:
>
> $items[] = array('path' => 'comptacau/moviments/ingressos/afegir',
> 'title' => t('Afegir un ingrés'),
> 'callback' => 'node_add',
> 'callback arguments' => 'comptacau-ingres',
> 'access' => true,
> 'type' => MENU_NORMAL_ITEM);
Shouldn't callback arguments be an array rather than a string?
http://api.drupal.org/api/function/hook_menu/5
andrew
More information about the development
mailing list