Hi @Bob
I just tried to do a own sidebar template to use with Widget Framework and I got it to work for everything except categories. Its zero.
If I check on the Showcase page I see this
I use
to get the values.
I check the code very quick (and I'm not good at all) but It looked to me that when you get the value for categories you check if the user has got permissions to see that category when putting it in the stats block.
However this is not done for any other value.
So If there are 100 categories a member will still see the other values (of total in showcase) even when they don't have permissions.
Is this how it should work? I think its best to show all the values on the index page even if member don't have access.
Also I noticed that the images value is only based on Showcase images even if I have a XFMG gallery connected to them.
I just tried to do a own sidebar template to use with Widget Framework and I got it to work for everything except categories. Its zero.
If I check on the Showcase page I see this
I use
Code:
$xenCache.showcaseStatsCache.<value>
I check the code very quick (and I'm not good at all) but It looked to me that when you get the value for categories you check if the user has got permissions to see that category when putting it in the stats block.
However this is not done for any other value.
So If there are 100 categories a member will still see the other values (of total in showcase) even when they don't have permissions.
Is this how it should work? I think its best to show all the values on the index page even if member don't have access.
Also I noticed that the images value is only based on Showcase images even if I have a XFMG gallery connected to them.