.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ============= Pages Counter ============= :Author: Christopher :Created: 2010-12-18T19:57:23 :Changed by: Stefan Szymanski :Changed: 2013-07-25T09:32:07.940000000 :Classification: form4_pages_counter :Keywords: forAdmins, page counter, hits :Author: form4 GmbH & Co.KG :Copyright: 2013 :Email: typo3@form4.de :Language: en .. _img-1-img-2-Pages-Counter: |img-1| |img-2| Pages Counter ============================= Extension Key: form4\_pages\_counter Language: en Keywords: forAdmins, page counter, hits Copyright 2013, form4 GmbH & Co.KG, This document is published under the Open Content License available from http://www.opencontent.org/opl.shtml The content of this document is related to TYPO3 \- a GNU/GPL CMS/Framework available from www.typo3.org .. _Table-of-Contents: Table of Contents ----------------- **`EXT: Pages Counter 1 <#__RefHeading__5708_1738894311>`_** **`Introduction 3 <#__RefHeading__5710_1738894311>`_** `What does it do? 3 <#__RefHeading__463_413120346>`_ **`Installation 4 <#__RefHeading__1337_1932766273>`_** **`Known problems 6 <#__RefHeading__1595_1932766273>`_** **`ChangeLog 7 <#__RefHeading__31623_818911409>`_** .. _Introduction: Introduction ------------ .. _What-does-it-do: What does it do? ^^^^^^^^^^^^^^^^ This extension counts the hits on a page and provides a top 5 teaser. In the configuration you can restrict the counter to pages of given doktypes. .. _Installation: Installation ============ Install the static template in your root template record. Then in constant template set your own values for rootpage for the top 5 teaser (enter the id of your rootpage )and the comma seperated list of doktypes |img-3| Then you can add the counter on each page with the following typoscript code: (Attention: make sure that you have added jquery in the latest version for this example, feel free to code your own variant without jquery) lib.page\_counter = TEXT lib.page\_counter { data = TSFE:id wrap( ) } After this you can add lib.page\_counter into your own setup.This typoscript setup is needed to count the access to your page. Attention: In the extension setup is already one *lib.page\_counter* typoscript object included *but* this one can just be called with *lib.page\_counter.10 ,* because of some historical reasons. To add the top 5 counter just add the plugin at the page and column you want to. |img-4| As you can see, you can overwrite the setup Configuration with the flexforms provided by the plugin. .. _Known-problems: Known problems -------------- None so far .. _ChangeLog: ChangeLog --------- .. ### BEGIN~OF~TABLE ### .. _0-4-0: 0.4.0 ^^^^^ .. container:: table-row Version 0.4.0 Changes Added icon and documentation .. _0-3-0: 0.3.0 ^^^^^ .. container:: table-row Version 0.3.0 Changes Wrote the code of the extension. .. ###### END~OF~TABLE ###### .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 44 .. :id: graphics5 .. :name: graphics5 .. :vspace: 57 .. :width: 161 .. |img-2| image:: img-2.png .. :align: left .. |img-3| image:: img-3.png .. :align: left .. :border: 0 .. :height: 446 .. :id: Grafik1 .. :name: Grafik1 .. :width: 387 .. |img-4| image:: img-4.png .. :align: left .. :border: 0 .. :height: 350 .. :id: Grafik2 .. :name: Grafik2 .. :width: 410