Hi,
I use CTA portal and home page is just widgest (using WF).
I edited "wf_widget_stats" and added the code below:
But all numbers next to stats of showcase are 0. (Although in Showcase home page they are correct)
Should I add anything else?
I did exactly like this for XFMG and its showing all its stats as it must. But couldn't add showcase's stats there.
Also there are "<xen:if is="{$quikStats.comments}">" and "<xen:if is="{$quikStats.reviews}">" in code, but although there are comments and reviews in our showcase, but it doesn't show their stats in sidebar.
Any opinion will be appreciated.
Regards
I use CTA portal and home page is just widgest (using WF).
I edited "wf_widget_stats" and added the code below:
Code:
<xen:if is="{$xenOptions.scSidebarStatsIndex}">
<dl>
<dt>{xen:phrase nflj_showcase_categories}:</dt>
<dd>{xen:if '{$quikStats.categories}', '{xen:number $quikStats.categories}', '0'}</dd>
</dl>
<dl>
<dt>{xen:phrase nflj_showcase_items}:</dt>
<dd>{xen:if '{$quikStats.items}', '{xen:number $quikStats.items}', '0'}</dd>
</dl>
<dl>
<dt>{xen:phrase nflj_showcase_views}:</dt>
<dd>{xen:if '{$quikStats.views}', '{xen:number $quikStats.views}', '0'}</dd>
</dl>
<dl>
<dt>{xen:phrase nflj_showcase_images}:</dt>
<dd>{xen:if '{$quikStats.images}', '{xen:number $quikStats.images}', '0'}</dd>
</dl>
<xen:if is="{$quikStats.reviews}">
<dl>
<dt>{xen:phrase nflj_showcase_reviews}:</dt>
<dd>{xen:if '{$quikStats.reviews}', '{xen:number $quikStats.reviews}', '0'}</dd>
</dl>
</xen:if>
<xen:if is="{$quikStats.comments}">
<dl>
<dt>{xen:phrase nflj_showcase_comments}:</dt>
<dd>{xen:if '{$quikStats.comments}', '{xen:number $quikStats.comments}', '0'}</dd>
</dl>
</xen:if>
</xen:if>
But all numbers next to stats of showcase are 0. (Although in Showcase home page they are correct)
Should I add anything else?
I did exactly like this for XFMG and its showing all its stats as it must. But couldn't add showcase's stats there.
Also there are "<xen:if is="{$quikStats.comments}">" and "<xen:if is="{$quikStats.reviews}">" in code, but although there are comments and reviews in our showcase, but it doesn't show their stats in sidebar.
Any opinion will be appreciated.
Regards
Last edited: