Fill 2 fields: 1) the name of the page 2) (meta) title.
In the code page is displayed 2 :
1) the name of the page
2) (meta) title

How to solve this problem? Drupal 7.36

CommentFileSizeAuthor
error.jpg132.8 KBcreatiw-web
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

creatiw-web created an issue.

nehajyoti’s picture

You can check the variable $title value in node.tpl.php or html.tpl.php where it prints $title, usually in an H2 or something. The best thing to do is simply to have your template test to see if the title exists; if not, do not print the empty markup.

radek76’s picture

I had the same problem
My solution in html.tpl.php

I replaced

<title><?php print $head_title ?></title>

with

<?php
    if (strpos(drupal_get_html_head(), '<title>') === false) {
        print '<title>' . $head_title . '</title>';
    }
?>
OFF’s picture

radek76, it's working. Thank you!

yuraosn’s picture

Thank. It helps me.
version = "7.x-2.9"