Project:Nodewords: D6 Meta Tags
Version:6.x-1.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Entering values into TD.title didn't actually change the page title. I found, when examining nodewords/metatags/DC.Title.inc (why its capitalized, I have no idea) that the function nodewords_dc_title_prepeare only accounted for what to do when a DC.Title was NOT supplied by the user. The first if was never followed up by an else:

if (!isset($value) || empty($value)) {

I added the following else, and moved the return $value below it.
  else {
    // what if it was actually provided?
    $value .= ' - ' . variable_get('site_name', 'Drupal');
  }
  return $value;

patch attached.
Jen

AttachmentSizeStatusTest resultOperations
dc_title_else.patch503 bytesIgnored: Check issue status.NoneNone

Comments

#1

This works fine for me too! Please commit it.

#2

Status:needs review» closed (won't fix)

As the Drupal 5 version is not supported anymore, I am changing the status of this report.

#3

Version:5.x-1.12» 6.x-1.0
Status:closed (won't fix)» active

Is this solved in D6 already?

#4

Category:bug report» support request
Assigned to:jenlampton» Anonymous
Status:active» fixed

Entering values into TD.title didn't actually change the page title.

Settings the DC.Title doesn't change the page title, because the DC.Title meta tag is not though to replace the page title (which is the one set in the title tag), but to suggest an alternative title to the search engines that actually use it.

#5

Title:DC.Title does not apply to page» DC.Title does not apply to the page

#6

Status:fixed» closed (fixed)

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

nobody click here