Disqus field not rendering in views block

Created on 12 May 2016, almost 9 years ago
Updated 22 July 2024, 9 months ago

I've made a views block with disqus field and have set contextual filter > provide default value > content id from url. It works in views preview but does not show up on page.

Here's what renders on page:

<div class="views-field views-field-field-disqus-comment"><div class="field-content">
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'views_view_field' -->
<!-- BEGIN OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'container' -->
<!-- BEGIN OUTPUT from 'core/themes/stable/templates/form/container.html.twig' -->
<div id="disqus_thread">
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'disqus_noscript' -->
<!-- BEGIN OUTPUT from 'modules/contrib/disqus/templates/disqus-noscript.html.twig' -->
<noscript>
  <p>
    <a href="http://catholicanswers.disqus.com/">View the discussion thread.</a>
  </p>
</noscript>
<!-- END OUTPUT from 'modules/contrib/disqus/templates/disqus-noscript.html.twig' -->
</div>
<!-- END OUTPUT from 'core/themes/stable/templates/form/container.html.twig' -->
<!-- END OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->
</div></div>
<!-- END OUTPUT from 'core/themes/stable/templates/views/views-view-fields.html.twig' -->

Here's what renders in views preview:

<div class="views-field views-field-field-disqus-comment"><div class="field-content">
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'views_view_field' -->
<!-- BEGIN OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->
<!-- THEME DEBUG -->
<!-- THEME HOOK: 'container' -->
<!-- BEGIN OUTPUT from 'core/themes/classy/templates/form/container.html.twig' -->
<div id="disqus_thread"><iframe id="dsq-app2" name="dsq-app2" allowtransparency="true" frameborder="0" scrolling="no" tabindex="0" title="Disqus" width="100%" src="http://disqus.com/embed/comments/?base=default&amp;version=a6d83b64c7b671e0fbab88663376c383&amp;f=catholicanswers&amp;t_i=node%2F10044&amp;t_u=http%3A%2F%2Fcatholic.dev%2Fmagazine%2Fonline-edition%2Fmy-dear-grubmuck&amp;t_e=My%20Dear%20Grubmuck&amp;t_d=Disqus%20Comments%20(Content)%20%7C%20Catholic%20Answers&amp;t_t=My%20Dear%20Grubmuck&amp;s_o=default" horizontalscrolling="no" verticalscrolling="no" style="width: 1px !important; min-width: 100% !important; border: none !important; overflow: hidden !important; height: 321px !important;"></iframe><iframe id="indicator-north" name="indicator-north" allowtransparency="true" frameborder="0" scrolling="no" tabindex="0" title="Disqus" style="width: 1347px !important; border: none !important; overflow: hidden !important; top: 0px !important; min-width: 1347px !important; max-width: 1347px !important; position: fixed !important; z-index: 2147483646 !important; height: 29px !important; min-height: 29px !important; max-height: 29px !important; display: none !important;"></iframe><iframe id="indicator-south" name="indicator-south" allowtransparency="true" frameborder="0" scrolling="no" tabindex="0" title="Disqus" style="width: 1347px !important; border: none !important; overflow: hidden !important; bottom: 0px !important; min-width: 1347px !important; max-width: 1347px !important; position: fixed !important; z-index: 2147483646 !important; height: 29px !important; min-height: 29px !important; max-height: 29px !important; display: none !important;"></iframe></div>
<!-- END OUTPUT from 'core/themes/classy/templates/form/container.html.twig' -->
<!-- END OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->
</div></div>
🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024