Use teaser plus global text in description?

edde42 - May 18, 2009 - 00:03
Project:Meta Tags by Path
Version:6.x-1.0
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there any way I can configure the default, such as for By Path, to both use the teaser and a global text without having to manually edit every node?

#1

edde42 - May 22, 2009 - 13:05
Project:Nodewords» Meta Tags by Path
Version:6.x-1.0» 6.x-1.0

Just realised I put it in the wrong queue...

#2

edde42 - May 22, 2009 - 13:23

I have a text area which I use as teaser. It would have been possible to use this in the By Path / Description field if there had been a '-trimmed' token available for textarea fields in forms. Then it would have been a snap to create a functional global description pattern.

#3

univate - May 22, 2009 - 13:40

I'm fairly certain that any cck tokens will work in the meta tags - I added all other tokens like cck fields in a separate collapsible fieldset on the module help page so you can see what is availabe on the site. If cck or another module sets up a '-trimmed' token version of the contents of a textarea field that should work in this module.

So this is not really a nodewords_bypath feature as no tokens are defined in this module. It really needs to be added as a token along with the existing cck tokens.

#4

edde42 - May 24, 2009 - 14:16

Oki, that's understandable.

Would it be possible to add an option so I can, per path, have a global text + the teaser?

As it is now, if I enter anything in the description it will only use that and if I enter nothing it will use the teaser. Would be great if it was possible to combine both somehow.

#5

univate - May 24, 2009 - 15:13

There is a token in drupal that provided node teasers - so you can use [node-teaser] with other text in a metatag field.

Otherwise I think your best solution would be to implement another module that creates the '-trimmed' tokens so you can make use of these.

 
 

Drupal is a registered trademark of Dries Buytaert.