Posted By

hamsterbacke82 on 10/30/10


Tagged

drupal 6 preprocess


Versions (?)

drupal 6 views preprocess


 / Published in: PHP
 

  1. function mytheme_preprocess_views_view__events(&$vars) {
  2. if($vars['display_id'] == 'block_1') {
  3. $vars['more'] = l(t('Search All Events'), 'search/apachesolr_search', array('query' => 'filters=type:event'));
  4. }
  5. }

Report this snippet  

You need to login to post a comment.