Is it possible to see the last time a site was accessed by a user?

Issue

  • There is currently no out of the box solution that tracks when a user has visited a site.
  • The group_ table in the database contains details about sites, but it does not keep track of the dates for site visits. 

Environment

  • Portal 6.2
  • Portal 6.1

Resolution

  • The Liferay Audit app tracks the date when a site has been accessed from the time of its installation. Site visits can then be tracked through its corresponding pages:
    1. An event with Resource Name "Page" has a Resource ID that corresponds to the plid value from the layout table.
    2. Execute the database query SELECT name FROM layout WHERE plid=x;  where x is the Resource ID.
    3. Note the name of the page and the site that it belongs to.

Additional Information

 

 

Was this article helpful?
0 out of 0 found this helpful