Unverified Commit 97552ce2 authored by alexpott's avatar alexpott
Browse files

Issue #3055317 by jhodgdon, andypost, batigolix, amarphule, alonaoneill, Amber...

Issue #3055317 by jhodgdon, andypost, batigolix, amarphule, alonaoneill, Amber Himes Matz, volkswagenchick: Convert history, statistics, tracker module hook_help() to topic(s)

(cherry picked from commit 70350eec)
parent b144a708
---
label: 'Tracking the content of your website'
top_level: true
---
<h2>{% trans %}Tracking overview{% endtrans %}</h2>
<p>{% trans %}There are three core modules that provide tracking:{% endtrans %}</p>
<ul>
<li>{% trans %}The core Activity Tracker module provides a <em>Recent content</em> page that shows new and updated content, and an <em>Activity</em> tab for user profiles that shows specific users' new and updated content.{% endtrans %}</li>
<li>{% trans %}The core History module tracks how recently users have viewed content items, and provides a Views field and filter that can be used to show users content that they haven't yet seen.{% endtrans %}</li>
<li>{% trans %}The core Statistics module tracks how many times content items have been viewed, and provides a popular content block and a popularity counter for content item pages.{% endtrans %}</li>
</ul>
<p>{% trans %}If you have one or more tracking modules installed on your site, see the related topics listed below for specific tasks.{% endtrans %}</p>
---
label: 'Tracking which content a user has visited'
related:
- core.tracking_content
- statistics.tracking_popular_content
- tracker.tracking_changed_content
---
<h2>{% trans %}What content visits are tracked?{% endtrans %}</h2>
<p>{% trans %}The core History module tracks when each logged-in user has most recently visited each content item page on the site. This allows content to be marked as <em>new</em> or <em>updated</em> for each user, meaning that it was newly created or has been updated since the last time they visited its page. These records are kept for one month, meaning that content older than one month is never marked as new or updated.{% endtrans %}</p>
<h2>{% trans %}What options are available for using this tracking information?{% endtrans %}</h2>
<p>{% trans %}You can display the new/updated status of content by creating or editing a view. There is a <em>Has new content</em> field for <em>Content</em> views, which displays the new/updated marker. There is also a <em>Has new content</em> filter, which limits the view to new and updated content.{% endtrans %}</p>
---
label: 'Tracking and displaying popular content'
related:
- core.tracking_content
- history.tracking_user_content
- tracker.tracking_changed_content
- block.place
---
{% set statistics_settings = render_var(url('statistics.settings')) %}
{% set permissions = render_var(url('user.admin_permissions')) %}
<h2>{% trans %}Goal{% endtrans %}</h2>
<p>{% trans %}Configure and display tracking of how many times content has been viewed on your site, assuming that the core Statistics module is currently installed.{% endtrans %}</p>
<h2>{% trans %}What are the options for displaying popularity tracking?{% endtrans %}</h2>
<p>{% trans %}You can display a <em>content hits</em> counter of how many times a content item has been viewed, at the bottom of content item pages. You can also place a <em>Popular content</em> block in a region of your theme, which shows a list of the most popular and most recently-viewed content.{% endtrans %}</p>
<h2>{% trans %}Steps{% endtrans %}</h2>
<ol>
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>Configuration</em> &gt; <em>System</em> &gt; <a href="{{ statistics_settings }}"><em>Statistics</em></a>.{% endtrans %}</li>
<li>{% trans %}Check <em>Count content views</em> and click <em>Save configuration</em>.{% endtrans %}</li>
<li>{% trans %}In the <em>Manage</em> administrative menu, navigate to <em>People</em> &gt; <a href="{{ permissions }}"><em>Permissions</em></a>.{% endtrans %}</li>
<li>{% trans %}In the <em>Statistics</em> section, check or uncheck the <em>View content hits</em> permission for each role. Click <em>Save permissions</em>.{% endtrans %}</li>
<li>{% trans %}Optionally, in the <em>Manage</em> administrative menu, navigate to <em>Structure</em> &gt; <em>Block layout</em>. Place the <em>Popular content</em> block in a region in your theme (you will need to have the core Block module installed; see related topic for more details on block placement).{% endtrans %}</li>
</ol>
---
label: 'Viewing lists of recently-updated content'
related:
- core.tracking_content
- statistics.tracking_popular_content
- history.tracking_user_content
---
{% set recent = render_var(url('tracker.page')) %}
<h2>{% trans %}What displays of recently-updated content are available?{% endtrans %}</h2>
<p>{% trans %}Assuming that you have the core Activity Tracker module installed, these pages that show recently-updated content are available:{% endtrans %}</p>
<ul>
<li>{% trans %}<a href="{{ recent }}"><em>Recent content</em></a>: Shows the content that has been most recently added, updated, or commented on.{% endtrans %}</li>
<li>{% trans %}The <em>My recent content</em> tab on the <em>Recent content</em> page (for logged-in users) limits the list to content created or commented on by the user viewing the page.{% endtrans %}</li>
<li>{% trans %}The <em>Activity</em> tab on a user profile shows the same list for the user whose profile is being viewed.{% endtrans %}</li>
</ul>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment