Skip to content
This repository was archived by the owner on Feb 15, 2022. It is now read-only.

Displays Results from the mode evolution PageHitCouter

Notifications You must be signed in to change notification settings

chraebs/PageHitCounterResults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PageHitCounter

Displays Results from the modx evolution PageHitCouter

Originally from the modx-extras-repo. I posted it here, because i wanted to modify it and make this modification available for everybody.

Builds on PageHitCounter by adding the results to the front end of the website via the PHCResults snippet.

Parameters available :

  • &excludeIDs a comma seperated list of document ID's to exclude from the results
  • &limit => maximum number of results
  • &table_prefix => your database prefix if different to modx_
  • &tpl => name of template chunk for displaying the results

Example call: [!MostPopular? &excludeIDs=`1,2,3` &limit=`10` &table_prefix=`custom_` &tpl=`your_tpl`!]

Five placeholders available :

  • [+phc.count+]
  • [+phc.pageID+]
  • [+phc.title+]
  • [+phc.longtitle+]
  • [+phc.description+]

About

Displays Results from the mode evolution PageHitCouter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages