title: NextGen Gallery WordPress upgrade issue - "Not a valid template" messsage
body: <p>Just upgraded NextGen Gallery in my WordPress site from NextGen Version 1.6.1 to 2.0.59</p>
  
  <p>after upgrade the galleries are working fine but a customization I used to get four thumbnails to show on my home page is not working.  </p>
  
  <p>I created a custom home page template that would show each post title and four related gallery thumbnails from appropriate gallery.</p>
  
  <p>However, after the upgrade instead of the four thumbnails I see "[Not a valid template]"</p>
  
  <p>The custom home page code is:</p>
  
  <pre><code>&lt;ul&gt;
      &lt;?php
      global $post;
      $myposts = get_posts('numberposts=100&amp;order=ASC&amp;orderby=title&amp;category=3');
      foreach($myposts as $post) :
          setup_postdata($post);
      ?&gt;
          &lt;li&gt;&lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt; &lt;/a&gt; &lt;?php ngg_excerpt(); ?&gt;&lt;/li&gt;
      &lt;?php endforeach; ?&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p>I had added a custom function ngg_excerpt to the theme functions.  That function is still present after the upgrade and has the following code:</p>
  
  <pre><code>function ngg_excerpt()
  {
      //get the post content
      $content_data = get_the_content();
      //extract shortcode from content
      preg_match("/\[ngg([^}]*)\]/", $content_data ,$matches);
      $results = $matches[1];
      //if shortcode exists in content
      if (!empty($results))
      {
          //extract gallery id from shortcode
          $gallery_id = preg_replace("/[^0-9]/", '', $matches[1]);
          //$template = "gallery-compact.php";
          //make sure that NextGen is loaded
          if (function_exists(nggShowGallery))
          {
              //output gallery, showing only 4 images
              echo nggShowGallery( $gallery_id, "compact", 4 );
          }
      }
  }
  </code></pre>
  
  <p>The nggShowGallery appears to be included in the newer version of NextGen Gallery.  Does anyone have any ideas about what might be missing or different in the version 2.0.59 that would cause this  "[Not a valid template]" message?</p>