/ Published in: PHP

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function mytheme_preprocess_views_view__events(&$vars) { if($vars['display_id'] == 'block_1') { $vars['more'] = l(t('Search All Events'), 'search/apachesolr_search', array('query' => 'filters=type:event')); } }
Comments
