Issue 14237
html markup showiing on title of Mendeley list page
14237
Reporter: feedback bot
Assignee: bko
Type: Bug
Summary: html markup showiing on title of Mendeley list page
Description: <p><p/> showing at top of /mendeley/datapaper
Priority: Minor
Resolution: Fixed
Status: Closed
Created: 2013-10-16 03:08:14.208
Updated: 2015-03-05 16:52:19.344
Resolved: 2015-03-05 16:52:19.321
Attachment Screen Shot 2013-10-16 at 12.06.23 PM.png
Author: kbraak@gbif.org
Comment: [~bko@gbif.org] can you reproduce this issue? Thanks
Created: 2013-10-16 12:04:35.394
Updated: 2013-10-16 12:04:35.394
Author: bko@gbif.org
Comment: sure, please see the attached screenshot.
Created: 2013-10-16 12:08:00.676
Updated: 2013-10-16 12:08:00.676
Author: kbraak@gbif.org
Created: 2013-10-17 10:06:34.871
Updated: 2013-10-17 10:06:34.871
Thanks. Seems like a problem with the page title in Drupal. Specifically, the section.
There is also a problem with the page title of other pages like http://www.gbif.org/mendeley/agriculture , specifically they begin with a "-" which can't be correct.
While looking at page titles, there is also an inconsistency with the page title for all links in the News section. Usually, the page title changes for each page, but not in the News section. No matter if you click on News sub page, GBIF News sub page, Featured Data Use sub page , or Events sub page, the page title is always the same. Compare that with the Community or About sections. You'll see each sub page title changes.
Author: bko@gbif.org
Created: 2013-10-17 10:51:46.121
Updated: 2013-10-17 10:51:46.121
drupal_set_title() can do it easily:
https://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drupal_set_title/7