When the panel page is displayed with a node that is from a argument the title does not show in the Browser title bar.

When creating the Node ID argument the Title field was set to "%node" and the keyword field was set to node. When the panel page was displayed the title set here does not affect the title bar.

I did some investigation and found that the _panels_page_get_title function in panel_page.module returns the $panel_page->display->title even though it is empty. The test on line 521 is :

elseif (<strong>isset</strong>($panel_page->display->title)) {

and should be :

elseif (<strong>!empty</strong>($panel_page->display->title)) {

If you have more questiongs please email me.

Cheers,
Mattthew Denson

Comments

mdenson’s picture

Sorry haven't posted an issue before. I added strong tags in the code line. The strong tags shouldn't be there.

mdenson’s picture

See also
http://drupal.org/node/268318

Found this later sorry for the noise.

sdboyer’s picture

Status: Needs review » Closed (duplicate)

No worries. What's REALLY funny is, #271325: Empty title always returned when using displays :)