title: Drupal Module Development hook_menu() For Semi Static Pages
body: <p>I have a page that is definitely not a form but I need to use some callback functions to load data from an external source and display (e.g. a list of buildings on campus and their accessibility information).</p>
  
  <p>What I have a need for is a landing listing page (lists all the buildings) and a 'view individual building' page. Also, I have a page where you punch in your student ID and view information on testing procedures. And finally I have a page that is basically a form (which I have done before successfully in the past).</p>
  
  <p>Now, I <strong>HAD</strong> the building list working, however I made a small change and it stopped working!</p>
  
  <p>Currently my hook_menu() function looks as below:</p>
  
  <pre><code>&lt;?php
  /**
   * Implementation of hook_menu()
   */
  function disability_menu()
  {
      $items = array();
  
      // Ignore me, shell
      $items['quickreg'] = array(
          'title' =&gt; 'Quick Registration',
          'description' =&gt; t(''),
  
          'page callback' =&gt; 'drupal_get_form',
          'page arguments' =&gt; array(),
          'file' =&gt; 'disability.quickreg.view.inc',
  
          'access arguments' =&gt; array('access quick registration system'),
  
          'type' =&gt; MENU_SUGGESTED_ITEM,
      );
  
      $items['tests/status'] = array(
          'title' =&gt; 'Test Status Results',
          'description' =&gt; t('Check on the status of your tests'),
  
          'page callback' =&gt; 'disability_view_testing_status',
          'page arguments' =&gt; array(),
          'file' =&gt; 'disability.tests.view.inc',
  
          'access arguments' =&gt; array('access test check information'),
  
          'type' =&gt; MENU_CALLBACK,
      );
  
      $items['tests'] = array(
          'title' =&gt; 'Testing Services',
          'description' =&gt; t('Check on the status of your tests'),
  
          'page callback' =&gt; 'disability_view_testing',
          'page arguments' =&gt; array(),
          'file' =&gt; 'disability.tests.view.inc',
  
          'access arguments' =&gt; array('access test check information'),
  
          'type' =&gt; MENU_SUGGESTED_ITEM,
      );
  
      $items['access/%building'] = array(
          'title' =&gt; 'Campus Accessibility Guide',
          'description' =&gt; t('A summary list of detailed accessibliity information about each building on the A&amp;M campus'),
  
          'page callback' =&gt; 'disability_view_access',
          'page arguments' =&gt; array(1),
          'file' =&gt; 'disability.access.view.inc',
  
          'access arguments' =&gt; array('access building access information'),
  
          'type' =&gt; MENU_SUGGESTED_ITEM,
      );
  
      return $items;
  }
  </code></pre>
  
  <p>Before some change I must have made the menu item for "Campus Accessibility Guide" would show up properly (after being enabled of course). The <code>/access</code> url would work correctly displaying a list of all building and the <code>/access/12345</code> would correctly display the single record of ID# 12345.</p>
  
  <p>Now the <code>access/%building</code> menu entry is not even showing up and even sending the url <code>/access</code> into a redirect loop (making me think it's passing in <em>something</em> for the ID which sends it into the view specific function that redirects to <code>/access</code> when the ID doesn't exist).</p>
  
  <p>Can anyone tell me what I'm doing wrong or what I need to do to support 2 themed pages: a <code>/access</code> and <code>/access/%building</code> url pattern?</p>