HI
I am facing the problem with theme.I wrote one function i.e
$items[] =array('path'=> 'home/theme',
'title' => t('Themes'),
'callback' => 'theme_function',
'access' => user_access('can use theme'));
'type' => MENU_CALLBACK);
function theme_function()
{
include ("includes/file.php");
}
Iam calling the menu item by this function.At first time clicking the menu item it gives my functionality with out theme .after by clicking the hyper links the theme comes.what is problem of my function.
I think iam calling only the included file with out theme .But that file.php contains the theme.
What is my problem .Please give me a solution
Sorry my poor english.