I find the auto-setting functions really useful.

Is there any plan to extend the use of token (like in the meta keywords) to the meta description?
I'd find it quite useful to have a fixed test plus tokens for certain type of nodes exactly like now it is possible with the keywords.

Thanks

Comments

deng’s picture

subscribe

khiminrm’s picture

I need the same functionality, because I have pages without body field and so no opportunity for autogeneration meta tags based on tokens.

khiminrm’s picture

Proposition how to accomplish this:
by adding $item['metatags_quick'] = token_replace($item['metatags_quick'], array('node' => $object)); after line 336: foreach ($items as $delta => $item) { in the file metatags_quick.module (module version 7.x-2.4).
Then in the "manage fields" of the target content type edit field "Meta description" and put desired tokens to the default value. After that go the Manage display of content type and select the format of the field "Meta description" as Default metatags_quick formatter. If you use Display suite, then this field must be placed in some of your display regions.
This will work only for the new nodes, for existing nodes you must manualy insert meta description for each node.

valthebald’s picture

khiminrm’s picture

Thanks! #4 works for me

valthebald’s picture

Status: Active » Closed (fixed)