commons-search-solr-user-results.tpl.php in Drupal Commons 7.3
Default theme implementation for displaying solr user search results.
Available variables:
- $results: All results.
- $title: The title for the grouping of content.
See also
template_preprocess_commons_search_solr_user_results()
1 theme call to commons-search-solr-user-results.tpl.php
- commons_search_solr_user_apachesolr_search_page_alter in modules/
commons/ commons_search/ modules/ commons_search_solr_user/ commons_search_solr_user.module - Implements hook_apachesolr_search_page_alter(). We override the default search page for people here when no results are entered. This gives us a default people listing which we can filter to who we are following.
File
modules/commons/commons_search/modules/commons_search_solr_user/commons-search-solr-user-results.tpl.phpView source
<?php
/**
* @file
* Default theme implementation for displaying solr user search results.
*
* Available variables:
* - $results: All results.
* - $title: The title for the grouping of content.
*
*
* @see template_preprocess_commons_search_solr_user_results()
*
* @ingroup themeable
*/
?>
<div class="<?php
print $classes;
?>"<?php
print $attributes;
?>>
<h3<?php
print $title_attributes;
?>><?php
print $title;
?></h3>
<div<?php
print $content_attributes;
?>>
<?php
print render($content);
?>
</div>
</div>