D
D
Dima4jin2014-12-02 08:48:39
Drupal
Dima4jin, 2014-12-02 08:48:39

How to place a description under the node output on the taxonomy page?

Good afternoon!
Drupal 7. Implemented views page to display taxonomy terms
, now the output looks like this:
8030afdc61bc41e580b76edba1e67bf1.pngd344d44fbe4f469b8089c4a20902dc3e.png
In the term-listing-heading block there is a description field - "Under development"
below the list output
in the theme files, I did not find a change in the output order. And it seems that the output is generated using the taxonomy_term_page hook
. How can I place the page description under the list?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Darkhan Kutzhanov, 2014-12-25
@dark_kz

You can add footer to views. And there's code like:

<?php 
if (arg(2) && is_numeric(arg(2)) {
  $term = taxonomy_term_load(arg(2));
  if ($term && $term->description && $term->description != '') 
    echo $term->description;
}
?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question