Custom module's output is not wrapped in the site theme I've put together my first Drupal 7 custom module. I've implemented hook_menu() to get it to path correctly, but I cannot seem to get the output wrapped in the page tpl. 

I can visit domain.com/mycustommodule to see the output, but it's just the photos and links that the custom module built, not the site wrapper. How do I get this output into the node area of the page? 

Here's my hook_menu if that helps. 

function mymodule_menu() {

$items = array(); 
$items['mymodule/view'] = array(
'title' =&gt; 'Mymodule',
'page callback' =&gt; 'mymodule_display',
'access callback' =&gt; 'user_access',
'access arguments' =&gt; array('Access administration menu'),
'weight' =&gt; 1,
'type' =&gt; MENU_CALLBACK,
);
return $items;
}
What would help is the code for the mymodule_display() function. However, it sounds like you are printing the output in the function instead of returning it.

Blank page:

/**
 * Creates a blank page with only the module output.
 */
function mymodule_display() {
  print 'Module content';
}


Themed page:

/**
 * Output the content in the main content area of active theme.
 */
function mymodule_display() {
  return 'Module content';
}