diff --git a/core/modules/help_topics/help_topics/core.tracking_content.html.twig b/core/modules/help_topics/help_topics/core.tracking_content.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..9fa407cf13b1ea215224859b4465fd302e5023c1 --- /dev/null +++ b/core/modules/help_topics/help_topics/core.tracking_content.html.twig @@ -0,0 +1,12 @@ +--- +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> diff --git a/core/modules/help_topics/help_topics/history.tracking_user_content.html.twig b/core/modules/help_topics/help_topics/history.tracking_user_content.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..25f7d2de0eb45791bf9a6bd7442d3b9404df9673 --- /dev/null +++ b/core/modules/help_topics/help_topics/history.tracking_user_content.html.twig @@ -0,0 +1,11 @@ +--- +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> diff --git a/core/modules/help_topics/help_topics/statistics.tracking_popular_content.html.twig b/core/modules/help_topics/help_topics/statistics.tracking_popular_content.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..b680e00021f79ccb1750d00e6444b7b5047a1c84 --- /dev/null +++ b/core/modules/help_topics/help_topics/statistics.tracking_popular_content.html.twig @@ -0,0 +1,22 @@ +--- +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> > <em>System</em> > <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> > <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> > <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> diff --git a/core/modules/help_topics/help_topics/tracker.tracking_changed_content.html.twig b/core/modules/help_topics/help_topics/tracker.tracking_changed_content.html.twig new file mode 100644 index 0000000000000000000000000000000000000000..67cf5dac231cfe5f7ad97f4ad50fed39e93b3904 --- /dev/null +++ b/core/modules/help_topics/help_topics/tracker.tracking_changed_content.html.twig @@ -0,0 +1,16 @@ +--- +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> +