• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Hitcounter list
PostPosted: Thu Jan 17, 2019 8:30 am 
Offline
Forum Members
Forum Members

Joined: Mon Dec 16, 2013 4:09 pm
Posts: 172
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Hitcounter list
PostPosted: Thu Jan 17, 2019 3:39 pm 
Offline
Dev Team Member
Dev Team Member
User avatar

Joined: Wed Feb 25, 2009 4:25 am
Posts: 724
Location: Victoria, BC
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


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: Hitcounter list
PostPosted: Fri Jan 18, 2019 4:00 pm 
Offline
Forum Members
Forum Members

Joined: Mon Dec 16, 2013 4:09 pm
Posts: 172
Hi

That as cured the problem.

Thanks


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting