I am a Drupal newbie. I am using Drupal 7.26 and I cannot create a new page using a custom module.
I made a new module called my_page by creating my_page.info and my_page.module files inside the module's own directory, but I am confused about which hooks to implement. I just want to return plain static html in that page.
I know I can make a page using admin panel but I want to do this programatically.
This is my .module code.
function my_page_simple() {
return array('#markup' => '<p>' . t('Simple page: The quick brown fox jumps over the lazy dog.') . '</p>');
}
When I navigate to /my_page I get 'Page not found'
hook_menu
mate..?? – Outlooker