Создание, продвижение сайтов
40-33-54

Вывод недавно просмотренных сущностей

24 мая 2018

Модуль Recently Read позволяет вывести недавно просмотренные сущности (ноды, термины таксономии и прочие) в том числе с помощью модуля views.

Настройка views

Just an example for recently viewed nodes. Actually, all the recently read entity can support.

  1. Add a new views based on node(content).
  2. set a relationship "Recently Read".
  3. Add filter:
    (Recently Read) Recently Read: Current (Yes)
    (Recently Read) Recently Read: entity type (= Node)
  4. Add sort:
    (Recently Read) Recently Read: Recently Read Date (desc)
  5. Maybe you can create a views block. and in block configuration page, you can place this block where you want. 

Or you can use context module, to make a better block visibility config.