By carlogen on
Hi,
I need an help with my first module.
I have a code like this.
function mymodule_menu() {
$items['mymodule'] = array(
'title' => 'test',
'page callback' => 'mymodule_page',
'access arguments' => array('access content'),
);
function mymodule_page (){
print "test";
}
test come in a blank page.
why?
how do i include it in a themed page in the content area?
Thanks a lot to everyone
Comments
Change print
Change
to
Hi nevets, thanks for your
Hi nevets,
thanks for your reply.
with this code
the page is completely blank "test" is not showed at all.
there was a typo error in my
there was a typo error in my code.
i fixed it
thanks a lot.