Active
Project:
Views Row Insert
Version:
8.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2019 at 21:39 UTC
Updated:
3 Mar 2020 at 14:22 UTC
Jump to comment: Most recent
I had a view using the HTML List format, which was correctly using the token {{ field_location_abbr_1 }} to add the value of that field as a class on the <li>. When I change to the Row Insert format, my rows now look like this: <div class="views-row-odd views-row-first {{ field_location_abbr_1 }}"> — it's no longer replacing the token with the field value. It would be great to have this functionality back so it works the way it does with core Views.
Nice module, by the way!
Comments
Comment #2
netzkombuese commentedHi there.
If have the same problem.
In our use case we also need to use tokens.
Is there any way to achieve this with this module?
Thanks!
Comment #3
netzkombuese commentedOk.
For us as a workaround we just build a views block filtered by the content type we wish to display and set a contextual filter for the node id.
So we were able to choose the views block in the settings which works for us now. Just a litte styling and we got what we wanted.
Thanks