Difference between revisions of "Visitors GT"

From Contao Community Documentation

m (Installation)
m (Nutzung)
Line 37: Line 37:
 
<br />
 
<br />
  
=Nutzung=
+
=Using=
Das Add-On benötigt das Modul [[Visitors|Visitors]] für die Zählung (siehe dort) und [[GraphicalText|GraphicalText]] für die Generierung der Grafik Dateien. Es beinhaltet nur die Insert-Tags für die Anzeige der Werte.
+
The add-on module requires the module [[Visitors|Visitors]] for counting and the module [[GraphicalText|GraphicalText]] for the generation of graphics files. It includes only the insert-tags for the display of values.
 
<pre>
 
<pre>
  {{cache_visitors_gt::katid::name::gttagname}}
+
  {{cache_visitors_gt::catid::name::gttagname}}
  {{cache_visitors_gt::katid::online::gttagname}}
+
  {{cache_visitors_gt::catid::online::gttagname}}
  {{cache_visitors_gt::katid::start::gttagname}}
+
  {{cache_visitors_gt::catid::start::gttagname}}
  {{cache_visitors_gt::katid::totalvisit::gttagname}}
+
  {{cache_visitors_gt::catid::totalvisit::gttagname}}
  {{cache_visitors_gt::katid::totalhit::gttagname}}
+
  {{cache_visitors_gt::catid::totalhit::gttagname}}
  {{cache_visitors_gt::katid::todayvisit::gttagname}}
+
  {{cache_visitors_gt::catid::todayvisit::gttagname}}
  {{cache_visitors_gt::katid::todayhit::gttagname}}
+
  {{cache_visitors_gt::catid::todayhit::gttagname}}
  {{cache_visitors_gt::katid::averagevisits::gttagname}}
+
  {{cache_visitors_gt::catid::averagevisits::gttagname}}
 
</pre>
 
</pre>
Bei Kategorie ID = 1 und GraphicalText Tagname "MeineBesucher" wäre das dann:
+
For category ID = 1 and  GraphicalText Tagname "MyVisitors" that would be like that:
 
<pre>
 
<pre>
  {{cache_visitors_gt::1::totalvisit::MeineBesucher}}
+
  {{cache_visitors_gt::1::totalvisit::MyVisitors}}
 
</pre>
 
</pre>
==Ermittlung von "katid"==
+
==Determination the "catid"==
Die "katid" ist die Kategorie ID in dem der Besucherzähler angelegt wurde. Zur Ermittlung in der Kategorieübersicht des Besucher Moduls mit der Maus über das "i" gehen.
+
To determine the category ID, go into the category overview of the module "Visitors" with your mouse over the "i".
  
 
[[File:Visitors-package-category.jpg|Visitor Counter Category ID]]
 
[[File:Visitors-package-category.jpg|Visitor Counter Category ID]]
  
Dabei wird als Tooltipp die ID angezeigt.<br />
+
The tooltip displays the ID.
Oder das "i" anklicken, in der drauf folgenden Seite steht in der ersten Zeile die ID.<br />
+
Or click on the "i", in the following site is in the first line the ID.<br />
  
==Ermittlung von "gttagname"==
+
==Determination the "gttagname"==
Der "gttagname" ist der "Tag" Name wie er im Backend angelegt wurde im Modul Graphical Text.
+
The "gttagname" is the "Tag" name as it was created in the backend module in the graphical text.
In der Übersicht ist es der Name in der ersten Spalte, im Edit Modus das Feld "Tag".
+
The overview is the name in the first column in edit mode the field "Tag".
[[Datei:Modul_visitors_gt_gttagname.jpg|gttagname ermitteln]]
+
[[File:Modul_visitors_gt_gttagname.jpg|gttagname]]
  
 
=Demo Template=
 
=Demo Template=

Revision as of 11:51, 13 September 2010

Stub.png Incomplete Article: This article is not finished yet and needs expansion.

Please expand it and remove this notice when it is finished.


Caution.png Caution: The translation is started


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

Zur Demonstration (Syntax) wurde ein Template "mod_visitors_fe_GT_all" beigefügt. Dieses ist nach der Installation von Visitors GT im Modul Visitors auswählbar. Es muss durch CSS Angaben jedoch noch angepasst werden (wird nicht mitgeliefert).
Im Template selbst muss der "gttagname" definiert werden, siehe dort. Default ist "gtvisitors".
Das Template wandelt die Legenden direkt über die Insert-Tags von Graphical Text um, die Werte gehen über die Insert-Tags vom Modul Visitors GT.

Beispiel Ansicht:
Beispielansicht

Views
Personal tools

Contao Community Documentation

In other languages
Navigation
Discover
Understand
Enhance
Miscellaneous
Tools