Hello everybody.
Currently im coding an admin interface for a module, which deals with image_filename insertions and custom menus.
Therefore i create a lot of forms. The current one should be displayed formatted within a table. To achieve this i want to use following:
1. hook_theme()
function nathde_theme()
{
return array(
'nathde_imagebar' => array(
'variables' => array('imageURIleft' => NULL,
'imageURIright' => NULL,
'imageALTleft' => NULL ,
'imageALTright' => NULL
),
'template' => 'nathde-imagebar'
),
'nathde_subnav' => array(
'variables' => array('menuSitekey' => NULL,
'menuID' => NULL,
'menuEntries' => NULL
),
'template' => 'nathde-subnav'
),
'nathde_subnav_menuEntry' => array(
'variables' => array('menuEntry_label' => NULL,
'menuEntry_link' => NULL
),
'template' => 'nathde-subnav-menuEntry'
),
'nathde_listImagebarElement_form' => array(
'variables' => array('form' => NULL),
'file path' => drupal_get_path('module', 'nathde'),
'file' => 'nathde.admin.addImage.inc'
)
);