S
S
SVR34082016-12-07 14:34:17
Drupal
SVR3408, 2016-12-07 14:34:17

How to create a block with material field in Drupal via views?

There is a page material type, it has an image field. How can I create a block that shows the first image on the same page?
The image must be from the same page in a separate block.
I make a block through views.
FIELDS
Content: Images
FILTER CRITERIA
Content: Publishing status (= Yes)
Content: Type of content (= Main page)
but I don't understand what to add in CONTEXT FILTERS and LINKS.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
SVR3408, 2016-12-07
@SVR3408

CONTEXT FILTERS
Content: ID
Pass default value: Material ID from URL

A
archelon, 2016-12-07
@archelon

Is the Field as block module not suitable for these purposes?
https://www.drupal.org/project/fieldblock

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question