[drupal-support] Nodewords not working 4.5.2 and 4.6.0

Ron Mahon ron at inmrc.com
Thu Mar 17 13:43:22 UTC 2005


Some where between 4.50 and 4.5.2 and 4.6.0 node words broke.
I didn't discover it until I couldn't get nodewords to work in 4.6.0 rc .
Did the API  change at 4.5.2 ? 
The data continues to be written to the database but I cannot read it
anymore. I am using the chameleon-marvin theme.
 
If I force a string in to $nodewords it displays correctly.  ($nodewords =
"some keyword data")
it appears that  "$nodewords = module_invoke('nodewords', 'get', $nid);" Is
not working.
 
I am completely lost on this, any help would be appreciated. Here is the
relevant code
$nodewords = module_invoke("nodewords", "get", $nid);

if (preg_match("!^node/view/(\\d+)$!", $_GET['q'], $tmp_nid)) {

if (!($words = nodewords_get($tmp_nid[1]))) {

$words = "internet marketing";

} }

$output .= '<' . 'meta name="keywords" content="' . $nodewords . '">';

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://drupal3.drupal.org/pipermail/support/attachments/20050317/54d5c380/attachment.htm


More information about the drupal-support mailing list