Hitcounter list

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

Hitcounter list

Post by Barrowboy »

Hi

I am using version Cmsms 2.2.8 and i am try to display a list of page hits on a page using the hitcounter module.

I have this code in the page content.
{HitCounter action=popular limit=50} which produces this error.
ERROR: at line 1067 in file /home/mysite.org.uk/lib/classes/class.CmsLayoutTemplate.php:

If I change the word 'popular' to 'default' the page works but no list just one zero shows.
Why does the 'popular' show error.

Can you advise please.
Thanks
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1606
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Hitcounter list

Post by DIGI3 »

It looks like the module isn't creating a default template on install. You can probably report this as a bug, but it's easy enough to remedy:

In Design Manager, create a new template of the type "HitCounter::Popular List". Give it a name, then in the Advanced tab set Default to "Yes".
Not getting the answer you need? CMSMS support options
Barrowboy
Forum Members
Forum Members
Posts: 223
Joined: Mon Dec 16, 2013 4:09 pm

Re: Hitcounter list

Post by Barrowboy »

Hi

That as cured the problem.

Thanks
Post Reply

Return to “Modules/Add-Ons”