Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tested in other themes including A/T core, Bartik, and Zen and panels pages show node titles. In Corolla and Footheme, they do not. I am not sure where to look.
Comment | File | Size | Author |
---|---|---|---|
#9 | Church_layout.txt | 8.08 KB | Brian MacKinney |
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedWow, bummer, I need to fix that, is this Panel Pages and/or Panel Nodes?
Comment #2
Brian MacKinney CreditAttribution: Brian MacKinney commentedIt is a node template.
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedNode template? Have you edited something, or do you mean Panel Node? Please be precise, otherwise I can't know what to debug. Sorry but we have to get the jargon right.
Comment #4
Brian MacKinney CreditAttribution: Brian MacKinney commentedI could use the regular node display manager for of the node type to limit it to only the node title, expose the whole node in a panel, and then display the associated group content views using panels, but fixing the bug would let me use the panel title controller.
Comment #5
Brian MacKinney CreditAttribution: Brian MacKinney commentedadmin/structure/panels
It is controlled at admin/structure/pages/edit/node_view
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedTechnically its not a bug, its a feature, lol, but it should work with Panels, at least I will try ;)
Oh, one more thing - the title of this issue is Panel Page do not show title etc, so is this node template being displayed inside a Panel Page, is that right?
Clearly I need to get up to speed with Panels, my memory is not good!
Comment #7
Brian MacKinney CreditAttribution: Brian MacKinney commentedNode Template
I am using selection criteria of content type and whether the content type is a group.
I am testing other page types to see if the issue title is accurate.
Comment #8
Jeff Burnz CreditAttribution: Jeff Burnz commentedOK, I set this up and the title is showing, I have Title Type: Pane Content set.
Maybe if you can do an export and attach it here so I can see your full configuration.
Comment #9
Brian MacKinney CreditAttribution: Brian MacKinney commentedThe options I have are: Manually set (can take arguments), From Node, and No Title. None of them show the title in corolla. I've attached an export of the settings here. It may have something to do with the relationship, "OG group from node" in the Contexts tab.
Comment #10
Brian MacKinney CreditAttribution: Brian MacKinney commentedJeff,
I have the same problem on another site using AT Commerce. When I create a Panels Node Template variant, the Title does not display. It does when I switch back to Bartik, changing nothing.
Comment #11
Jeff Burnz CreditAttribution: Jeff Burnz commentedtagging to help me track issues with Panels and this is the next big module to tackle.
Comment #12
Summit CreditAttribution: Summit commentedHi, I have exactly the same with a completely different theme. I am amature, so build a theme with Artisteer.
Als node title displaying fine as it is part of a view, but the manually panels title is not displayed.
This behaviour is only with the node panel template, and only with variants...
May be something bigger on error please?
Greetings,
Martijn
Comment #13
ds1964 CreditAttribution: ds1964 commentedSubscribing. Just encountered this using Corolla.
Comment #14
Jeff Burnz CreditAttribution: Jeff Burnz commentedRight... timely bump, I still need to look at this.
Comment #15
ds1964 CreditAttribution: ds1964 commentedGreat! FWIW, while I was trying to understand this issue I ran across the same problem using:
Display Suite + Corolla
Panels + Sky
Thanks for your great themes!
Comment #16
Hanpersand CreditAttribution: Hanpersand commentedLike Brian Mackinney #9, none of my title options show a title, either.
I'm using AT + Sky+ Footheme subtheme + Panels.
Thank you!
Update: I am able to use Title: From Pane, actually. But that's the only one that works.
Comment #17
micnap CreditAttribution: micnap commentedBump.
Still having the issue with AT + Sky + Panels. I am not able to display the Title via any of the 3 methods. :-(
Mickey
Comment #18
micnap CreditAttribution: micnap commentedThis is a hack but it'll working for me until the theme gets properly patched.
I changed line 46 of sky/templates/page.tpl.php from
if ($title && !isset($node)):
to
if ($title && (!isset($node) || page_manager_get_current_page())):
Mickey
Comment #19
rafaqz CreditAttribution: rafaqz commentedStill an issue, only annoying flaw ive found so far in an otherwise great theme!
Comment #21
Frank Pfabiganthis issue is still active. i'm using at-commerce and panelizer.
hack #18 works, thank you, mickey ^^
https://drupal.org/node/1321414#comment-6391170
Comment #22
Jeff Burnz CreditAttribution: Jeff Burnz commentedThe code in 18 is OK, however it's a little dangerous because if later on someone disables Page Manager the site will crash with a fatal error.
This is the solution I am going to put into AT Core:
You can use this also, place the code into your themes preprocess functions, e.g.:
Then you can use the variable as the condition, as opposed to using the function:
if ($title && (!isset($node) || $page_manager_get_current_page == TRUE)):
I will update Adaptivetheme shortly with a new release to make this available, and the various themes that use this idea of not showing regular page title on nodes, e.g. AT Memento etc.
Comment #23
Jeff Burnz CreditAttribution: Jeff Burnz commentedJust to recap a missed point, newer versions of Sky, Corolla & Pixture Reloaded should not have this issue at all, because I changed how they work, this will only affect a very few quite advanced themes such as some of the commercial themes like AT Memento and the free theme AT Commerce.