Anonymous user access using hook_menu in Drupal

Warning message

JQuery Cycle must be installed in order to run the slideshow. Please go to Status Report for instructions.

Sometimes you need to show page to anonymous user. Create a page using hook_menu by using below code:

  $items['your/path/name'] = array(
    'title' => 'You Title',
    'description' => 'Your Page Description',
    'page callback' => '_any_function_if_you_want_to_call',
    //'access arguments' => TRUE, <-- Comment or remove this if you have it
    'access callback' => TRUE,  <-- Add this
    'page arguments' => array(2), // Optional if you are receiving any arguments from URL
    'type' => MENU_NORMAL_ITEM,