• MODX.com

    12,862 downloads

HitsPage

HitsPage is an extra by valikras, first released on 2013-02-27.

Package Description

Pagevieschs for MODX Revolution

Usage/Installation Instructions

# HitsPage (MODX Revolution)

=========

** Pageviews for MODX Revolution**

----------------------------------------

[Homepage](http://hitspage.artdevue.com)

Donwload [MODX extras](http://modx.com/extras/package/hitspage)

[GitHub](http://github.com/artdevue/HitsPage) 

## Displays results in resource

### Example snippet call in resources:

```php

[[!HitsPage]]

```

### Example snippet call in resources and write Template Variable (TV) HitsPage:

```php

[[!HitsPage? &saveTv=`true`]]

```

## Output via expansion getPage or getResources

### Fragment insert code in the chunk:

```php

{%hp-[[+id]]%}

```

*   An example of a template for the gallery

```html

 

[[+publishedon:verticalyear]]

 

[[+publishedon:strtotime:date=`%d`]]

 

[[+publishedon:strtotime:date=`%B`]]

 

{%hp-[[+id]]%} view

 

[[+createdby:userinfo=`fullname`]]

 

```

Details

Developer(s)
valikras
Released
2013-02-27
First seen
2013-02-27
License
GPLv2
Supported databases
Minimum MODX Requirement
2.2

HitsPage Releases

Vendor Signature Released on
MODX.com 2.0.3-pl 2013-02-27 (11 years ago)