UPDATES EasySocial 4.0.15 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline

Count clicks on a link

Fagault Eric · ·
3:02 PM Wednesday, 11 October 2017
None
Hello,
I develop a Market Place component for my EasySocial site.
I need to count the number of clicks on links.
I have provided a "Hit" field in the table to receive +1 each time the link is clicked.

I took over the part of your code that allows you to send a message.

[HTML]
<button type = "button" class = "indiv_btn_contact_tab" data-es-conversations-compose = ""
data-id = "<? php echo $ item-> created_by;?>" data-es-provide = "tooltip" data-original-title = "Contact Seller">
<i class = "fa fa-envelope"> </ i>
</ Button>
[/ Html]

I would have to add something to it that calls a function that sends +1 in the "Hit" field.

Do you have an idea ?

Best regards.

Eric
The replies under this section are restricted to logged in users or users with an active subscription with us