1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Move Stats Above Breadcrumb

Discussion in 'Styling and Customization Questions' started by ForoStyle, Jun 18, 2014.

  1. ForoStyle

    ForoStyle Active Member

    Would like to move the Forum Statistics in sidebar to the breadcrumb area, just above it.

    Can this be done?
  2. Amaury

    Amaury Well-Known Member


    I believe you should be able to do it by just moving the code in the sidebar template.
  3. ForoStyle

    ForoStyle Active Member

    I tried to copy
                    <div class="pairsJustified">
                        <dl class="discussionCount"><dt>{xen:phrase discussions}:</dt>
                            <dd>{xen:number $boardTotals.discussions}</dd></dl>
                        <dl class="messageCount"><dt>{xen:phrase messages}:</dt>
                            <dd>{xen:number $boardTotals.messages}</dd></dl>
                        <dl class="memberCount"><dt>{xen:phrase members_count}:</dt>
                            <dd>{xen:number $boardTotals.users}</dd></dl>
    to the breadcrumb template but all just returns zero (0).

    So that code will only execute in forum_list but not on other template?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    That's correct, the data is only exposed for the forum_list template.
    It would require an add-on to be able to use the data on other templates.

Share This Page