Project:Google Custom Search Engine
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

i have to write code:
// separate main category terms and free tags term
if (!empty ($node->taxonomy)) {
$tags = array ();

$google_partner_pub = variable_get('google_cse_cx', '');
$cof = variable_get('google_cse_cof_here', 'FORID:11');
foreach ($node->taxonomy as $tid => $term) {
if ($term->vid != CUSTOMIZE_MAIN_VOCAB_ID) {
unset ($node->taxonomy[$tid]);
// $tags[] = l($term->name, "taxonomy/term/{$term->tid}");
$tags[] = l($term->name, "search/google", array (
'query' => 'cx='. $google_partner_pub .'=' .$cof. '&query=' . $term->name
));
}
}
When click freetags then google cse can search auto
But it is not work.
Any idea can help me!
Thanks you.

nobody click here