Closed (fixed)
Project:
Panels
Version:
6.x-3.0-beta2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 May 2009 at 20:47 UTC
Updated:
3 Apr 2017 at 05:32 UTC
Jump to comment: Most recent
Comments
Comment #1
scalp commentedDisregard. I found the extra "Display settings" tab on the content page and found where to hide the title. Excellent job with this module! So far it's been very easy to work with.
Comment #2
merlinofchaos commentedComment #3
Kutakizukari commentedWhere did you find this? Having the same problem but with beta2
Comment #4
Kutakizukari commentedNever mind, right under my nose!
Comment #6
rhache commentedI've re-opened this issue because I wondering about this description text under the "Leave node title" option when changing the settings of the "node being viewed content".
For my theme, for the title not too appear twice, I have to override the title and leave it blank. I was wondering exactly how the theme could be aware of panels, as to not duplicate the title or to respect the "leave node title" option. I'm assuming some kind of condition in the node tpl, but I don't know what that would be.
I'd like to know this for D6 or 7. If you can point to a theme that already has that support, let me know and I can figure it out from there.
Thanks,
Rene
Comment #7
seemas commentedhe, here i have the same issue - and when i leave only 1 title - link still exist on the empty white place...
so this needs to review on panels module.
subscribing
Comment #8
merlinofchaos commentedThis happens in node.tpl.php where it prints $title, usually in an H2 or something. To be panels aware, 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.
Another possibility would be to set the panel identifier to something (anything, really) and then in your node.tpl.php, test to see if $node->panel_identifier is set.
It doesn't appear there is a super easy way to tell if the node is being rendered directly from Panels, though, without doing one of those things.
#7: Since the empty link is rendered by node.tpl.php, there's nothing more Panels can do to control its rendering.
Comment #9
batandwa commentedThe test for
$titleworks fine for me.Comment #10
debasisnaskarIf you have your own title tag into your particular tpl.php node then you can remove the title from the node.tpl.php to be printed or else make comment for same.
//print render($title_prefix);if (!$page)://print $title_attributes; >
print $node_url; ">
//print $title;endif;// print render($title_suffix);I hope it might work as I did it worked for me.