Closed (fixed)
Project:
Nodewords: D6 Meta Tags
Version:
master
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2005 at 20:49 UTC
Updated:
8 Jun 2006 at 16:30 UTC
I was wondering if you might be able to allow a tag, to be added to a theme to allow you to use the description form your modules elsewhere. Like as an alt description of an image. this can be very usefully in SEO.
Comments
Comment #1
Robrecht Jacques commentedI'm not sure that I understand what you are asking.
Can you give an example of exactly what you want?
As far as I understand it now, you want the tags to be available in the theming functions of a node page... is that correct? I'll have to check, but you can make the complete $node object available in your node.tpl. This node object would have a property $node->nodewords where all tags are loaded. Is this what you want?
Sorry, don't completely understand, but this might be because of my ignorance... :-)
Comment #2
llizards commentedLets say I have an image on my theme like my logo and I want the description of what nodewords uses as a description, as an alt tag of that image. How would I go about doing that?
Comment #3
Robrecht Jacques commentedWill provide a way to do this. I think this is a theming problem and should require no changes to nodewords.module though.
Setting it to cvs and support request.
Comment #4
llizards commentedGreat , Thanks so much for the follow up.
Comment #5
Robrecht Jacques commentedSee the README.txt and node.tpl.php-example on how to do this.
The example has been added to the CVS version of nodewords.
Comment #6
(not verified) commented