How to set the panel's title dynamically?

Events happening in the community are now at Drupal community events on www.drupal.org.
kirilius's picture

I need to display a panel in the context of a node and I need that panel to dynamically get its title from the node's context.

How can I do this?

Comments

I had the same problem, and

julma's picture

I had the same problem, and I was looking for a answer in the tutorials about Panel, but then I came back to the panel module homepage and I realized that it was simply there :

http://drupal.org/project/panels

  • Go to advanced settings. Add the argument 'node id'. Set it to whichever types you like. Set the title in the argument to '%node'

And it works...
have fun...

You also need to have the

jrabeemer's picture

You also need to have the "Keyword:" field set to "node" for the substitution to work.

Thanks!

kirilius's picture

Thanks!

Page_title instead of %node

Summitnl's picture

Hi,

How about, when using the page_title module and wanting this page title instead of node-title as
Thanks a lot in advance for your reply!

greetings, Martijn

Panels

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: