2

I am trying to use panel in Drupal 8 node view template. I have enable Node view panel and added a new variant for Basic page view. But I couldn't mention in panel page to take the title as current node title. Where I can mention it in panel configuration?

Drupal 8 enter image description here

Even I have created the panel variant in Drupal 7. Here title is taking by default node title.

Drupal 7 enter image description here

1 Answer 1

4
+25

FYI: Page Manager is in beta, but that doesn't affect the solution; see below.

You should first check if the node context is available in your Variant. Here is an example screenshot for that:

enter image description here

If that is the case, then you can simply use the following token in the page title field:

[node:title]

should look like this:

enter image description here

Good luck!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.