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?

Comments

tsvenson’s picture

Project: Nodewords: D6 Meta Tags » Nodewords by Path

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

tsvenson’s picture

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.

univate’s picture

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.

tsvenson’s picture

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.

univate’s picture

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.