CMS Made Simple Forums
https://forum.cmsmadesimple.org/

Hitcounter list
https://forum.cmsmadesimple.org/viewtopic.php?f=7&t=79836
Page 1 of 1

Author:  Barrowboy [ Thu Jan 17, 2019 8:30 am ]
Post subject:  Hitcounter list

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

Author:  DIGI3 [ Thu Jan 17, 2019 3:39 pm ]
Post subject:  Re: Hitcounter list

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".

Author:  Barrowboy [ Fri Jan 18, 2019 4:00 pm ]
Post subject:  Re: Hitcounter list

Hi

That as cured the problem.

Thanks

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/