Closed (fixed)
Project:
Drupal.org site moderators
Component:
Other
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2018 at 10:21 UTC
Updated:
23 Dec 2018 at 09:52 UTC
Jump to comment: Most recent
Hello, recently i upgraded to Drupal 8.6.2 and php 7. I am facing an issue with appearing of article links within block (newsroom page).
All the links to article pages appears as "/node/". I cross-checked every config. within cms and seems to be fine except
in the "views-view--newsroom.html.twig". Below is the code, can someone please look into this and help me with solution to the link. How can we have page title instead of node value.
<div class="views-field-newsroom item-nesscss-{{ key }}">
<div class="field-content-newsroom">
<div class="item-newroom item-position-{{ key }}">
<a href="/node/{{item['#row']._entity.fields.nid.value}}" class="newsroom-cta absolute-fill" rel="next">
<span class="visually-hidden"> {% trans %} Read more {% endtrans %}</span>
</a>
<div class="content-newsroom">
{{ item }}
</div>
</div>
</div>
</div>
Comments
Comment #2
avpadernoThis issue queue is for reports for drupal.org and its sub-domains. For sites you maintain/develop, ask on the forums.
Comment #4
avpaderno