faceted search

gr4phic3r's picture

hi

D6, faceted search, no php-skills

i have a block where i include a normal search form with ...

<?php
print drupal_get_form('search_form');
?>

now i want to use faceted search and want to include also the necessary code in the block. someone helped me, but i didn´t get it to work. he told me, that i should use following code ...

<?php
    $block
= module_invoke('faceted_search_ui', 'block', 'view', '1_keyword');   
?>

<div class='search_inline'>
    <?=$block['content']?>
</div>
<div style='clear:both'></div>

he told me also, that i have to insert my keyword, but i don´t know where i can get this keyword. i took a look to the mysql table "faceted_search_env" but didn´t find anything. does anyone has a clue? thanks

greets

Groups:
Login to post comments