I have create a block put show tags in full node. When user click tag then auto search google.
if (!empty ($node->taxonomy)) {
$tags = array ();
$google = '008068290499372306572:5ppcdrwcyzo';// cse value
foreach ($node->taxonomy as $tid => $term) {
if ($term->vid != 3) {
unset ($node->taxonomy[$tid]);
$tags[] = l($term->name, "cse", array (
'query' => 'cx='. $google.'&cof=FORID%3A9&ie=UTF-8&q=' . $term->name
));
}
}
$node->content['tags'] = array (
'#value' => '
',
'#weight' => 10,
);
}
but it's not work.
it's show not found.
Please help!
Comments
Comment #1
malcomio commentedTidying up the issue queue, and marking issues as won't fix where the version is no longer supported.