{jr_page_history}
The {jr_page_history} Template Function is used for displaying a visitors "viewing history" which tracks the URLs that a viewer sees as they navigate through your Jamroom. It will also "add" the current URL the visitor is viewing to their Viewing History if it is not already part of their viewing history.
Parameters
Name |
Type |
Required |
Default |
Description |
title |
string |
yes |
n/a |
The "title" parameter tells Jamroom the "title" to use for URL in the page history. Note that you will need to assign a "title" to the page before calling this function. |
show |
number |
no |
5 |
The "show" parameter tells Jamroom how many history URLs you want to retrieve. |
separator |
string |
no |
, |
The "separator" parameter tells Jamroom the character or string of characters you want to use to "separate" the URLs from each other on the output. |
Examples
Display the most recent 10 URLs the viewer has visited (including the one they are currently viewing), separated by a <br />:
{assign var="title" value="Sample Artist Profile"}
{jr_page_history title=$title show="10" separator="<br />"}
|
|