diff options
author | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-25 07:24:48 +0300 |
---|---|---|
committer | matt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2009-03-25 07:24:48 +0300 |
commit | 44e29c487fb8b127b1b174b834e233769508dfe0 (patch) | |
tree | 6a1ed30f546977e8bd827e42b438808a5d97cb46 /plugins/CoreHome/templates/datatable.tpl | |
parent | 64b0df6d2dd13fe6568e4acbcc83402e43f7e0fb (diff) |
- cleaned up the Tracker/Action code, added tests, as well as cleaning up Actions archiving code
- now displaying all columns that user setColumnsToDisplay even if there are no values set
- displaying custom column names for downloads and outlinks tables
- enabled sort on download and outlinks
- it's now possible to sort a table by a column that is not defined. It will not error but just not do anything.
- fixed #393 Remove unique visitors from report for a given category of actions
- fixed #158 outlinks without subpages when there are outlinks with the same domain and subpages should be grouped in the same row
- fixed #535 Add "export" icons below the "Actions" reports (pages, download, outlinks)
- fixed #579 API Actions: full_url and url is 0
- REMOVED feature of naming an outlink or a download with a custom name. All downloads and outlinks are now grouped by the URL host. The data will be consistent across all
periods independantly of the data set. Only data processed from this version will be affected.
- API CHANGE renamed entry_nb_unique_visitor in entry_nb_uniq_visitors and renamed exit_nb_unique_visitor in exit_nb_uniq_visitors in the Actions.getActions API call
- FEATURE outlink won't count clicks on URLs where the hostname is one of the registered hostname for this website (see Settings > Websites)
- FEATURE you can use Piwik to count clicks on links and count downloads, without using the automatic Javascript based download/outlinks tracking, but by modifying links to go
through piwik.php.
For example, http://yourwebsite.org/piwik/piwik.php?idsite=1&link=http://example.org&redirect=1
will count the outlink in piwik and redirect the user to http://example.org
For example, http://yourwebsite.org/piwik/piwik.php?idsite=1&download=http://yourwebsite.org/download.pdf&redirect=1
will count the download in piwik and redirect the user to http://yourwebsite.org/download.pdf
NOTE: it is recommended to rely on the automatic outlink and download tracking (more information on http://piwik.org/docs/javascript-tracking/).
rather than adding a depending on Piwik for your website to function properly.
However this feature is useful to some users as it gives a simple and reliable way of counting clicks, that you can then query using the Piwik API.
Diffstat (limited to 'plugins/CoreHome/templates/datatable.tpl')
-rw-r--r-- | plugins/CoreHome/templates/datatable.tpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/CoreHome/templates/datatable.tpl b/plugins/CoreHome/templates/datatable.tpl index a8c204e478..a3cc8876f9 100644 --- a/plugins/CoreHome/templates/datatable.tpl +++ b/plugins/CoreHome/templates/datatable.tpl @@ -23,8 +23,7 @@ <td> {if !$row.idsubdatatable && $column.name=='label' && isset($row.metadata.url)}<span id="urlLink">{$row.metadata.url}</span>{/if} {if $column.name=='label'}{logoHtml metadata=$row.metadata alt=$row.columns.label}{/if} -{* sometimes all columns are not set in the datatable, we assume the value 0 *} -{if isset($row.columns[$column.name])}{$row.columns[$column.name]}{else}0{/if} +{if isset($row.columns[$column.name])}{$row.columns[$column.name]}{else}{$defaultWhenColumnValueNotDefined}{/if} </td> {/foreach} </tr> |