T
T
Tony Realovich2014-05-19 11:54:33
Drupal
Tony Realovich, 2014-05-19 11:54:33

Drupal Views: html tag in field label?

There is a table view. It needs to be allowed so that html tags can be used in the label, like this:Длина, m<sup>2</sup>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drupby, 2014-05-19
@drupby

create a template views-view-table--example.tpl.php , where example is the name of the view and set headers for the table in it

I
Ilya Petrovsky, 2014-05-19
@Mpa3b_ru21

² - here, it will not be easier for you?
In the field header, simply enter the index "2".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question