title: Drupal 7 preprocess_views not working
body: <p>I have the following code in my Drupal 7 <code>template.php</code> file:</p>
  
  <pre><code> function mytheme_preprocess_views_view__videos__videos(&amp;$vars) {
          drupal_add_css(drupal_get_path('theme', 'mytheme') . "/css/qwembed-jquery-1.0.css");
          drupal_add_js(drupal_get_path('theme', 'mytheme').'/js/jquery.swfobject.1-1-1.min.js', array('type' =&gt; 'file', 'scope' =&gt; 'footer'));
          drupal_add_js(drupal_get_path('theme', 'mytheme').'/js/qwembed-jquery-1.0.js', array('type' =&gt; 'file', 'scope' =&gt; 'footer'));
      }
  </code></pre>
  
  <p>I need to load these css and js file only when this view is displayed.</p>
  
  <p>the view display name is: <code>Videos</code>
  the view Machine Name is: <code>videos</code></p>
  
  <p>and the override files are:</p>
  
  <pre><code>views-view--videos--videos.tpl.php
  
  views-view-unformatted--videos--videos.tpl.php
  
  views-view-fields--videos--videos.tpl.php
  </code></pre>
  
  <p>any ideas why this is not working?</p>