CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Issues with metatag module - <title> different from page title
Pages: [1]

Author Topic: Issues with metatag module - <title> different from page title  (Read 1533 times)

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Issues with metatag module - <title> different from page title
April 14, 2014, 06:37:42 am
CiviCRM and Drupal's metatag module do not play nicely together at the moment.

The issue is that page title tags are cached in metatag, so the <title> element on a page will not match the actual page's title in cases where the URL is the same, but the query string is different. So this will happen for:

CiviCRM Events:
civicrm/event/info?reset=1&id=1
civicrm/event/info?reset=1&id=2

CiviCRM Contributions:
As explained here: http://forum.civicrm.org/index.php/topic,31711.msg135896.html

I've reopened an issue in the Drupal issue queue and hopefully we'll be able to fix the compatibility within Metatag, since it isn't something we can fix within CiviCRM:
https://drupal.org/node/1886076

Just posting this forum thread so that people can quickly spot the cause of this problem rather than trawling around looking for it.

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Re: Issues with metatag module - <title> different from page title
April 14, 2014, 06:46:23 am
A temporary solution is just to leave the 'Page title' pattern for the 'Global' metatag settings empty. It will then default to the Drupal default without caching which works.

John.K

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 5
  • CiviCRM version: 4.x
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5
Re: Issues with metatag module - <title> different from page title
October 10, 2014, 01:32:54 am
This issue should now be followed up here: https://issues.civicrm.org/jira/browse/CRM-15140

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • Issues with metatag module - <title> different from page title

This forum was archived on 2017-11-26.