A
A
Arthur2015-07-03 17:34:54
Drupal
Arthur, 2015-07-03 17:34:54

How to render views via an alternative template (not via the content type template)?

Good afternoon.
There are D7 and views.
There is a type of material [blog], a node--[blog].tpl.php was created for it
. There is also a [about] view in which [blog] is displayed with the filtering parameter by the "subject" field.
The output looks like this:
screenshot.ru/ae0ed46b6f2160045c3a7cb2722f8e44
Views like this:
screenshot.ru/e04be9a184091b3af3ccd7de2fcc5591
PROBLEM: The node--[blog].tpl.php template is used for each views-row, how to output row through another template?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andead, 2015-07-03
@warexs

Firstly, you need to teach Drupal to themize individual view-modes - xandeadx.ru/blog/drupal/576
Secondly, create a new view-mode - xandeadx.ru/blog/drupal/735 Thirdly
, in the Views settings, specify the created view-mode -e73a4c3c5fbe4792889261126c051380.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question