Visitors GT

From Contao Community Documentation

I'm not a native English speaker. Please correct my mistakes.

Visitors GT
'Visitors GT' is an add-on module for 'Visitors'. It allows the output of the values to be generated as a graphic.

It requires the module 'GraphicalText' for the generation of graphics files.


Extension-Overview
Name of the developer Glen Langer (BugBuster)
Developer Website http://www.contao.glen-langer.de
Version of the extension 1.0.1
Compatibility with Contao Version from 2.9
Compatibility with TYPOlight Version 2.8.0 - 2.8.4
Link to Extension Repository http://www.contao.org/extension-list/view/visitors_gt.en.html
Donate the developer Cappuccino
Link to Tracker http://dev.typolight-forge.org/projects/visitorsgt/issues
Depending of ff. Extension Visitors, GraphicalText

Forum

Questions about the Visitors module will be answered in forum: Forum
Errors and requests can be reported in the Issue Tracker.


Installation

The installation of the module occurs about the extension Repository in back end of Contao.
A manual installation is possible. Download the ZIP file from Extension Repository, unzip and transfer it.
A directory should have been created "/system/modules/visitors_gt".
Then call /contao/install.php - Perform Update Database.
( /typolight/install.php in older TYPOlight installations )

The module Visitors GT is dependent on the modules "Visitors" and "GraphicalText". It must therefore be installed with manual installation.


Using

The add-on module requires the module Visitors for counting and the module GraphicalText for the generation of graphics files. It includes only the insert-tags for the display of values.

 {{cache_visitors_gt::catid::name::gttagname}}
 {{cache_visitors_gt::catid::online::gttagname}}
 {{cache_visitors_gt::catid::start::gttagname}}
 {{cache_visitors_gt::catid::totalvisit::gttagname}}
 {{cache_visitors_gt::catid::totalhit::gttagname}}
 {{cache_visitors_gt::catid::todayvisit::gttagname}}
 {{cache_visitors_gt::catid::todayhit::gttagname}}
 {{cache_visitors_gt::catid::averagevisits::gttagname}}

For category ID = 1 and GraphicalText Tagname "MyVisitors" that would be like that:

 {{cache_visitors_gt::1::totalvisit::MyVisitors}}

Determination the "catid"

To determine the category ID, go into the category overview of the module "Visitors" with your mouse over the "i".

Visitor Counter Category ID

The tooltip displays the ID. Or click on the "i", in the following site is in the first line the ID.

Determination the "gttagname"

The "gttagname" is the "Tag" name as it was created in the backend module in the graphical text. The overview is the name in the first column in edit mode the field "Tag".
gttagname


Demo Template

To demonstrate (syntax) was added a template "mod_visitors_fe_GT_all", this is selectable after installation from the module Visitors GT in the module Visitors. It must still be adapted by CSS specifications.
The "gttagname" must be also defined in the template, see the template. Default is "gtvisitors". The template converts directly the legends with Insert tags from Graphical text. The values are changed with the Insert tags from the module Visitors GT.

Example view:
Example view

Views
Personal tools

Contao Community Documentation

In other languages
Navigation
Discover
Understand
Enhance
Miscellaneous
Tools