I've filled out the summary of a node, saved it and refreshed the page. Apparently the summary is not being used, in fact, the whole description tag is missing.

Went back to edit the page, but this time I went to the "Meta tag" settings of the page. Filled out "test1" after the summary token in the description field: [node:summary] test1. The result is that the description meta tag is visible now in the page source, and so is "test1" in it. But the summary still isn't there.

Refreshed the cache several times to no avail. Any idea what could be the problem?

(P.S.: I'm not using the Display Suite module)

Comments

knalstaaf’s picture

Do you have to define which summary must be used, in case of two body fields for instance?

I'm not having two or more body fields, but I reckon that this can be the case for certain websites. That way the summary should be defined for the Meta Tag module (not?).

Hence the question whether this must be defined somewhere (as this could be the reason it doens't work for me in that case).

StevenWill’s picture

I am having the same issue. Any solutions for this?

knalstaaf’s picture

chrisNtampa’s picture

I hope this may be helpful. I noticed that my node summaries were not being used by the module. My problem was because my node template was completely custom and I was printing out each field individually. I had not (and could not in my case) use...

<?php print render ($content); ?>

My remedy was to use this in the node template...

<?php print render ($content['metatags']); ?>

Now my body summary is used for the description field.

StevenWill’s picture

I am not using a custom theme, but a the Zen starter theme.

hixster’s picture

Using Fusion theme , [node:summary] does not output anything

damienmckenna’s picture

@hixter: Is there any text in the node's summary field? If not, this would make it a duplicate of #1295524: [node:summary] does not work in default content meta tag when summary left empty, and ultimately a core bug (#1300920: The [node:summary] token does not output anything for body fields without a manual summary).

damienmckenna’s picture

Status: Active » Postponed (maintainer needs more info)
damienmckenna’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)