Closed (duplicate)
Project:
Panels
Version:
6.x-3.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2008 at 18:51 UTC
Updated:
27 Jul 2012 at 10:05 UTC
Jump to comment: Most recent
Comments
Comment #1
gnosis commentedI was able to achieve the desired result by setting Page TItle to a [space]. Probably not the ideal solution, but it gets the job done.
Comment #2
gnosis commentedOn second glance, setting title to space is no good either. It causes the browser title bar to display " | Sitename".
Comment #3
BrightLoudNoise commentedI'm experiencing the same issue, and confirm the odd behaviour.
Comment #4
Anonymous (not verified) commentedThis is probably the same as #263372: hiding the title causing "Preview" to be displayed instead of nothing.. Perhaps that issue doesn't describe all the symptoms of the problem, but these issues probably have a common cause.
Comment #5
ksangeelee commentedA possible solution is to edit 'panels_page/panels_page.module' and look for the line: -
if (!$display->hide_title) {
drupal_set_title(filter_xss_admin(panels_page_get_title($panel_page, 'page', '')));
}
and add an else clause, making the block: -
if (!$display->hide_title) {
drupal_set_title(filter_xss_admin(panels_page_get_title($panel_page, 'page', '')));
} else {
drupal_set_title('');
}
Perhaps the title was set previously? If so, the logic 'if not hide title' can only ever set or replace a title, it can never remove it.
The solution above seems to make it do what's expected, since the page title is correct, and the panel title is invisible.
Comment #6
sunMarking as duplicate of #263372: hiding the title causing "Preview" to be displayed instead of nothing. and #268318: Page titles not working for node override pages.
Comment #7
hg2008 commentedthanks, ksangeelee. That solution worked for me.
Comment #8
mkrakowiak commentedThis solution does exactly the same thing as gnosis noticed with the space trick: It causes the browser title bar to display " | Sitename".
What you can do, until the fix is in place, is you can use the CSS property display:none (http://www.w3schools.com/css/pr_class_display.asp) to hide it.
EDIT
I forgot I just installed PageTitle module and it took over displaying info in the title bar...
So, the fix works well for me too :)
Comment #9
chrism2671 commentedIf you're working on the frontpage, you can do something like:
worked for me on a Zen based theme.
Comment #10
uomeds commentedI've got the same problem. I am using Advanced User Profile with Author Pane. I do not need a page title displayed above the user profile panels. However, I do want a title (user name) in the browser window.
Currently, I can only get "| Site Name", not "User Name | Site Name" as desired.
Is there any way to get a title in the browser window but not actually printed on the page? ie. Just take it from a pane?
Comment #11
uomeds commentedComment #12
merlinofchaos commentedDrupal does not offer a feature where you can have a browser title without a page title. To achieve this you must do theming in your page preprocess and page.tpl.php
None of this invalidates the original settings on this issue.
Comment #13
uomeds commentedThanks merlin. Figured it out from your reply and a bit of reading here:
http://drupal.org/node/633670#comment-2269460
Comment #14
wjw3072003 commented1.copy page.tpl.php to you subtheme/templetes
2. rename page.tpl.php to page--front.tpl.php(forexample)
3.hidden codes from line 123 to 127 (drupal7)
4.then ok
Comment #15
Jérôme Brunel commentedJust set your title to when you edit your panel.