Topic-icon social media likes in source code

Active Subscriptions:

None
14 years 1 month ago #21479 by mc360
Hey,

is it possible to use the social media like/share .. buttons in source code?
I have a jobportal and wanna add to each job (its like a table of jobs) the like/share/... buttons of facebook, linkedin, google, ...

I now i can add these things to an arcticle for example but can i add these buttons in php code too?

Thanks and regards,
Chris
The topic has been locked.
Support Specialist
14 years 1 month ago #21486 by alzander
Sure, you can do it in PHP. It depends on where and how the PHP is executing, but in direct, you could simply add the following:
echo "{JFBCLike}"
That will then get echo'd (printed) out to the page, and JFBConnect will translate it. If there is a variable with the URL of the current (or destination) page, you can use that as well, like:
echo "{JFBCLike url=" . $url . "}";

Hope that makes sense, but if you have other questions, just let us know!

Alex
The topic has been locked.