xLike examples

parent = 1
class = modResource
list = default

parent = 1
list = only-session
ip = false

66.24%

parent = 2
class = modResource
list = default

parent = 3
class = modResource
list = default

parent = 3
class = modResource
list = fav

parent = 2
class = msProduct
list = default

65.60%

parent = 7
class = Ticket
list = default

68.21%

parent = 10
class = Ticket
list = newlist
guest = false

20.65%
1 0

parent = 1
class = modUser
list = default
guest = false

20.65%
1 0

parent = 1
class = modResource
list = default
mode = local
likes = $_modx->resource['likes']
dislikes = $_modx->resource['dislikes']
rating = $_modx->resource['rating']