Active
Project:
Faceted Search
Version:
6.x-1.0-beta2
Component:
Taxonomy Facets
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Oct 2009 at 10:46 UTC
Updated:
4 Oct 2009 at 10:46 UTC
Hi all,
I would love to use this great module for my main search, but cannot solve one issue:
at the moment I use a view with exposed filters to filter content. One field in the view is constructed by pulling the term ID of the current search from the URL and passing it on as an argument to an embedded view like this:
<?php
//gets the term variable
$termvariable1= $_GET['tid1'];
//passes the variable on as an argument
print views_embed_view('name_of_the_subview', 'block_1', $termvariable1);
?>
That way the embedded view also gets filtered by the current search terms.
In faceted search the URL is constructed differently, like: "...results/taxonomy%3A10", so the $_GET[] method doesn't work.
Is there a way in PHP to pull the current search terms from the faceted search URL in a similar way?
Any help is very much appreciated!