Topic-icon Like a specific module

10 years 7 months ago #36988 by andjan
Hello Alex,

What is the exact syntax to put the like button on a specific module.
As I did it now, it displays the button all right, but it counts on every single module and I need it on every specific button.

Kind regards,

André
www.tanka.be
The topic has been locked.
Support Specialist
10 years 7 months ago #36994 by alzander
Replied by alzander on topic Like a specific module
André,
If you're using the module, there's a parameter for the URL to Like. If you set that to a specific page, then any Like buttons for that module will be for the page you choose (like your home page). If you leave the value blank, then the Like button (and it's count) will be for any page that module is showing on.

I hope that helps explain a bit more, but if not, or you need more help, just let me know.

Thanks,
Alex
The topic has been locked.
10 years 7 months ago - 10 years 7 months ago #37044 by andjan
Replied by andjan on topic Like a specific module
Alex,

Let me rephrase the question....
I use many custom HTML module with miniature posters for upcoming events.
These just open in a large picture without a specific URL page.
Can I put some specific label on the code so my visitors can like only this poster on that module.
When I tried to make it with th {JFBClike} label, all different modules add one up.
Can I add module ID somewhere to avoid this.

best regards,
André
Last edit: 10 years 7 months ago by andjan.
The topic has been locked.
Support Specialist
10 years 7 months ago #37081 by alzander
Replied by alzander on topic Like a specific module
André,
The Like button is intended for unique URLs. That URL is what will be shared in Facebook for a user's friends to click on to visit the page to see what the user Like'd. If you don't have an individual URL for each picture, you can 'fake' a unique URL for each poster like the following:
{JFBCLike href=http://yoursite.com/link-to-poster-page?poster1}
{JFBCLike href=http://yoursite.com/link-to-poster-page?poster2}
{JFBCLike href=http://yoursite.com/link-to-poster-page?poster3}
That will create a unique count for each Like button, but when clicked by a user, would bring the user to the poster listing page.

I hope that makes sense and helps, but if you need anything else, just let me know.

Thanks,
Alex
The topic has been locked.