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 |
Jump to:
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
Just realised I put it in the wrong queue...
#2
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
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
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
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.