Hi,

I come across an issue while working with metatag and profile2 modules . Issue is that when i create some fields with profile2 And if an user logged in into the drupal , its username get cached as user title for user page and when another user logged in into the drupal, Application is showing the previous user's username in the title of the /user page. Please help me how to deal with this issue.

Comments

Dave Reid’s picture

Status: Active » Postponed (maintainer needs more info)

If you disable the Meta tag module this problem goes away? I am having a difficult time believing it's the real cause behind it.

vaibhavsingla’s picture

Hi dave,

If i am disabling any of these (metatag, profile2) modules, Problem goes away. But i can't disable any of these modules. This problem is coming as i enable both of these modules. Please suggest any solution for that.

DamienMcKenna’s picture

What token is being used for the title field?

tahiticlic’s picture

Maybe you should check this : https://drupal.org/node/2162397

DamienMcKenna’s picture

Issue summary: View changes
Priority: Major » Normal
Status: Postponed (maintainer needs more info) » Active
moehac’s picture

I have multiple entities running off same url, in my case /user would invoke user entity and profile2 entity based on session. Page title for /user was getting cached until I fixed it by doing the following instructions I found in the README file:

  1. Go to /admin/config/people/accounts/display
  2. Enable "Tokens" under "Custom Display Settings"
  3. Clear cache

Text in README.txt:
4. As the meta tags are output using Tokens, it may be necessary to customize
the token display for the site's entities (content types, vocabularies,
etc). To do this go to e.g., admin/structure/types/manage/article/display,
in the "Custom Display Settings" section ensure that "Tokens" is checked
(save the form if necessary), then to customize the tokens go to:
admin/structure/types/manage/article/display/token

My issue is not resolved for other meta tags on /user (example: Open Graph, Twitter card tags) which are still caching values. Any suggestions?

DamienMcKenna’s picture

Version: 7.x-1.0-beta7 » 7.x-1.x-dev
DamienMcKenna’s picture

Status: Active » Closed (duplicate)
Related issues: +#2162397: Metatags with multiple entities on page