Example does not appear to work as expected

Created on 2 June 2023, over 1 year ago
Updated 4 August 2023, over 1 year ago

Problem/Motivation

Thanks @bwong β†’ you for addressing my queries and the new 1.3 release.

I have just installed it on a clean Drupal 10.0.9 site and followed the steps below...

I have added a single term to the Tags vocabulary...

I have created three Article nodes...

I have tagged two of those nodes with the only existing Tag: 'Next issue'.../p>

I have place the two blocks...

But when I view ether of the two tagged nodes, I see only...

What have I missed/misunderstood?

Looking into the details of the 'next_tags_example' example, I see that the view uses a Query parameter > tag Contextual filter and I don't really understand why or whether that is the cause?

Thanks and apologies if I am being a bit dim!

πŸ’¬ Support request
Status

Closed: works as designed

Version

1.3

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @SirClickALot
  • Status changed to Closed: works as designed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States bwong

    I need to make the example and documentation a lot clearer. The one thing that tends to be missing is that the URL used to view the node has to have query parameter so the entity view knows what to look for. This gets more complicated as the system supports multiple tags so that a particular node could appear in different streams although usually it is only within one. A typical URL would look like this:

    https://drupal.dom/node/48?tag=1

    The entity view is used to get the link and title that is show. This allows a usual title to be used or a shorter on if there is another field. It might also include the type of node, etc. if that would be useful information to the viewer.

  • πŸ‡ΊπŸ‡¦Ukraine zegmant

    the URL used to view the node has to have query parameter

    How this query will be attached to the url? Does the module do it? I do not see

Production build 0.71.5 2024