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

Robrecht Jacques’s picture

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... :-)

llizards’s picture

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?

Robrecht Jacques’s picture

Version: 4.6.x-1.x-dev » master
Category: feature » support
Priority: Critical » Normal

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.

llizards’s picture

Great , Thanks so much for the follow up.

Robrecht Jacques’s picture

Status: Active » Fixed

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)