Description as a tag in the theme.
llizards - November 29, 2005 - 20:49
| Project: | Meta tags |
| Version: | HEAD |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
I'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... :-)
#2
Lets 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?
#3
Will 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.
#4
Great , Thanks so much for the follow up.
#5
See the README.txt and node.tpl.php-example on how to do this.
The example has been added to the CVS version of nodewords.
#6