I have developed a module in Drupal 7.
Now, I want to add a custom themed-page in the admin panel of Drupal.
I have added a page using admin_menu()
:
function newsletter_menu()
{
$info = array();
$info['admin/reports/newsletter'] = array(
"title" => "Number of Registered Users for Newsletter",
"description" => "",
"page callback" => "newsletter_admin_content_block",
'page arguments' => array('newsletter_admin'),
'access arguments' => array('administer newsletter settings'),
'type' => MENU_NORMAL_ITEM
);
return $info;
}
It works all well. But my problem is:
I have a template file newsletter.admin.tpl.php
which I want to use a the template for this page. But I don't know how should I achieve it. Can anyone help?