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
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

Robrecht Jacques - November 30, 2005 - 00:30

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

llizards - December 1, 2005 - 04:24

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

Robrecht Jacques - May 19, 2006 - 09:57
Version:4.6.x-1.x-dev» HEAD
Category:feature request» support request
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.

#4

llizards - May 21, 2006 - 19:14

Great , Thanks so much for the follow up.

#5

Robrecht Jacques - May 25, 2006 - 16:29
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.

#6

Anonymous - June 8, 2006 - 16:30
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.