Jump to content
Our new site still needs some love. We will add more products to the store and downloads in the coming days.

Featured Replies

Posted
  • Synapse

[SynapseThemes] Resource Count

resource_count.png

 Extends the offical XenForo Resource Manager to pass Resource Count value globally to templates

Usage in templates

<xf:callback class="SynapseThemes\ResourceCount\Helper" method="getResourceCount">
    <xf:set var="$resourceCount" value="{$result}" />
</xf:callback>

Prerequisities
XenForo 2.0+
XenForo Resource Manager

File Information

Submitter splicho

Submitted 05/05/25

Category AddOns

View File

  • 2 weeks later...

how to istall'?

  • Author
  • Synapse
2 hours ago, Kobok said:

how to istall'?

<xf:callback class="SynapseThemes\ResourceCount\Helper" method="getResourceCount">
    <xf:set var="$resourceCount" value="{$result}" />
</xf:callback>

You add this into the template you want to display the resource count.

For example in forum statistics template.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.