-
-
Save rosiel/1e5ad04719400774107f to your computer and use it in GitHub Desktop.
excerpt of a .module file to display islandora solr advanced search at [host]/advanced-search.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function custom_solr_config_menu() { | |
return array( | |
'advanced-search' => array( | |
'title' => t('Advanced search'), | |
'page callback' => 'custom_solr_config_advanced_search', | |
'access callback' => TRUE, | |
'type' => MENU_NORMAL_ITEM, | |
), | |
); | |
} | |
function custom_solr_config_advanced_search() { | |
return module_invoke('islandora_solr', 'block_view', 'advanced'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment