Skip to main content
removed "Drupal" and tags from the title
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Druapl 7 Views: How todo I print the "display name" of a view in a viewdisplay name?

I am using Drupal 7. I have a View that hasview with multiple pages.

  In the Views interface, youI can set a display name for each display:.

enter image description here

screenshot

Is there anyway I can print this name in the Viewview itself.

For example, for example adding a Global TextGlobal Text field to the views header of the view, and then printing the name there.

(By printing it, I mean using a variable that extracts the name from the Display Name value rather than me having to type in each name individually).?

Druapl 7 Views: How to print the "display name" of a view in a view?

I am using Drupal 7. I have a View that has multiple pages.

  In the Views interface, you can set a display name for each display:

enter image description here

Is there anyway I can print this name in the View itself.

For example, adding a Global Text field to the header of the view, and then printing the name there.

(By printing it, I mean using a variable that extracts the name from the Display Name value rather than me having to type in each name individually).

How do I print the display name?

I have a view with multiple pages. In the Views interface, I can set a display name for each display.

screenshot

Is there anyway I can print this name in the view itself, for example adding a Global Text field to the views header?

Source Link
big_smile
  • 2.8k
  • 4
  • 50
  • 87

Druapl 7 Views: How to print the "display name" of a view in a view?

I am using Drupal 7. I have a View that has multiple pages.

In the Views interface, you can set a display name for each display:

enter image description here

Is there anyway I can print this name in the View itself.

For example, adding a Global Text field to the header of the view, and then printing the name there.

(By printing it, I mean using a variable that extracts the name from the Display Name value rather than me having to type in each name individually).