meta tags by path removes term and views page's title

intertik - January 13, 2009 - 21:58
Project:Meta Tags by Path
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

when using this module for taxonomy/term pages, it removes the TITLE (title html tag) from the page....any solution?

thanks!

#1

univate - March 1, 2009 - 13:02
Status:active» fixed

I can't repeat this...

What I tried:
* created a blank site with only this module enabled
* loaded dummy data via the devel module
* created a meta tag rule for the page "taxonomy/term/37"
* still present on that page

unless you can provide more information I am mark this fixed.

#2

System Message - March 15, 2009 - 13:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

#3

chumm - April 2, 2009 - 16:13
Priority:normal» critical
Status:closed» active

I am experiencing this same problem when trying to use with Ubercart's catalog pages.

When browsing the catalog, the title tag displays the category name and then the name of the site. Example:
Long Sleeve Shirts | The Shirt Store

AFTER enabling the meta tags by path for long-sleeve-shirts, I enter in meta tag and description information. Then when I browse to /long-sleeve-shirts (a.k.a. /catalog/8), the meta information DOES display within the source, BUT the title tag now displays the following:
Categories | The Shirt Store

Help?

#4

chumm - April 14, 2009 - 17:29

Bump

#5

DamienMcKenna - April 24, 2009 - 04:07

For me it clashed with page_title. For example, with the default page_title settings to "[page_title] | [site_title]" a page might have "My page | My site" for a given page. If I create a rule to set the metatags the page title changes to "| My site".

#6

mrfelton - May 9, 2009 - 17:34

I'm experiencing the same. The problem is indeed a conflict with the page_title module, and affects pages generated by Views... I just had the same problem with the custom_breadcrumbs module - which I've just fixed... read more here #454356: [page-title] tokens do not work in custom_breadcrumb_paths breadcrumbs on views pages

#7

mrfelton - May 10, 2009 - 14:04

This simple patch fixed it for me. The problem is that sometimes (especially for views pages, until my patch for nodewords views support is reviewed, tested and hopefully committed #216262: Meta tags are not added to all the views)

Index: nodewords_bypath.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/nodewords_bypath/Attic/nodewords_bypath.module,v
retrieving revision 1.1.2.1.2.2
diff -u -p -r1.1.2.1.2.2 nodewords_bypath.module
--- nodewords_bypath.module 1 Jan 2009 02:37:28 -0000 1.1.2.1.2.2
+++ nodewords_bypath.module 10 May 2009 14:00:34 -0000
@@ -148,6 +148,9 @@ function nodewords_bypath_nodewords(&$ta
           $scope  = 'taxonomy';
           $object = taxonomy_get_term($ids[0]);
         }
+        elseif ($type == 'none') {
+          return;
+        }

         //--------------------------------------------------------------------
         // Set the value for the tag and use the token module if it is

AttachmentSize
358401_nodewords_bypath_page_title_support.patch 784 bytes

#8

mrfelton - May 10, 2009 - 14:07
Title:meta tags by path removes term page's title» meta tags by path removes term and views page's title
 
 

Drupal is a registered trademark of Dries Buytaert.