Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
4.4.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Aug 2004 at 15:23 UTC
Updated:
18 Sep 2004 at 13:16 UTC
I am trying to customize the xtemplate.theme to work with nodewords, no success
whatever I try.
In my template I have put this into the HEAD section:
meta name="keywords" content="{nodewords}"
In theme, I have put this:
function nodewords ($nodewords) {
$nodewords = module_invoke("nodewords", "get", $nid);
$xtemplate->template->assign("nodewords", $nodewords);
$xtemplate->template->parse("nodewords");
return $nodewords;
} Looking at the source of the node I have assigned keywords to, the output is empty, ie. content="".
What am I doing wrong?
Using Drupal 4.4.2, the module is working, the table is neatly populated by node's data entered through administration field, but I just can't figure the way to modify the theme properly.
Would you be so kind and help me out a bit? I have tried numerous combinations, no success.
Thanks ;)
Comments
Comment #1
SupaDucta commentedSolved by Goba here:
http://drupal.org/node/10035#comment-16402
Comment #2
gábor hojtsy