XF 2.2 Replace thread count with views

  • Thread starter Thread starter Deleted member 241496
  • Start date Start date

Deleted member 241496

We are trying to code so that our main forums page displays posts and views for each node. We figured this is controlled in the


template. However, we can't figure out what code needs to be used to display the views for a specific node. This is the code area we need to change:

<xf:if is="!{$extras.privateInfo}">
                <div class="node-stats">
                    <dl class="pairs pairs--rows">
                        <dt>{{ phrase('posts') }}</dt>
                    </dl><dl class="pairs pairs--rows">
                        <dt>{{ phrase('threads') }}</dt>
Top Bottom